From 99d65d3dd317823fd183a06fbb6c38d5a81e296d Mon Sep 17 00:00:00 2001 From: Matteo Merli Date: Mon, 30 Oct 2023 18:38:09 -0700 Subject: [PATCH] Support Python 3.12 wheels (#160) --- .github/workflows/ci-build-release-wheels.yaml | 3 +++ .github/workflows/ci-pr-validation.yaml | 2 +- RELEASE.md | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-build-release-wheels.yaml b/.github/workflows/ci-build-release-wheels.yaml index eb3701e..c708f9d 100644 --- a/.github/workflows/ci-build-release-wheels.yaml +++ b/.github/workflows/ci-build-release-wheels.yaml @@ -46,6 +46,7 @@ jobs: - {version: '3.9', spec: 'cp39-cp39'} - {version: '3.10', spec: 'cp310-cp310'} - {version: '3.11', spec: 'cp311-cp311'} + - {version: '3.12', spec: 'cp311-cp312'} cpu: - {arch: 'x86_64', platform: 'x86_64'} - {arch: 'aarch64', platform: 'arm64'} @@ -107,6 +108,7 @@ jobs: - {version: '3.9', version_long: '3.9.14'} - {version: '3.10', version_long: '3.10.7'} - {version: '3.11', version_long: '3.11.1'} + - {version: '3.12', version_long: '3.12.0'} steps: - name: checkout @@ -159,6 +161,7 @@ jobs: - {version: '3.9'} - {version: '3.10'} - {version: '3.11'} + - {version: '3.12'} steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/ci-pr-validation.yaml b/.github/workflows/ci-pr-validation.yaml index 098e342..c2fdd83 100644 --- a/.github/workflows/ci-pr-validation.yaml +++ b/.github/workflows/ci-pr-validation.yaml @@ -101,7 +101,7 @@ jobs: - {name: 'manylinux2014', py_suffix: ''} - {name: 'manylinux_musl', py_suffix: '-alpine'} python: - - {version: '3.11', spec: 'cp311-cp311'} + - {version: '3.12', spec: 'cp312-cp312'} cpu: - {arch: 'x86_64', platform: 'x86_64'} diff --git a/RELEASE.md b/RELEASE.md index e9f9ea9..ce74152 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -132,7 +132,7 @@ stay open for at least 72 hours *** Python wheels: https://dist.apache.org/repos/dist/dev/pulsar/pulsar-client-python-X.Y.Z-candidate-N/ -The supported python versions are 3.7, 3.8, 3.9, 3.10 and 3.11. The +The supported python versions are 3.7, 3.8, 3.9, 3.10, 3.11 and 3.12. The supported platforms and architectures are: - Windows x86_64 (windows/) - glibc-based Linux x86_64 (linux-glibc-x86_64/)