Skip to content

Commit 1114d82

Browse files
authored
Merge pull request #92 from nirav-ark-biotech/support_python_3.11.0-to-3.11.3
Make valkey-py install the correct dependencies in Python 3.11.0 to Python 3.11.3
2 parents 03320e6 + 0f8b7c0 commit 1114d82

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/integration.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ jobs:
7878
max-parallel: 15
7979
fail-fast: false
8080
matrix:
81-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10']
81+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.11.1', '3.12', 'pypy-3.9', 'pypy-3.10']
8282
test-type: ['standalone', 'cluster']
8383
connection-type: ['libvalkey', 'plain']
8484
protocol-version: ['2','3']
@@ -168,7 +168,7 @@ jobs:
168168
strategy:
169169
fail-fast: false
170170
matrix:
171-
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10']
171+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.11.1', '3.12', 'pypy-3.9', 'pypy-3.10']
172172
steps:
173173
- uses: actions/checkout@v4
174174
- uses: actions/setup-python@v5

requirements.txt

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

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.11"',
39+
'async-timeout>=4.0.3; python_version<"3.11.3"',
4040
],
4141
classifiers=[
4242
"Development Status :: 5 - Production/Stable",

valkey/_parsers/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from asyncio import IncompleteReadError, StreamReader, TimeoutError
44
from typing import List, Optional, Union
55

6-
if sys.version_info.major >= 3 and sys.version_info.minor >= 11:
6+
if sys.version_info >= (3, 11, 3):
77
from asyncio import timeout as async_timeout
88
else:
99
from async_timeout import timeout as async_timeout

valkey/_parsers/libvalkey.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sys
44
from typing import Callable, List, Optional, TypedDict, Union
55

6-
if sys.version_info.major >= 3 and sys.version_info.minor >= 11:
6+
if sys.version_info >= (3, 11, 3):
77
from asyncio import timeout as async_timeout
88
else:
99
from async_timeout import timeout as async_timeout

0 commit comments

Comments
 (0)