From 4ef2320b0b203ef78c3d573caf9dba1d1058b800 Mon Sep 17 00:00:00 2001 From: Dirk Doesburg Date: Sat, 19 Oct 2024 10:57:35 +0200 Subject: [PATCH] Update Python 3.13 compatibility Fixes #186 Updates CI to build cp313 wheels. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/redis/hiredis-py/issues/186?shareId=XXXX-XXXX-XXXX-XXXX). --- .github/workflows/REUSABLE-wheeler.yaml | 2 +- .github/workflows/integration.yaml | 2 +- CHANGELOG.md | 1 + setup.py | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/REUSABLE-wheeler.yaml b/.github/workflows/REUSABLE-wheeler.yaml index 6ef66be..10bd88e 100644 --- a/.github/workflows/REUSABLE-wheeler.yaml +++ b/.github/workflows/REUSABLE-wheeler.yaml @@ -37,7 +37,7 @@ jobs: platforms: all - name: Build wheels - uses: pypa/cibuildwheel@v2.19.2 + uses: pypa/cibuildwheel@v2.21.3 env: # configure cibuildwheel to build native archs ('auto'), and some # emulated ones diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 46de073..1e7ba2f 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', 'pypy-3.8', 'pypy-3.9'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10'] os: ['ubuntu-latest', 'windows-latest', 'macos-latest'] fail-fast: false env: diff --git a/CHANGELOG.md b/CHANGELOG.md index f116f1b..c6e2ae7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ * Implement pack_command that serializes redis-py command to the RESP bytes object. * Implement garbage collection support in Reader (#162) * Python 3.12 +* Python 3.13 compatibility ### 2.1.1 (2023-10-01) diff --git a/setup.py b/setup.py index 77b60ac..90a29d8 100644 --- a/setup.py +++ b/setup.py @@ -83,6 +83,7 @@ def get_libraries(): 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', + 'Programming Language :: Python :: 3.13', 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: Software Development', ],