From ae7d507f44d9a65767d4ff7c2d6a32015234e546 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 4 Sep 2023 23:26:17 +0300 Subject: [PATCH] Drop support for EOL Python 3.7 --- .github/workflows/ci.yaml | 4 ++-- pyproject.toml | 3 +-- setup.cfg | 3 +-- tox.ini | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 199874d..3d8bbff 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,8 +16,8 @@ jobs: fail-fast: false matrix: os: [ubuntu, macos, windows] - python: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", - "pypy-3.7", "pypy-3.8", "pypy-3.9"] + python: ["3.8", "3.9", "3.10", "3.11", "3.12", + "pypy-3.8", "pypy-3.9"] steps: - uses: actions/checkout@v4 diff --git a/pyproject.toml b/pyproject.toml index 81ee2be..05c8a76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,6 @@ classifiers = [ "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", @@ -28,7 +27,7 @@ dynamic = ["version"] license = {text = "MPL 2.0"} name = "pathspec" readme = "README-dist.rst" -requires-python = ">=3.7" +requires-python = ">=3.8" [project.urls] "Source Code" = "https://github.com/cpburnz/python-pathspec" diff --git a/setup.cfg b/setup.cfg index 863d85f..34abfd1 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,7 +8,6 @@ classifiers = Operating System :: OS Independent Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 @@ -28,7 +27,7 @@ version = attr: pathspec._meta.__version__ [options] packages = find: -python_requires = >=3.7 +python_requires = >=3.8 setup_requires = setuptools>=40.8.0 test_suite = tests diff --git a/tox.ini b/tox.ini index 5d039ae..89f20bd 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py37, py38, py39, py310, py311, py312, pypy3 +envlist = py38, py39, py310, py311, py312, pypy3 isolated_build = True [testenv]