Skip to content

Commit

Permalink
Really do not use asyncio's timeout lib before 3.11.2 (#2699)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mirekdlugosz committed Apr 13, 2023
1 parent e1017fd commit 7ae8464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
install_requires=[
'importlib-metadata >= 1.0; python_version < "3.8"',
'typing-extensions; python_version<"3.8"',
'async-timeout>=4.0.2; python_version<="3.11.2"',
'async-timeout>=4.0.2; python_full_version<="3.11.2"',
],
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down

0 comments on commit 7ae8464

Please sign in to comment.