From 843edbdd0d692ad5aa19d0f598e74816f39a0dd3 Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Thu, 6 Nov 2025 13:24:37 +0100 Subject: [PATCH] Drop support for CPython 3.8 and PyPy3.8 Signed-off-by: Christian Clauss --- .github/workflows/integration.yaml | 2 +- README.md | 2 +- setup.py | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index e0d0cdf..c3c0c12 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -25,7 +25,7 @@ jobs: strategy: max-parallel: 15 matrix: - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10', 'pypy-3.11'] + python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', '3.14', '3.14t', 'pypy-3.9', 'pypy-3.10', 'pypy-3.11'] os: ['ubuntu-latest', 'windows-latest', 'macos-latest'] fail-fast: false env: diff --git a/README.md b/README.md index 885a4a8..faa6898 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ python -m pytest ### Requirements -libvalkey-py requires **Python 3.8+**. +libvalkey-py requires **Python 3.9+**. Make sure Python development headers are available when installing libvalkey-py. On Ubuntu/Debian systems, install them with `apt-get install python3-dev`. diff --git a/setup.py b/setup.py index 72f8c09..c202461 100644 --- a/setup.py +++ b/setup.py @@ -88,7 +88,7 @@ def get_libraries(): packages=["libvalkey"], package_data={"libvalkey": ["libvalkey.pyi", "py.typed"]}, ext_modules=[ext], - python_requires=">=3.8", + python_requires=">=3.9", project_urls={ "Changes": "https://github.com/valkey-io/libvalkey-py/releases", "Issue tracker": "https://github.com/valkey-io/libvalkey-py/issues", @@ -102,7 +102,6 @@ def get_libraries(): "Programming Language :: C", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11",