Skip to content

Commit

Permalink
Drop support for Python 3.7/3.8
Browse files Browse the repository at this point in the history
Signed-off-by: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
  • Loading branch information
thombashi committed Dec 29, 2024
1 parent 2f8d41b commit d915e52
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 14 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,9 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1", "pypy-3.10"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13.0-rc.1", "pypy-3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- os: macos-latest
python-version: "3.7"
- os: windows-latest
python-version: "3.11"
concurrency:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ Installation: apt

Dependencies
============
Python 3.7+
Python 3.9+
no external dependencies.

Documentation
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/introduction/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ Installation: apt

Dependencies
============
Python 3.7+
Python 3.9+
no external dependencies.
9 changes: 4 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
build-backend = "setuptools.build_meta"
requires = [
"setuptools>=64",
"setuptools_scm>=7,<8; python_version<'3.8'",
"setuptools_scm>=8; python_version>='3.8'",
"setuptools_scm>=8",
]

[tool.setuptools_scm]
Expand All @@ -27,7 +26,7 @@ exclude = '''
| docs/conf.py
'''
line-length = 100
target-version = ['py36', 'py37', 'py38', 'py39', 'py310', 'py311', 'py312', 'py313']
target-version = ['py39', 'py310', 'py311', 'py312', 'py313']

[tool.isort]
include_trailing_comma = true
Expand Down Expand Up @@ -74,7 +73,7 @@ exclude = [
"build",
"dist"
]
pythonVersion = "3.7"
pythonVersion = "3.9"

[tool.pytest.ini_options]
testpaths = [
Expand All @@ -92,7 +91,7 @@ discord_verbose = 1

[tool.ruff]
line-length = 100
target-version = "py37"
target-version = "py39"
exclude = [
".eggs/",
".tox/",
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def get_release_command_class() -> Dict[str, Type[setuptools.Command]]:
"Source": REPOSITORY_URL,
"Tracker": f"{REPOSITORY_URL:s}/issues",
},
python_requires=">=3.7",
python_requires=">=3.9",
extras_require={
"docs": docs_requires,
"readme": [
Expand All @@ -75,8 +75,6 @@ def get_release_command_class() -> Dict[str, Type[setuptools.Command]]:
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{37,38,39,310,311,312,313}
py{39,310,311,312,313}
pypy3
build
cov
Expand Down

0 comments on commit d915e52

Please sign in to comment.