From c6dd7992f18ceb10fc5a65c6004c2a19392975e1 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 28 Apr 2026 14:23:15 +0530 Subject: feat!: drop Python 3.7 support 3.7 reached end-of-life on 2023-06-27. Copilot dropped 3.7 from the CI matrix in #30 but left the rest of the metadata pointing at it. - setup.py: drop the 3.7 classifier and bump `python_requires` to >=3.8 - pyproject.toml: bump black `target-version` to py38 - tox.ini: drop `py37` and `pypy37` envs and basepython entries - README.rst: bump quick-start Python range to 3.8-3.14 - ci/templates/.appveyor.yml: bump the `check` env from Python 3.6 to 3.8 to keep the floor consistent (template only, not currently rendered) BREAKING CHANGE: Edify now requires Python 3.8 or newer. --- README.rst | 2 +- ci/templates/.appveyor.yml | 6 +++--- pyproject.toml | 2 +- setup.py | 3 +-- tox.ini | 4 +--- 5 files changed, 7 insertions(+), 10 deletions(-) diff --git a/README.rst b/README.rst index ce91d50..dd27135 100644 --- a/README.rst +++ b/README.rst @@ -53,7 +53,7 @@ It also allows you to verify a string quickly by providing commonly used regex p Quick Start ============= -To get started make sure you have Python 3.7-3.14 installed and then, install Edify from ``pip``: +To get started make sure you have Python 3.8-3.14 installed and then, install Edify from ``pip``: .. code-block:: bash diff --git a/ci/templates/.appveyor.yml b/ci/templates/.appveyor.yml index a64923b..956e594 100644 --- a/ci/templates/.appveyor.yml +++ b/ci/templates/.appveyor.yml @@ -4,9 +4,9 @@ image: Visual Studio 2019 environment: matrix: - TOXENV: check - TOXPYTHON: C:\Python36\python.exe - PYTHON_HOME: C:\Python36 - PYTHON_VERSION: '3.6' + TOXPYTHON: C:\Python38\python.exe + PYTHON_HOME: C:\Python38 + PYTHON_VERSION: '3.8' PYTHON_ARCH: '32' {% for env in tox_environments %} {% if env.startswith(('py2', 'py3')) %} diff --git a/pyproject.toml b/pyproject.toml index 50a796d..4dc0ff5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,5 +6,5 @@ requires = [ [tool.black] line-length = 140 -target-version = ['py37'] +target-version = ['py38'] skip-string-normalization = true diff --git a/setup.py b/setup.py index 49cd13c..f615e10 100755 --- a/setup.py +++ b/setup.py @@ -46,7 +46,6 @@ setup( 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', @@ -70,7 +69,7 @@ setup( keywords=[ # eg: 'keyword1', 'keyword2', 'keyword3', ], - python_requires='>=3.7', + python_requires='>=3.8', install_requires=[ # eg: 'aspectlib==1.1.1', 'six>=1.7', ], diff --git a/tox.ini b/tox.ini index d459d55..94a695a 100644 --- a/tox.ini +++ b/tox.ini @@ -14,15 +14,13 @@ envlist = clean, check, docs, - {py37,py38,py39,py310,py311,py312,py313,py314,pypy37,pypy38}, + {py38,py39,py310,py311,py312,py313,py314,pypy38}, report ignore_basepython_conflict = true [testenv] basepython = - pypy37: {env:TOXPYTHON:pypy3.7} pypy38: {env:TOXPYTHON:pypy3.8} - py37: {env:TOXPYTHON:python3.7} py38: {env:TOXPYTHON:python3.8} py39: {env:TOXPYTHON:python3.9} py310: {env:TOXPYTHON:python3.10} -- cgit v1.2.3