Skip to content

Commit 01bf00d

Browse files
build: Require Python 3.8+ (#95)
* Python 3.7 is EOL on 2023-06-27 so only support Pythons with support from the PSF.
1 parent 068a2d1 commit 01bf00d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/ci.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]
20-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
20+
python-version: ['3.8', '3.9', '3.10', '3.11']
2121

2222
steps:
2323
- uses: actions/checkout@v3

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,13 @@
3232
author="Lukas Heinrich",
3333
author_email="[email protected]",
3434
packages=find_packages(),
35-
python_requires=">=3.7",
35+
python_requires=">=3.8",
3636
include_package_data=True,
3737
install_requires=deps,
3838
extras_require={
3939
"celery": [
4040
"celery>=5.0.0",
4141
"redis",
42-
"importlib-metadata<5.0.0; python_version < '3.8'", # FIXME: c.f. https://github.com/celery/celery/issues/7783
4342
]
4443
},
4544
entry_points={
@@ -57,7 +56,6 @@
5756
"License :: OSI Approved :: MIT License",
5857
"Programming Language :: Python :: 3",
5958
"Programming Language :: Python :: 3 :: Only",
60-
"Programming Language :: Python :: 3.7",
6159
"Programming Language :: Python :: 3.8",
6260
"Programming Language :: Python :: 3.9",
6361
"Programming Language :: Python :: 3.10",

0 commit comments

Comments
 (0)