Skip to content

Commit

Permalink
update python version constraint to install async-timeout.
Browse files Browse the repository at this point in the history
async-timeout library has effectively been upstreamed into Python 3.11+.
installing it for python >= 3.11 should not be necessary.

this will enable packaging valkey-py for fedora 39, which
comes with python 3.12 and does not conatin async-timeout 4.0.3 package.

see the deprecation notice:
https://github.com/aio-libs/async-timeout?tab=readme-ov-file#deprecated

Signed-off-by: Ali Gholami <[email protected]>
  • Loading branch information
ali-gholami-aiven authored and aiven-sal committed Sep 10, 2024
1 parent 1c6ce95 commit a315de8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
async-timeout>=4.0.3
async-timeout>=4.0.3; python_version<"3.11"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
author_email="[email protected]",
python_requires=">=3.8",
install_requires=[
'async-timeout>=4.0.3; python_version<="3.12"',
'async-timeout>=4.0.3; python_version<"3.11"',
],
classifiers=[
"Development Status :: 5 - Production/Stable",
Expand Down

0 comments on commit a315de8

Please sign in to comment.