Skip to content

Commit b1dc94f

Browse files
authored
Remove Python 3.8 which reached EOL on October 2024, update Python runtimes, update cryptography lib to 42 (Q4 2024 release) (#1247)
1 parent 1fd9c82 commit b1dc94f

File tree

9 files changed

+13
-17
lines changed

9 files changed

+13
-17
lines changed

Jenkinsfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ import com.datastax.jenkins.drivers.python.Slack
3131

3232
slack = new Slack()
3333

34-
DEFAULT_CASSANDRA = ['3.0', '3.11', '4.0', '4.1', '5.0']
34+
DEFAULT_CASSANDRA = ['3.11', '4.0', '4.1', '5.0']
3535
DEFAULT_DSE = ['dse-5.1.35', 'dse-6.8.30', 'dse-6.9.0']
3636
DEFAULT_HCD = ['hcd-1.0.0']
37-
DEFAULT_RUNTIME = ['3.8.16', '3.9.16', '3.10.11', '3.11.3', '3.12.0']
37+
DEFAULT_RUNTIME = ['3.9.23', '3.10.18', '3.11.13', '3.12.11', '3.13.5']
3838
DEFAULT_CYTHON = ["True", "False"]
3939
matrices = [
4040
"FULL": [
@@ -674,8 +674,8 @@ pipeline {
674674
triggers {
675675
parameterizedCron(branchPatternCron().matcher(env.BRANCH_NAME).matches() ? """
676676
# Every weeknight (Monday - Friday) around 4:00 AM
677-
# These schedules will run with and without Cython enabled for Python 3.8.16 and 3.12.0
678-
H 4 * * 1-5 %CI_SCHEDULE=WEEKNIGHTS;EVENT_LOOP=LIBEV;CI_SCHEDULE_PYTHON_VERSION=3.8.16 3.12.0;CI_SCHEDULE_SERVER_VERSION=3.11 4.0 5.0 dse-5.1.35 dse-6.8.30 dse-6.9.0 hcd-1.0.0
677+
# These schedules will run with and without Cython enabled for Python 3.9.23 and 3.13.5
678+
H 4 * * 1-5 %CI_SCHEDULE=WEEKNIGHTS;EVENT_LOOP=LIBEV;CI_SCHEDULE_PYTHON_VERSION=3.9.23 3.13.5;CI_SCHEDULE_SERVER_VERSION=3.11 4.0 5.0 dse-5.1.35 dse-6.8.30 dse-6.9.0 hcd-1.0.0
679679
""" : "")
680680
}
681681

README-dev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ it with the ``PROTOCOL_VERSION`` environment variable::
166166

167167
Testing Multiple Python Versions
168168
--------------------------------
169-
Use tox to test all of Python 3.8 through 3.12 and pypy (this is what TravisCI runs)::
169+
Use tox to test all of Python 3.9 through 3.13 and pypy (this is what TravisCI runs)::
170170

171171
tox
172172

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ DataStax Driver for Apache Cassandra
1616
A modern, `feature-rich <https://github.com/datastax/python-driver#features>`_ and highly-tunable Python client library for Apache Cassandra (2.1+) and
1717
DataStax Enterprise (4.7+) using exclusively Cassandra's binary protocol and Cassandra Query Language v3.
1818

19-
The driver supports Python 3.8 through 3.12.
19+
The driver supports Python 3.9 through 3.13.
2020

2121
**Note:** DataStax products do not support big-endian systems.
2222

docs.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ title: DataStax Python Driver
22
summary: DataStax Python Driver for Apache Cassandra®
33
output: docs/_build/
44
swiftype_drivers: pythondrivers
5-
checks:
6-
external_links:
7-
exclude:
8-
- 'http://aka.ms/vcpython27'
95
sections:
106
- title: N/A
117
prefix: /

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 `Apache Cassandra® <http://cassandra.apache.org>`_.
44
This driver works exclusively with the Cassandra Query Language v3 (CQL3)
55
and Cassandra's native protocol. Cassandra 2.1+ is supported, including DSE 4.7+.
66

7-
The driver supports Python 3.8 through 3.12.
7+
The driver supports Python 3.9 through 3.13.
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 3.8 through 3.12 are supported. Both CPython (the standard Python
6+
Python 3.9 through 3.13 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.

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ def run_setup(extensions):
390390

391391
_EXTRAS_REQUIRE = {
392392
'graph': ['gremlinpython==3.4.6'],
393-
'cle': ['cryptography>=35.0']
393+
'cle': ['cryptography>=42.0']
394394
}
395395

396396
setup(
@@ -424,11 +424,11 @@ def run_setup(extensions):
424424
'Natural Language :: English',
425425
'Operating System :: OS Independent',
426426
'Programming Language :: Python',
427-
'Programming Language :: Python :: 3.8',
428427
'Programming Language :: Python :: 3.9',
429428
'Programming Language :: Python :: 3.10',
430429
'Programming Language :: Python :: 3.11',
431430
'Programming Language :: Python :: 3.12',
431+
'Programming Language :: Python :: 3.13',
432432
'Programming Language :: Python :: Implementation :: CPython',
433433
'Programming Language :: Python :: Implementation :: PyPy',
434434
'Topic :: Software Development :: Libraries :: Python Modules'

test-datastax-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-r test-requirements.txt
22
kerberos
33
gremlinpython==3.4.6
4-
cryptography >= 35.0
4+
cryptography >= 42.0

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[tox]
2-
envlist = py{38,39,310,311,312},pypy
2+
envlist = py{39,310,311,312,313},pypy
33

44
[base]
55
deps = pytest
@@ -12,7 +12,7 @@ deps = pytest
1212
kerberos
1313
futurist
1414
lz4
15-
cryptography>=35.0
15+
cryptography>=42.0
1616

1717
[testenv]
1818
deps = {[base]deps}

0 commit comments

Comments
 (0)