From ff57d25c4104bc6e7e8d9e962ffec88b293b9bdb Mon Sep 17 00:00:00 2001 From: Isaac Muse Date: Wed, 30 Aug 2023 15:07:52 -0600 Subject: [PATCH] Drop Python 3.7 (#207) --- .github/workflows/build.yml | 4 +--- docs/src/markdown/about/changelog.md | 1 + hatch_build.py | 1 - pyproject.toml | 2 +- tox.ini | 2 +- 5 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3e070df..c4ba8bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,10 +17,8 @@ jobs: max-parallel: 4 matrix: platform: [ubuntu-latest, windows-latest] - python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12-dev'] + python-version: [3.8, 3.9, '3.10', '3.11', '3.12-dev'] include: - - python-version: 3.7 - tox-env: py37 - python-version: 3.8 tox-env: py38 - python-version: 3.9 diff --git a/docs/src/markdown/about/changelog.md b/docs/src/markdown/about/changelog.md index a773c4a..17d89b3 100644 --- a/docs/src/markdown/about/changelog.md +++ b/docs/src/markdown/about/changelog.md @@ -4,6 +4,7 @@ - **NEW**: Formally support Python 3.11 (no change). - **NEW**: Add support for Python 3.12 (`pathlib` changes). +- **NEW**: Drop Python 3.7 support. - **FIX**: Fix handling of current directory when magic and non-magic patterns are mixed in `glob` pattern list. ## 8.4.1 diff --git a/hatch_build.py b/hatch_build.py index 66d8911..9c0f0d3 100644 --- a/hatch_build.py +++ b/hatch_build.py @@ -40,7 +40,6 @@ def update(self, metadata): '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', diff --git a/pyproject.toml b/pyproject.toml index 9e2d2c3..8e11ace 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ name = "wcmatch" description = "Wildcard/glob file name matcher." readme = "README.md" license = "MIT" -requires-python = ">=3.7" +requires-python = ">=3.8" authors = [ { name = "Isaac Muse", email = "Isaac.Muse@gmail.com" }, ] diff --git a/tox.ini b/tox.ini index 647358c..128ab4f 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ isolated_build = true skipsdist=true envlist= - py36,py37,py38,py39,py310,py311,py312, + py38,py39,py310,py311,py312, lint [testenv]