Skip to content

Commit 431f727

Browse files
committed
Drop support for EOL Python versions, keep Python 3.7 to 3.10
1 parent 9802da8 commit 431f727

File tree

6 files changed

+8
-15
lines changed

6 files changed

+8
-15
lines changed

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
strategy:
1717
matrix:
1818
os: [ubuntu-latest]
19-
python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
19+
python-version: ['3.7', '3.8', '3.9', '3.10']
2020
cratedb-version: ['nightly']
2121
sqla-version: ['1.3.24']
2222
fail-fast: false

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
os: [ubuntu-latest, macos-latest]
20-
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
20+
python-version: ['3.7', '3.8', '3.9', '3.10']
2121
cratedb-version: ['4.8.0']
2222
sqla-version: ['1.3.24']
2323
fail-fast: true

CHANGES.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ Changes for crate
55
Unreleased
66
==========
77

8-
- Added official support for Python 3.9 and 3.10.
8+
- Added support for Python 3.9 and 3.10.
9+
10+
- Dropped support for Python 3.4, 3.5 and 3.6.
11+
912
- Dropped support for SQLAlchemy 1.1 and 1.2.
1013

1114
- Dropped support for CrateDB < 2.0.0.

README.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,9 @@ This library:
5151
Prerequisites
5252
=============
5353

54-
Recent versions of this library require **Python 3** (>= 3.4) to run.
54+
Recent versions of this library are validated on Python 3 (>= 3.7).
55+
It might also work on earlier versions of Python.
5556

56-
Use version ``0.21.x`` if you are running Python 2.7/3.3 or version ``0.14.x``
57-
if you are running Python 2.6.
5857

5958
Installation
6059
============
@@ -69,9 +68,6 @@ To update, run::
6968

7069
$ pip install -U crate
7170

72-
If you use Python 2.7 or 3.3 with a recent version of pip_, it will install
73-
only version ``0.21.x`` by default, because newer versions of this package are
74-
not compatible with Python 2.7/3.3 any more.
7571

7672
Contributing
7773
============

devtools/setup_ci.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ function main() {
4848

4949
python -m pip install --upgrade pip
5050

51-
# Workaround needed for Python 3.5
52-
python -m pip install --upgrade "setuptools>=31,<51"
53-
5451
pip install zc.buildout==2.13.4
5552

5653
# Replace SQLAlchemy version.

setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ def read(path):
7979
'Operating System :: OS Independent',
8080
'Programming Language :: Python',
8181
'Programming Language :: Python :: 3',
82-
'Programming Language :: Python :: 3.4',
83-
'Programming Language :: Python :: 3.5',
84-
'Programming Language :: Python :: 3.6',
8582
'Programming Language :: Python :: 3.7',
8683
'Programming Language :: Python :: 3.8',
8784
'Programming Language :: Python :: 3.9',

0 commit comments

Comments
 (0)