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 54b9b6e commit 15cad55
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 15 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "pypy-3.10"]
python-version: ["3.9", "3.10", "3.11", "3.12", "pypy-3.10"]
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- os: macos-latest
python-version: "3.7"
timeout-minutes: 20

steps:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,5 +129,5 @@ Command help

Dependencies
============================================
Python 3.7+
Python 3.9+
no external dependencies.
11 changes: 5 additions & 6 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 = ['py37', 'py38', 'py39', 'py310', 'py311', 'py312']
target-version = ['py39', 'py310', 'py311', 'py312']

[tool.coverage.run]
branch = true
Expand Down Expand Up @@ -61,7 +60,7 @@ skip_glob = [

[tool.mypy]
ignore_missing_imports = true
python_version = 3.7
python_version = 3.9

pretty = true

Expand All @@ -87,7 +86,7 @@ exclude = [
"build",
"dist"
]
pythonVersion = "3.7"
pythonVersion = "3.9"

[tool.pytest.ini_options]
testpaths = [
Expand All @@ -100,7 +99,7 @@ md_report_verbose = 0

[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 @@ -54,16 +54,14 @@ def make_long_description() -> str:
"Source": REPOSITORY_URL,
"Tracker": f"{REPOSITORY_URL:s}/issues",
},
python_requires=">=3.7",
python_requires=">=3.9",
extras_require={"test": TESTS_REQUIRES},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Information Technology",
"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}
py{39,310,311,312}
pypy3
build
cov
Expand Down

0 comments on commit 15cad55

Please sign in to comment.