Skip to content

Commit d5834c6

Browse files
committed
Remove python 3.8 support
python 3.8 is EOF since 2024-10-07 1. Stop testing it 2. Stop building wheels 3. Remove from `pyproject.toml`
1 parent 30f6d78 commit d5834c6

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

.github/workflows/integration-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
fail-fast: false
2828
matrix:
2929
java-version: [8]
30-
python-version: ["3.8", "3.11", "3.12", "3.13"]
30+
python-version: ["3.9", "3.11", "3.12", "3.13"]
3131
event_loop_manager: ["libev", "asyncio", "asyncore"]
3232
exclude:
3333
- python-version: "3.12"

.github/workflows/lib-build-and-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ jobs:
9898
echo "CIBW_TEST_COMMAND=true" >> $GITHUB_ENV;
9999
echo "CIBW_TEST_COMMAND_WINDOWS=(exit 0)" >> $GITHUB_ENV;
100100
echo "CIBW_TEST_SKIP=*" >> $GITHUB_ENV;
101-
echo "CIBW_SKIP=cp2* cp36* pp36* cp37* pp37* *i686 *musllinux*" >> $GITHUB_ENV;
101+
echo "CIBW_SKIP=cp2* cp36* pp36* cp37* pp37* cp38* pp38* *i686 *musllinux*" >> $GITHUB_ENV;
102102
echo "CIBW_BUILD=cp3* pp3*" >> $GITHUB_ENV;
103103
echo "CIBW_BEFORE_TEST=true" >> $GITHUB_ENV;
104104
echo "CIBW_BEFORE_TEST_WINDOWS=(exit 0)" >> $GITHUB_ENV;

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

pyproject.toml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ classifiers = [
1212
'Natural Language :: English',
1313
'Operating System :: OS Independent',
1414
'Programming Language :: Python',
15-
'Programming Language :: Python :: 3.8',
1615
'Programming Language :: Python :: 3.9',
1716
'Programming Language :: Python :: 3.10',
1817
'Programming Language :: Python :: 3.11',
@@ -44,15 +43,14 @@ test = [
4443
"sure",
4544
"scales",
4645
"pure-sasl",
47-
"twisted[tls]; python_version >= '3.5'",
48-
"twisted[tls]==19.2.1; python_version < '3.5'",
46+
"twisted[tls]",
4947
"gevent>=1.0; python_version < '3.13' and platform_machine != 'i686' and platform_machine != 'win32'",
5048
"gevent==23.9.0; python_version < '3.13' and (platform_machine == 'i686' or platform_machine == 'win32')",
5149
"eventlet>=0.33.3; python_version < '3.13'",
5250
"cython",
5351
"packaging",
54-
"futurist; python_version >= '3.7'",
55-
"asynctest; python_version >= '3.5'",
52+
"futurist",
53+
"asynctest",
5654
"pyyaml",
5755
]
5856

@@ -86,7 +84,7 @@ tag_regex = '(?P<version>\d*?\.\d*?\.\d*?)-scylla'
8684
[tool.cibuildwheel]
8785
build-frontend = "build[uv]"
8886
environment = { CASS_DRIVER_BUILD_CONCURRENCY = "2", CASS_DRIVER_BUILD_EXTENSIONS_ARE_MUST = "yes", CFLAGS = "-g0 -O3" }
89-
skip = ["cp2*", "cp36*", "pp36*", "cp37*", "pp37*", "*i686", "*musllinux*"]
87+
skip = ["cp2*", "cp36*", "pp36*", "cp37*", "pp37*", "cp38*", "pp38*", "*i686", "*musllinux*"]
9088
build = ["cp3*", "pp3*"]
9189

9290
before-test = "pip install -r {project}/test-requirements.txt"

0 commit comments

Comments
 (0)