Skip to content

Commit 2ba8fd8

Browse files
committed
Release offical wheels for python 3.13
python 3.13 is now released, and we should supply wheel for it.
1 parent d3e7231 commit 2ba8fd8

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

.github/workflows/build-pre-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,12 @@ jobs:
2727

2828
- uses: actions/setup-python@v5
2929
name: Install Python
30+
with:
31+
python-version: '3.13'
3032

3133
- name: Install cibuildwheel
3234
run: |
33-
python3 -m pip install cibuildwheel==2.19.1
35+
python3 -m pip install cibuildwheel==2.22.0
3436
3537
- name: Overwrite for Linux 64
3638
if: runner.os == 'Linux' && matrix.platform == 'x86_64'

.github/workflows/build-push.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
CIBW_BEFORE_TEST: "pip install -r {project}/test-requirements.txt"
1111
CIBW_BEFORE_BUILD_LINUX: "rm -rf ~/.pyxbld && rpm --import https://repo.almalinux.org/almalinux/RPM-GPG-KEY-AlmaLinux && yum install -y libffi-devel libev libev-devel openssl openssl-devel"
1212
CIBW_ENVIRONMENT: "CASS_DRIVER_BUILD_CONCURRENCY=2 CFLAGS='-g0 -O3'"
13-
CIBW_SKIP: cp35* cp36* cp37* pp*i686 *musllinux*
13+
CIBW_SKIP: cp36* cp37* pp*i686 *musllinux*
1414
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
1515
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux_2_28
1616
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
@@ -51,15 +51,16 @@ jobs:
5151

5252
- uses: actions/setup-python@v5
5353
name: Install Python
54-
54+
with:
55+
python-version: '3.13'
5556
- name: Enable pip installing globally
5657
if: runner.os == 'MacOs' || runner.os == 'Windows'
5758
run: |
5859
echo "PIP_BREAK_SYSTEM_PACKAGES=1" >> $GITHUB_ENV
5960
6061
- name: Install cibuildwheel
6162
run: |
62-
python3 -m pip install cibuildwheel==2.16.2
63+
python3 -m pip install cibuildwheel==2.22.0
6364
6465
- name: Install OpenSSL for Windows
6566
if: runner.os == 'Windows'
@@ -106,8 +107,9 @@ jobs:
106107
- name: Overwrite for MacOs
107108
if: runner.os == 'MacOs' && matrix.platform == 'all'
108109
run: |
109-
echo "CIBW_BUILD=cp38* cp39* cp310* cp311* cp312*" >> $GITHUB_ENV
110+
echo "CIBW_BUILD=cp39* cp310* cp311* cp312* cp313*" >> $GITHUB_ENV
110111
echo "CIBW_BEFORE_TEST_MACOS=pip install -r {project}/test-requirements.txt pytest" >> $GITHUB_ENV
112+
echo "MACOSX_DEPLOYMENT_TARGET=13.0" >> $GITHUB_ENV
111113
112114
- name: Overwrite for MacOs PyPy
113115
if: runner.os == 'MacOs' && matrix.platform == 'PyPy'
@@ -167,10 +169,12 @@ jobs:
167169

168170
- uses: actions/setup-python@v5
169171
name: Install Python
172+
with:
173+
python-version: '3.13'
170174

171175
- name: Install cibuildwheel
172176
run: |
173-
python -m pip install cibuildwheel==2.16.2
177+
python -m pip install cibuildwheel==2.20.0
174178
175179
- name: Build wheels
176180
env:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Scylla Enterprise (2018.1.x+) using exclusively Cassandra's binary protocol and
1313
.. image:: https://github.com/scylladb/python-driver/actions/workflows/integration-tests.yml/badge.svg?branch=master
1414
:target: https://github.com/scylladb/python-driver/actions/workflows/integration-tests.yml?query=event%3Apush+branch%3Amaster
1515

16-
The driver supports Python versions 3.6-3.11.
16+
The driver supports Python versions 3.7-3.13.
1717

1818
.. **Note:** This driver does not support big-endian systems.
1919

setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,14 @@ def run_setup(extensions):
455455
'Natural Language :: English',
456456
'Operating System :: OS Independent',
457457
'Programming Language :: Python',
458+
'Programming Language :: Python :: 3',
458459
'Programming Language :: Python :: 3.7',
459460
'Programming Language :: Python :: 3.8',
461+
'Programming Language :: Python :: 3.9',
462+
'Programming Language :: Python :: 3.10',
463+
'Programming Language :: Python :: 3.11',
464+
'Programming Language :: Python :: 3.12',
465+
'Programming Language :: Python :: 3.13',
460466
'Programming Language :: Python :: Implementation :: CPython',
461467
'Programming Language :: Python :: Implementation :: PyPy',
462468
'Topic :: Software Development :: Libraries :: Python Modules'

0 commit comments

Comments
 (0)