Skip to content

Commit cc23970

Browse files
authored
Removing Python 3.7 trove (#181)
Removing support for Python 3.7. Take the opportunity to better support Python 3.12 by adding setuptools to dev_requirements.
1 parent 64e3394 commit cc23970

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/integration.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
max-parallel: 15
2727
matrix:
28-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']
28+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9']
2929
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
3030
fail-fast: false
3131
env:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ python -m pytest
4242

4343
### Requirements
4444

45-
hiredis-py requires **Python 3.7+**.
45+
hiredis-py requires **Python 3.8+**.
4646

4747
Make sure Python development headers are available when installing hiredis-py.
4848
On Ubuntu/Debian systems, install them with `apt-get install python3-dev`.

dev_requirements.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
black==22.3.0
22
flake8==4.0.1
33
isort==5.10.1
4+
pytest>=7.0.0
5+
setuptools
46
tox==3.24.4
57
vulture>=2.3.0
6-
wheel>=0.30.0
7-
pytest>=7.0.0
8+
wheel>=0.30.0

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def get_libraries():
6464
packages=["hiredis"],
6565
package_data={"hiredis": ["hiredis.pyi", "py.typed"]},
6666
ext_modules=[ext],
67-
python_requires=">=3.7",
67+
python_requires=">=3.8",
6868
project_urls={
6969
"Changes": "https://github.com/redis/hiredis-py/releases",
7070
"Issue tracker": "https://github.com/redis/hiredis-py/issues",
@@ -78,7 +78,6 @@ def get_libraries():
7878
'Programming Language :: C',
7979
'Programming Language :: Python :: 3',
8080
'Programming Language :: Python :: 3 :: Only',
81-
'Programming Language :: Python :: 3.7',
8281
'Programming Language :: Python :: 3.8',
8382
'Programming Language :: Python :: 3.9',
8483
'Programming Language :: Python :: 3.10',

0 commit comments

Comments
 (0)