diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index f0a288a..46de073 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -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: diff --git a/README.md b/README.md index 320aba1..1832c19 100644 --- a/README.md +++ b/README.md @@ -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`. diff --git a/dev_requirements.txt b/dev_requirements.txt index 3ff7078..26a1513 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -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 \ No newline at end of file diff --git a/setup.py b/setup.py index 5f49b1d..77b60ac 100644 --- a/setup.py +++ b/setup.py @@ -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", @@ -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',