Skip to content

Commit a85a175

Browse files
committed
Bump minimum Python version to 3.10
After a recent bump, we documented Python 3.8 as the minimum version. However, we only tested on Python 3.9 and Python 3.10. In reality, I get tons of failures with Python 3.9 and only a small number of failures with Python 3.10. I think it's makes sense to bump the requirement again if that helps getting to a stable baseline where CI is passing and our dependencies are less ancient. In practice, we'll probably deploy the application using Docker, which means the Python requirement is not critical.
1 parent 4e467aa commit a85a175

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/tox.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010

1111
strategy:
1212
matrix:
13-
python-version: ["3.9", "3.10"]
13+
python-version: ["3.10"]
1414
fail-fast: false
1515

1616
steps:

setup.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import sys
55
from setuptools import setup, find_packages, Extension
66

7-
if sys.version_info < (3, 8):
8-
raise RuntimeError("Python 3.8 or higher required.")
7+
if sys.version_info < (3, 10):
8+
raise RuntimeError("Python 3.10 or higher required.")
99

1010
cflags = []
1111

@@ -80,7 +80,7 @@
8080
'License :: OSI Approved :: Apache-2.0 with LLVM exception',
8181
'Natural Language :: English',
8282
'Operating System :: OS Independent',
83-
'Programming Language :: Python :: 3.8',
83+
'Programming Language :: Python :: 3.10',
8484
'Topic :: Software Development :: Quality Assurance',
8585
'Topic :: Software Development :: Testing',
8686
],
@@ -134,5 +134,5 @@
134134

135135
ext_modules=[cPerf],
136136

137-
python_requires='>=3.8',
137+
python_requires='>=3.10',
138138
)

0 commit comments

Comments
 (0)