Skip to content

Commit

Permalink
Removing Python 3.7 trove (#181)
Browse files Browse the repository at this point in the history
Removing support for Python 3.7.

Take the opportunity to better support Python 3.12 by adding
setuptools to dev_requirements.
  • Loading branch information
chayim authored Jul 3, 2024
1 parent 64e3394 commit cc23970
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
strategy:
max-parallel: 15
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy-3.8', 'pypy-3.9']
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']
fail-fast: false
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ python -m pytest

### Requirements

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

Make sure Python development headers are available when installing hiredis-py.
On Ubuntu/Debian systems, install them with `apt-get install python3-dev`.
Expand Down
5 changes: 3 additions & 2 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
black==22.3.0
flake8==4.0.1
isort==5.10.1
pytest>=7.0.0
setuptools
tox==3.24.4
vulture>=2.3.0
wheel>=0.30.0
pytest>=7.0.0
wheel>=0.30.0
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_libraries():
packages=["hiredis"],
package_data={"hiredis": ["hiredis.pyi", "py.typed"]},
ext_modules=[ext],
python_requires=">=3.7",
python_requires=">=3.8",
project_urls={
"Changes": "https://github.com/redis/hiredis-py/releases",
"Issue tracker": "https://github.com/redis/hiredis-py/issues",
Expand All @@ -78,7 +78,6 @@ def get_libraries():
'Programming Language :: C',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand Down

0 comments on commit cc23970

Please sign in to comment.