Skip to content

Commit 7891aaf

Browse files
committed
fix: Explicitly set dataclasses as python<3.7 dependency
1 parent 089e738 commit 7891aaf

File tree

3 files changed

+13
-55
lines changed

3 files changed

+13
-55
lines changed

poetry.lock

Lines changed: 2 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ pydantic = "<=1.9"
1111
fastapi = ">=0.62"
1212

1313
[tool.poetry.dev-dependencies]
14+
dataclasses = {version = "^0.8", python = "~3.6"}
1415
async_generator = "^1.10"
1516
async-exit-stack = "^1.0.1"
1617

tests/dev.requirements.txt

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
aiocontextvars==0.2.2
22
aiosqlite==0.17.0; python_version >= "3.6"
33
appdirs==1.4.4
4-
astpretty==1.7.0; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
4+
astpretty==2.1.0
55
async-exit-stack==1.0.1; python_version >= "3.5"
66
async-generator==1.10; python_version >= "3.5"
77
asyncpg==0.25.0; python_full_version >= "3.6.0"
88
asynctest==0.13.0; python_version >= "3.5"
99
atomicwrites==1.4.0; python_version >= "3.6" and python_full_version < "3.0.0" and sys_platform == "win32" or sys_platform == "win32" and python_version >= "3.6" and python_full_version >= "3.4.0"
1010
attrs==21.4.0; python_version >= "3.7" and python_full_version < "3.0.0" and python_version < "4.0" or python_full_version >= "3.5.0" and python_version >= "3.7" and python_version < "4.0"
11-
bandit==1.7.1; python_version >= "3.6" and python_version < "3.7"
12-
bandit==1.7.4; python_version >= "3.7" and python_version < "4.0"
11+
bandit==1.7.4
1312
black==20.8b1; python_version >= "3.6" and python_version < "3.7" or python_version >= "3.7" and python_version < "4.0"
1413
certifi==2022.5.18.1; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.6"
1514
charset-normalizer==2.0.12; python_full_version >= "3.6.0" and python_version >= "3"
1615
click==8.0.4
17-
colorama==0.4.4; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
16+
colorama==0.4.4; python_version >= "3.7" and python_full_version < "3.0.0" and sys_platform == "win32" and python_version < "4.0" or sys_platform == "win32" and python_version >= "3.7" and python_full_version >= "3.5.0" and python_version < "4.0"
1817
contextlib2==21.6.0; python_version >= "3.6"
1918
contextvars==2.4
2019
databases==0.4.3; python_version >= "3.6"
21-
dataclasses==0.8
20+
dataclasses==0.8; python_version >= "3.6" and python_version < "3.7"
2221
distlib==0.3.4; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
2322
execnet==1.9.0; python_version >= "2.7" and python_full_version < "3.0.0" or python_full_version >= "3.5.0"
2423
fastapi==0.68.1; python_version >= "3.6"
@@ -40,8 +39,8 @@ flake8-variables-names==0.0.5; python_version >= "3.7" and python_version < "4.0
4039
flake8==3.9.2; python_version >= "3.6" and python_version < "4.0"
4140
gino-starlette==0.1.2; python_version >= "3.6" and python_version < "3.7" or python_version >= "3.7" and python_version < "4.0"
4241
gino==1.0.1
43-
gitdb==4.0.9
44-
gitpython==3.1.20
42+
gitdb==4.0.9; python_version >= "3.7" and python_version < "4.0"
43+
gitpython==3.1.27; python_version >= "3.7" and python_version < "4.0"
4544
idna==3.3; python_version >= "3.5" and python_full_version < "3.0.0" or python_full_version >= "3.6.0" and python_version >= "3.5"
4645
immutables==0.18
4746
importlib-metadata==1.7.0
@@ -58,7 +57,7 @@ packaging==21.3; python_version >= "3.6"
5857
path.py==12.5.0; python_version >= "3.5"
5958
path==16.2.0; python_version >= "3.6"
6059
pathspec==0.9.0
61-
pbr==5.9.0
60+
pbr==5.9.0; python_version >= "3.7" and python_version < "4.0"
6261
platformdirs==2.4.0; python_version >= "3.6" and python_full_version < "3.0.0" or python_full_version >= "3.5.0" and python_version >= "3.6"
6362
pluggy==1.0.0; python_version >= "3.6"
6463
psycopg2-binary==2.9.3; python_version >= "3.6"
@@ -74,16 +73,16 @@ pytest-shutil==1.7.0
7473
pytest-virtualenv==1.7.0
7574
pytest==6.2.5; python_version >= "3.6"
7675
pytz==2022.1; python_version >= "3.7" and python_version < "4.0"
77-
pyyaml==6.0
76+
pyyaml==6.0; python_version >= "3.7" and python_version < "4.0"
7877
regex==2022.6.2
7978
requests==2.27.1; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.6.0")
8079
six==1.16.0; python_version >= "3.4" and python_full_version < "3.0.0" and python_version < "4.0" or python_version >= "3.4" and python_version < "4.0" and python_full_version >= "3.5.0"
81-
smmap==5.0.0
80+
smmap==5.0.0; python_version >= "3.7" and python_version < "4.0"
8281
sqlalchemy-utils==0.38.2; python_version >= "3.4" and python_version < "4.0"
8382
sqlalchemy==1.3.24; (python_version >= "2.7" and python_full_version < "3.0.0") or (python_full_version >= "3.4.0")
8483
starlette==0.14.2
8584
stdlib-list==0.8.0
86-
stevedore==3.5.0
85+
stevedore==3.5.0; python_version >= "3.7" and python_version < "4.0"
8786
termcolor==1.1.0
8887
toml==0.10.2
8988
tortoise-orm==0.17.8; python_version >= "3.7" and python_version < "4.0"

0 commit comments

Comments
 (0)