Skip to content

Commit 7ae8464

Browse files
authored
Really do not use asyncio's timeout lib before 3.11.2 (#2699)
4802530 made async-timeout required only on Python 3.11.2 and earlier. However, according to PEP-508, python_version marker is compared to first two numbers of Python version tuple - so it will evaluate to True also on 3.11.3, and install a package as a dependency.
1 parent e1017fd commit 7ae8464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
install_requires=[
3535
'importlib-metadata >= 1.0; python_version < "3.8"',
3636
'typing-extensions; python_version<"3.8"',
37-
'async-timeout>=4.0.2; python_version<="3.11.2"',
37+
'async-timeout>=4.0.2; python_full_version<="3.11.2"',
3838
],
3939
classifiers=[
4040
"Development Status :: 5 - Production/Stable",

0 commit comments

Comments
 (0)