Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
cffls committed Sep 29, 2024
1 parent 5bd5345 commit 8a44f92
Show file tree
Hide file tree
Showing 7 changed files with 1,094 additions and 490 deletions.
5 changes: 2 additions & 3 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ markupsafe==2.1.5 ; python_full_version >= "3.8.1" and python_full_version < "4.
mccabe==0.7.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
mnemonic==0.21 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
mypy-extensions==1.0.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
mypy==1.4.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
mypy==1.11.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
ogmios==1.2.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
orjson==3.10.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
oscrypto==1.3.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
Expand All @@ -69,7 +69,7 @@ pytz==2024.2 ; python_full_version >= "3.8.1" and python_version < "3.9"
pywin32==306 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and sys_platform == "win32"
requests==2.32.3 ; python_full_version >= "3.8.1" and python_version < "4"
retry==0.9.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
setuptools==69.5.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
setuptools==75.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
six==1.16.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
snowballstemmer==2.2.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
sphinx-copybutton==0.5.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
Expand All @@ -84,7 +84,6 @@ sphinxcontrib-qthelp==1.0.3 ; python_full_version >= "3.8.1" and python_full_ver
sphinxcontrib-serializinghtml==1.1.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
tomli==2.0.1 ; python_full_version >= "3.8.1" and python_full_version <= "3.11.0a6"
typeguard==4.3.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
types-requests==2.31.0.10 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
typing-extensions==4.12.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
urllib3==2.2.3 ; python_full_version >= "3.8.1" and python_version < "4"
websocket-client==1.8.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"
Expand Down
1,465 changes: 1,041 additions & 424 deletions examples/full_stack/poetry.lock

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/full_stack/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ description = ""
authors = ["Your Name <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.7"
python = "^3.8.1"
Flask = "^2.0.3"
pycardano = "^0.7.2"
pycardano = "^0.12.0"

[tool.poetry.dev-dependencies]

Expand Down
2 changes: 1 addition & 1 deletion integration-test/docker-compose-chang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ services:
max-file: "10"

ogmios:
image: cardanosolutions/ogmios:v6.5.0
image: cardanosolutions/ogmios:v6.8.0
platform: linux/amd64
environment:
NETWORK: "${NETWORK:-local-alonzo}"
Expand Down
93 changes: 42 additions & 51 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions pycardano/serialization.py
Original file line number Diff line number Diff line change
Expand Up @@ -829,8 +829,8 @@ class DictCBORSerializable(CBORSerializable):
typeguard.TypeCheckError: int is not an instance of str
"""

KEY_TYPE = Any
VALUE_TYPE = Any
KEY_TYPE = Type[Any]
VALUE_TYPE = Type[Any]

def __init__(self, *args, **kwargs):
self.data = dict(*args, **kwargs)
Expand Down Expand Up @@ -906,12 +906,12 @@ def from_primitive(cls: Type[DictBase], value: dict) -> DictBase:
restored = cls()
for k, v in value.items():
k = (
cls.KEY_TYPE.from_primitive(k)
cls.KEY_TYPE.from_primitive(k) # type: ignore
if isclass(cls.KEY_TYPE) and issubclass(cls.KEY_TYPE, CBORSerializable)
else k
)
v = (
cls.VALUE_TYPE.from_primitive(v)
cls.VALUE_TYPE.from_primitive(v) # type: ignore
if isclass(cls.VALUE_TYPE)
and issubclass(cls.VALUE_TYPE, CBORSerializable)
else v
Expand Down
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@ sphinx-copybutton = "^0.5.0"
retry = "^0.9.2"
Flask = "^2.0.3"
pytest-xdist = "^3.5.0"
mypy = "1.4.1"
types-requests = "2.31.0.10"

[tool.poetry.group.dev.dependencies]
setuptools = "^69.5.1"
mypy = "1.11.2"

[build-system]
requires = ["poetry-core>=1.0.0"]
Expand All @@ -69,6 +65,7 @@ markers = [
"post_alonzo",
"single",
"CardanoCLI",
"post_chang"
]


Expand Down

0 comments on commit 8a44f92

Please sign in to comment.