Skip to content

Commit d915e52

Browse files
committed
Drop support for Python 3.7/3.8
Signed-off-by: Tsuyoshi Hombashi <[email protected]>
1 parent 2f8d41b commit d915e52

File tree

6 files changed

+9
-14
lines changed

6 files changed

+9
-14
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,9 @@ jobs:
104104
strategy:
105105
fail-fast: false
106106
matrix:
107-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1", "pypy-3.10"]
107+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1", "pypy-3.10"]
108108
os: [ubuntu-latest, macos-latest, windows-latest]
109109
exclude:
110-
- os: macos-latest
111-
python-version: "3.7"
112110
- os: windows-latest
113111
python-version: "3.11"
114112
concurrency:

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ Installation: apt
304304

305305
Dependencies
306306
============
307-
Python 3.7+
307+
Python 3.9+
308308
no external dependencies.
309309

310310
Documentation

docs/pages/introduction/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ Installation: apt
2323

2424
Dependencies
2525
============
26-
Python 3.7+
26+
Python 3.9+
2727
no external dependencies.

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
build-backend = "setuptools.build_meta"
33
requires = [
44
"setuptools>=64",
5-
"setuptools_scm>=7,<8; python_version<'3.8'",
6-
"setuptools_scm>=8; python_version>='3.8'",
5+
"setuptools_scm>=8",
76
]
87

98
[tool.setuptools_scm]
@@ -27,7 +26,7 @@ exclude = '''
2726
| docs/conf.py
2827
'''
2928
line-length = 100
30-
target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311', 'py312', 'py313']
29+
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']
3130

3231
[tool.isort]
3332
include_trailing_comma = true
@@ -74,7 +73,7 @@ exclude = [
7473
"build",
7574
"dist"
7675
]
77-
pythonVersion = "3.7"
76+
pythonVersion = "3.9"
7877

7978
[tool.pytest.ini_options]
8079
testpaths = [
@@ -92,7 +91,7 @@ discord_verbose = 1
9291

9392
[tool.ruff]
9493
line-length = 100
95-
target-version = "py37"
94+
target-version = "py39"
9695
exclude = [
9796
".eggs/",
9897
".tox/",

setup.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_release_command_class() -> Dict[str, Type[setuptools.Command]]:
5959
"Source": REPOSITORY_URL,
6060
"Tracker": f"{REPOSITORY_URL:s}/issues",
6161
},
62-
python_requires=">=3.7",
62+
python_requires=">=3.9",
6363
extras_require={
6464
"docs": docs_requires,
6565
"readme": [
@@ -75,8 +75,6 @@ def get_release_command_class() -> Dict[str, Type[setuptools.Command]]:
7575
"License :: OSI Approved :: MIT License",
7676
"Operating System :: OS Independent",
7777
"Programming Language :: Python :: 3",
78-
"Programming Language :: Python :: 3.7",
79-
"Programming Language :: Python :: 3.8",
8078
"Programming Language :: Python :: 3.9",
8179
"Programming Language :: Python :: 3.10",
8280
"Programming Language :: Python :: 3.11",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{37,38,39,310,311,312,313}
3+
py{39,310,311,312,313}
44
pypy3
55
build
66
cov

0 commit comments

Comments
 (0)