From 1fdac54966662da788596a49afe5429f1e8d6eac Mon Sep 17 00:00:00 2001 From: Jens Vagelpohl Date: Sun, 5 Jan 2025 14:26:33 +0100 Subject: [PATCH] - drop support for Python 3.8 and update setuptools pin --- .github/workflows/tests.yml | 1 - .meta.toml | 2 +- .pre-commit-config.yaml | 4 ++-- CHANGES.rst | 5 +++++ pyproject.toml | 2 +- setup.py | 3 +-- tox.ini | 5 ++--- 7 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6f69029..2998d6c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,7 +22,6 @@ jobs: config: # [Python version, tox env] - ["3.11", "release-check"] - - ["3.8", "py38"] - ["3.9", "py39"] - ["3.10", "py310"] - ["3.11", "py311"] diff --git a/.meta.toml b/.meta.toml index 9814f9a..c3f0edc 100644 --- a/.meta.toml +++ b/.meta.toml @@ -2,7 +2,7 @@ # https://github.com/zopefoundation/meta/tree/master/config/pure-python [meta] template = "pure-python" -commit-id = "d3455844" +commit-id = "d1a00d25" [python] with-pypy = false diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7ab398c..92c124c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,10 +12,10 @@ repos: - id: autopep8 args: [--in-place, --aggressive, --aggressive] - repo: https://github.com/asottile/pyupgrade - rev: v3.17.0 + rev: v3.19.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: [--py39-plus] - repo: https://github.com/isidentical/teyit rev: 0.4.3 hooks: diff --git a/CHANGES.rst b/CHANGES.rst index f2cc8ed..be95822 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,11 @@ Changes 7.5 (unreleased) ---------------- +- Drop support for Python 3.8. + +- Update setuptools version pin. + (`#292 `_) + 7.4 (2024-10-09) ---------------- diff --git a/pyproject.toml b/pyproject.toml index 75267ab..d1fb14e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ # https://github.com/zopefoundation/meta/tree/master/config/pure-python [build-system] -requires = ["setuptools<74"] +requires = ["setuptools <= 75.6.0"] build-backend = "setuptools.build_meta" [tool.coverage.run] diff --git a/setup.py b/setup.py index 8c87cc1..9452de2 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,6 @@ def read(*rnames): 'Programming Language :: Python', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', @@ -60,7 +59,7 @@ def read(*rnames): packages=find_packages('src'), package_dir={'': 'src'}, install_requires=[], - python_requires=">=3.8, <3.14", + python_requires=">=3.9, <3.14", extras_require={ 'test': ['pytest', 'pytest-mock'], 'docs': ['Sphinx', 'furo'], diff --git a/tox.ini b/tox.ini index 171abb2..8c3168c 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,6 @@ minversion = 3.18 envlist = release-check lint - py38 py39 py310 py311 @@ -21,7 +20,7 @@ usedevelop = true package = wheel wheel_build_env = .pkg deps = - setuptools <74 + setuptools <= 75.6.0 datetime: DateTime -cconstraints.txt pytest-cov @@ -65,7 +64,7 @@ description = ensure that the distribution is ready to release basepython = python3 skip_install = true deps = - setuptools <74 + setuptools <= 75.6.0 twine build check-manifest