Skip to content

Commit c1977c6

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 c1977c6

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
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: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,17 @@ on: [push, pull_request]
44

55

66
env:
7-
CIBW_TEST_COMMAND_LINUX: "pytest {project}/tests/unit && EVENT_LOOP_MANAGER=gevent pytest {project}/tests/unit/io/test_geventreactor.py"
7+
CIBW_TEST_COMMAND_LINUX: >
8+
pytest {project}/tests/unit &&
9+
if [[ "`(python -c 'import sys; print(0 if sys.version_info > (3, 13) else 1)')`" == "0" ]]; then
10+
EVENT_LOOP_MANAGER=gevent pytest {project}/tests/unit/io/test_geventreactor.py;
11+
fi
812
CIBW_TEST_COMMAND_MACOS: "pytest {project}/tests/unit -k 'not (test_multi_timer_validation or test_empty_connections or test_timer_cancellation)' "
913
CIBW_TEST_COMMAND_WINDOWS: "pytest {project}/tests/unit -k \"not (test_deserialize_date_range_year or test_datetype or test_libevreactor)\" "
1014
CIBW_BEFORE_TEST: "pip install -r {project}/test-requirements.txt"
1115
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"
1216
CIBW_ENVIRONMENT: "CASS_DRIVER_BUILD_CONCURRENCY=2 CFLAGS='-g0 -O3'"
13-
CIBW_SKIP: cp35* cp36* cp37* pp*i686 *musllinux*
17+
CIBW_SKIP: cp36* cp37* pp*i686 *musllinux*
1418
CIBW_MANYLINUX_X86_64_IMAGE: manylinux_2_28
1519
CIBW_MANYLINUX_PYPY_X86_64_IMAGE: manylinux_2_28
1620
CIBW_MANYLINUX_AARCH64_IMAGE: manylinux_2_28
@@ -51,15 +55,16 @@ jobs:
5155

5256
- uses: actions/setup-python@v5
5357
name: Install Python
54-
58+
with:
59+
python-version: '3.13'
5560
- name: Enable pip installing globally
5661
if: runner.os == 'MacOs' || runner.os == 'Windows'
5762
run: |
5863
echo "PIP_BREAK_SYSTEM_PACKAGES=1" >> $GITHUB_ENV
5964
6065
- name: Install cibuildwheel
6166
run: |
62-
python3 -m pip install cibuildwheel==2.16.2
67+
python3 -m pip install cibuildwheel==2.22.0
6368
6469
- name: Install OpenSSL for Windows
6570
if: runner.os == 'Windows'
@@ -106,8 +111,9 @@ jobs:
106111
- name: Overwrite for MacOs
107112
if: runner.os == 'MacOs' && matrix.platform == 'all'
108113
run: |
109-
echo "CIBW_BUILD=cp38* cp39* cp310* cp311* cp312*" >> $GITHUB_ENV
114+
echo "CIBW_BUILD=cp39* cp310* cp311* cp312* cp313*" >> $GITHUB_ENV
110115
echo "CIBW_BEFORE_TEST_MACOS=pip install -r {project}/test-requirements.txt pytest" >> $GITHUB_ENV
116+
echo "MACOSX_DEPLOYMENT_TARGET=13.0" >> $GITHUB_ENV
111117
112118
- name: Overwrite for MacOs PyPy
113119
if: runner.os == 'MacOs' && matrix.platform == 'PyPy'
@@ -167,10 +173,12 @@ jobs:
167173

168174
- uses: actions/setup-python@v5
169175
name: Install Python
176+
with:
177+
python-version: '3.13'
170178

171179
- name: Install cibuildwheel
172180
run: |
173-
python -m pip install cibuildwheel==2.16.2
181+
python -m pip install cibuildwheel==2.20.0
174182
175183
- name: Build wheels
176184
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)