Skip to content

Commit 598d079

Browse files
author
Johannes Lichtenberger
committed
Update dependencies for Python 3.11 compatibility
Critical updates: - pytest: 6.2.5 → 7.4.3 (Python 3.11 support) - pytest-asyncio: 0.16.0 → 0.21.1 (fixes Python 3.11 async issues) - pytest-cov: 3.0.0 → 4.1.0 - anyio: 3.7.1 (better async/await support) - attrs: 23.1.0 - pluggy: 1.3.0 - Remove atomicwrites (deprecated, causes Python 3.11 issues) - Remove py package (deprecated) - Make tomli conditional for Python < 3.11 (3.11+ has built-in tomllib) The old pytest-asyncio 0.16.0 is the main culprit - it has known compatibility issues with Python 3.11's improved async implementation.
1 parent 456a202 commit 598d079

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

requirements-all.txt

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
alabaster==0.7.12
2-
anyio==3.3.4
3-
atomicwrites==1.4.0
4-
attrs==21.2.0
2+
anyio==3.7.1
3+
attrs==23.1.0
54
Babel==2.9.1
65
certifi==2022.12.7
76
charset-normalizer==2.0.7
@@ -17,13 +16,12 @@ iniconfig==1.1.1
1716
Jinja2==3.1.4
1817
MarkupSafe==2.0.1
1918
packaging==21.2
20-
pluggy==1.0.0
21-
py==1.11.0
19+
pluggy==1.3.0
2220
Pygments==2.15.0
2321
pyparsing==2.4.7
24-
pytest==6.2.5
25-
pytest-asyncio==0.16.0
26-
pytest-cov==3.0.0
22+
pytest==7.4.3
23+
pytest-asyncio==0.21.1
24+
pytest-cov==4.1.0
2725
pytz==2021.3
2826
requests==2.31.0
2927
rfc3986==1.5.0
@@ -38,5 +36,5 @@ sphinxcontrib-jsmath==1.0.1
3836
sphinxcontrib-qthelp==1.0.3
3937
sphinxcontrib-serializinghtml==1.1.5
4038
toml==0.10.2
41-
tomli==1.2.2
39+
tomli==2.0.1; python_version < '3.11'
4240
urllib3==1.26.19

0 commit comments

Comments
 (0)