Skip to content

Commit b07f6f7

Browse files
committed
Add python 3.14 support
1. Add integration tests to CICD 2. Update documentation and pyproject.toml
1 parent 2509b1c commit b07f6f7

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

.github/workflows/integration-tests.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,17 @@ jobs:
4343
fail-fast: false
4444
matrix:
4545
java-version: [8]
46-
python-version: ["3.11", "3.12", "3.13"]
46+
python-version: ["3.11", "3.12", "3.13", "3.14", "3.14t"]
4747
event_loop_manager: ["libev", "asyncio", "asyncore"]
4848
exclude:
4949
- python-version: "3.12"
5050
event_loop_manager: "asyncore"
5151
- python-version: "3.13"
5252
event_loop_manager: "asyncore"
53+
- python-version: "3.14"
54+
event_loop_manager: "asyncore"
55+
- python-version: "3.14t"
56+
event_loop_manager: "asyncore"
5357

5458
steps:
5559
- uses: actions/checkout@v5
@@ -81,7 +85,11 @@ jobs:
8185
uv run ccm remove
8286
8387
- name: Test with pytest
88+
env:
89+
EVENT_LOOP_MANAGER: ${{ matrix.event_loop_manager }}
90+
PROTOCOL_VERSION: 4
8491
run: |
85-
export EVENT_LOOP_MANAGER=${{ matrix.event_loop_manager }}
86-
export PROTOCOL_VERSION=4
92+
if [[ "${{ matrix.python-version }}" =~ t$ ]]; then
93+
export PYTHON_GIL=0
94+
fi
8795
uv run pytest tests/integration/standard/ tests/integration/cqlengine/

README.rst

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

23-
The driver supports Python versions 3.10-3.13.
23+
The driver supports Python versions 3.10-3.14.
2424

2525
.. **Note:** This driver does not support big-endian systems.
2626

docs/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A Python client driver for `Scylla <https://docs.scylladb.com>`_.
44
This driver works exclusively with the Cassandra Query Language v3 (CQL3)
55
and Cassandra's native protocol.
66

7-
The driver supports Python 3.10-3.13.
7+
The driver supports Python 3.10-3.14.
88

99
This driver is open source under the
1010
`Apache v2 License <http://www.apache.org/licenses/LICENSE-2.0.html>`_.

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Installation
33

44
Supported Platforms
55
-------------------
6-
Python versions 3.10-3.13 are supported. Both CPython (the standard Python
6+
Python versions 3.10-3.14 are supported. Both CPython (the standard Python
77
implementation) and `PyPy <http://pypy.org>`_ are supported and tested.
88

99
Linux, OSX, and Windows are supported.

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ classifiers = [
1313
'Programming Language :: Python :: 3.11',
1414
'Programming Language :: Python :: 3.12',
1515
'Programming Language :: Python :: 3.13',
16+
'Programming Language :: Python :: 3.14',
17+
'Programming Language :: Python :: Free Threading :: 2 - Beta',
1618
'Programming Language :: Python :: Implementation :: CPython',
1719
'Programming Language :: Python :: Implementation :: PyPy',
1820
'Topic :: Software Development :: Libraries :: Python Modules',
@@ -132,8 +134,6 @@ skip = [
132134
"pp38*",
133135
"cp39*",
134136
"pp39*",
135-
"cp3*t-*",
136-
"pp3*t-*",
137137
"*i686",
138138
"*musllinux*",
139139
]

0 commit comments

Comments
 (0)