Skip to content

Commit a315de8

Browse files
ali-gholami-aivenaiven-sal
authored andcommitted
update python version constraint to install async-timeout.
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]>
1 parent 1c6ce95 commit a315de8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
async-timeout>=4.0.3
1+
async-timeout>=4.0.3; python_version<"3.11"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
author_email="[email protected]",
3737
python_requires=">=3.8",
3838
install_requires=[
39-
'async-timeout>=4.0.3; python_version<="3.12"',
39+
'async-timeout>=4.0.3; python_version<"3.11"',
4040
],
4141
classifiers=[
4242
"Development Status :: 5 - Production/Stable",

0 commit comments

Comments
 (0)