From f45a6dd3dd3f22f3534e8ea508549e2e612b7174 Mon Sep 17 00:00:00 2001 From: Lev Gorodetskiy Date: Mon, 12 Aug 2024 11:41:05 -0300 Subject: [PATCH] Update metadata --- pdm.lock | 16 ++++++++-------- pyproject.toml | 19 +++++++++---------- requirements.txt | 2 +- 3 files changed, 18 insertions(+), 19 deletions(-) diff --git a/pdm.lock b/pdm.lock index 03c434df2..033b9a65a 100644 --- a/pdm.lock +++ b/pdm.lock @@ -5,7 +5,7 @@ groups = ["default", "docs", "lint", "perf", "test"] strategy = ["inherit_metadata"] lock_version = "4.5.0" -content_hash = "sha256:bb23ebba8037b7674f64ea08d5eb3b14b4baa63310b3238659860e59fead7c52" +content_hash = "sha256:0c5e1306bcfb29ecee7aaa779864cd80a31f675db356d56dd19858158176a9ab" [[metadata.targets]] requires_python = ">=3.12,<3.13" @@ -1448,6 +1448,7 @@ extras = ["email"] requires_python = ">=3.8" summary = "Data validation using Python type hints" groups = ["default"] +marker = "python_version ~= \"3.11\"" dependencies = [ "email-validator>=2.0.0", "pydantic==2.8.2", @@ -1508,22 +1509,21 @@ files = [ [[package]] name = "pytest" -version = "7.4.4" -requires_python = ">=3.7" +version = "8.3.2" +requires_python = ">=3.8" summary = "pytest: simple powerful testing with Python" groups = ["test"] dependencies = [ "colorama; sys_platform == \"win32\"", "exceptiongroup>=1.0.0rc8; python_version < \"3.11\"", - "importlib-metadata>=0.12; python_version < \"3.8\"", "iniconfig", "packaging", - "pluggy<2.0,>=0.12", - "tomli>=1.0.0; python_version < \"3.11\"", + "pluggy<2,>=1.5", + "tomli>=1; python_version < \"3.11\"", ] files = [ - {file = "pytest-7.4.4-py3-none-any.whl", hash = "sha256:b090cdf5ed60bf4c45261be03239c2c1c22df034fbffe691abe93cd80cea01d8"}, - {file = "pytest-7.4.4.tar.gz", hash = "sha256:2cf0005922c6ace4a3e2ec8b4080eb0d9753fdc93107415332f50ce9e7994280"}, + {file = "pytest-8.3.2-py3-none-any.whl", hash = "sha256:4ba08f9ae7dcf84ded419494d229b48d0903ea6407b030eaec46df5e6a73bba5"}, + {file = "pytest-8.3.2.tar.gz", hash = "sha256:c132345d12ce551242c87269de812483f5bcc87cdbb4722e48487ba194f9fdce"}, ] [[package]] diff --git a/pyproject.toml b/pyproject.toml index 21ef38fe7..a7be18650 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -51,12 +51,6 @@ classifiers = [ ] dependencies = [ - # NOTE: Core dependencies; keep pinned between major versions. - "datamodel-code-generator~=0.25.7", - "pydantic~=2.7", - "tortoise-orm==0.21.5", - "web3~=6.19", - # # FIXME: KeyError in _make_or_get_ssl_context "aiohttp==3.10.2", "aiolimiter~=1.0", @@ -65,10 +59,12 @@ dependencies = [ "async-lru~=2.0", "asyncpg~=0.29", "click~=8.0", + "datamodel-code-generator~=0.25.7", "eth-abi>=5.0.1,<6", "orjson~=3.9", "prometheus-client~=0.17", "pycryptodome~=3.17", + "pydantic~=2.7", "pyhumps~=3.0", "pysignalr~=1.0", "python-dotenv~=1.0", @@ -76,11 +72,14 @@ dependencies = [ "ruamel.yaml~=0.17", "sentry-sdk~=2.5", "sqlparse~=0.4", - "starknet-py~=0.22", + "starknet-py~=0.23", "strict-rfc3339~=0.7", "survey~=5.3", "tabulate~=0.9", + # NOTE: Heavily patched; don't update without testing. + "tortoise-orm==0.21.5", "uvloop>=0.19.0", + "web3~=6.19", ] [tool.pdm.resolution.overrides] @@ -107,7 +106,7 @@ lint = [ ] test = [ "docker", - "pytest~=7.4", + "pytest", "pytest-aiohttp", "pytest-asyncio", "pytest-cov", @@ -123,8 +122,8 @@ perf = [ "scalene", ] -[tool.pdm.build.targets.wheel] -packages = ["src/dipdup"] +[tool.pdm.build] +includes = ["src/dipdup"] [tool.black] line-length = 120 diff --git a/requirements.txt b/requirements.txt index 2e062b14d..bd6cbab58 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,7 @@ # Please do not edit it manually. aiohappyeyeballs==2.3.5 -aiohttp==3.10.3 +aiohttp==3.10.2 aiolimiter==1.1.0 aiosignal==1.3.1 aiosqlite==0.20.0