Skip to content

Commit 6771185

Browse files
committed
Remove Python 3.9 support. Add Python 3.14 support.
1 parent c620503 commit 6771185

File tree

7 files changed

+15
-15
lines changed

7 files changed

+15
-15
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@v5
2929
- uses: actions/setup-python@v6
3030
with:
31-
python-version: 3.9
31+
python-version: "3.10"
3232
cache: 'pip'
3333
- name: install deps
3434
run: |

.github/workflows/hiredis-py-integration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
fail-fast: false
4646
matrix:
4747
redis-version: [ '${{ needs.redis_version.outputs.CURRENT }}' ]
48-
python-version: [ '3.9', '3.14']
48+
python-version: [ '3.10', '3.14']
4949
parser-backend: [ 'hiredis' ]
5050
hiredis-version: [ 'unstable' ]
5151
event-loop: [ 'asyncio' ]

.github/workflows/integration.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
- uses: actions/checkout@v5
5252
- uses: actions/setup-python@v6
5353
with:
54-
python-version: 3.9
54+
python-version: "3.10"
5555
cache: 'pip'
5656
- name: run code linters
5757
run: |
@@ -77,7 +77,7 @@ jobs:
7777
fail-fast: false
7878
matrix:
7979
redis-version: ['8.4-M01-pre', '${{ needs.redis_version.outputs.CURRENT }}', '8.0.2' ,'7.4.4', '7.2.9']
80-
python-version: ['3.9', '3.13']
80+
python-version: ['3.10', '3.14']
8181
parser-backend: ['plain']
8282
event-loop: ['asyncio']
8383
env:
@@ -101,7 +101,7 @@ jobs:
101101
fail-fast: false
102102
matrix:
103103
redis-version: [ '${{ needs.redis_version.outputs.CURRENT }}' ]
104-
python-version: ['3.10', '3.11', '3.12', 'pypy-3.9', 'pypy-3.10']
104+
python-version: ['3.11', '3.12', '3.13', 'pypy-3.10', 'pypy-3.11']
105105
parser-backend: [ 'plain' ]
106106
event-loop: [ 'asyncio' ]
107107
env:
@@ -125,7 +125,7 @@ jobs:
125125
fail-fast: false
126126
matrix:
127127
redis-version: [ '${{ needs.redis_version.outputs.CURRENT }}' ]
128-
python-version: [ '3.9', '3.13']
128+
python-version: [ '3.10', '3.14']
129129
parser-backend: [ 'hiredis' ]
130130
hiredis-version: [ '>=3.2.0', '<3.0.0' ]
131131
event-loop: [ 'asyncio' ]
@@ -151,7 +151,7 @@ jobs:
151151
fail-fast: false
152152
matrix:
153153
redis-version: [ '${{ needs.redis_version.outputs.CURRENT }}' ]
154-
python-version: [ '3.9', '3.13' ]
154+
python-version: [ '3.10', '3.14' ]
155155
parser-backend: [ 'plain' ]
156156
event-loop: [ 'uvloop' ]
157157
env:
@@ -179,7 +179,7 @@ jobs:
179179
- uses: actions/checkout@v5
180180
- uses: actions/setup-python@v6
181181
with:
182-
python-version: 3.9
182+
python-version: "3.10"
183183
- name: Run installed unit tests
184184
env:
185185
CLIENT_LIBS_TEST_IMAGE_TAG: ${{ env.CURRENT_REDIS_VERSION }}
@@ -193,7 +193,7 @@ jobs:
193193
strategy:
194194
fail-fast: false
195195
matrix:
196-
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.9', 'pypy-3.10']
196+
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14', 'pypy-3.10', 'pypy-3.11']
197197
steps:
198198
- uses: actions/checkout@v5
199199
- uses: actions/setup-python@v6

.github/workflows/pypi-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: install python
1818
uses: actions/setup-python@v6
1919
with:
20-
python-version: 3.9
20+
python-version: "3.10"
2121
- run: pip install build twine
2222

2323
- name: Build package

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ python:
99
build:
1010
os: ubuntu-20.04
1111
tools:
12-
python: "3.9"
12+
python: "3.10"
1313

1414
sphinx:
1515
configuration: docs/conf.py

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ dynamic = ["version"]
88
description = "Python client for Redis database and key-value store"
99
readme = "README.md"
1010
license = "MIT"
11-
requires-python = ">=3.9"
11+
requires-python = ">=3.10"
1212
authors = [{ name = "Redis Inc.", email = "[email protected]" }]
1313
keywords = ["Redis", "database", "key-value-store"]
1414
classifiers = [
@@ -20,11 +20,11 @@ classifiers = [
2020
"Programming Language :: Python",
2121
"Programming Language :: Python :: 3",
2222
"Programming Language :: Python :: 3 :: Only",
23-
"Programming Language :: Python :: 3.9",
2423
"Programming Language :: Python :: 3.10",
2524
"Programming Language :: Python :: 3.11",
2625
"Programming Language :: Python :: 3.12",
2726
"Programming Language :: Python :: 3.13",
27+
"Programming Language :: Python :: 3.14",
2828
"Programming Language :: Python :: Implementation :: CPython",
2929
"Programming Language :: Python :: Implementation :: PyPy",
3030
]
@@ -91,7 +91,7 @@ log_level = "INFO"
9191
capture = "yes"
9292

9393
[tool.ruff]
94-
target-version = "py39"
94+
target-version = "py310"
9595
line-length = 88
9696
exclude = [
9797
"*.egg-info",

redis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def int_or_str(value):
4646
return value
4747

4848

49-
__version__ = "6.2.0"
49+
__version__ = "7.0.0"
5050
VERSION = tuple(map(int_or_str, __version__.split(".")))
5151

5252

0 commit comments

Comments
 (0)