From 1e58fb158c9ccf5f7b23edad4534860de78558ed Mon Sep 17 00:00:00 2001
From: "John T. Wodder II" <git@varonathe.org>
Date: Thu, 2 May 2024 09:14:10 -0400
Subject: [PATCH] Drop support for Python 3.7

---
 .github/workflows/test.yml | 6 ++----
 CHANGELOG.md               | 2 +-
 README.rst                 | 2 +-
 pyproject.toml             | 3 +--
 tox.ini                    | 2 +-
 5 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 1445c80..df98e3c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -19,21 +19,19 @@ jobs:
       fail-fast: false
       matrix:
         python-version:
-          - '3.7'
           - '3.8'
           - '3.9'
           - '3.10'
           - '3.11'
           - '3.12'
-          - 'pypy-3.7'
           - 'pypy-3.8'
           - 'pypy-3.9'
           - 'pypy-3.10'
         toxenv: [py]
         include:
-          - python-version: '3.7'
+          - python-version: '3.8'
             toxenv: lint
-          - python-version: '3.7'
+          - python-version: '3.8'
             toxenv: typing
     steps:
       - name: Check out repository
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc0a4c8..2d3484d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,6 @@
 v1.5.0 (in development)
 -----------------------
-- Drop support for Python 3.6
+- Drop support for Python 3.6 and 3.7
 - Support Python 3.11 and 3.12
 - Moved to wheelodex organization
 - Migrated from setuptools to hatch
diff --git a/README.rst b/README.rst
index ec8d698..e237dfb 100644
--- a/README.rst
+++ b/README.rst
@@ -40,7 +40,7 @@ This package adheres strictly to the standard, with the following exceptions:
 
 Installation
 ============
-``wheel-filename`` requires Python 3.7 or higher.  Just use `pip
+``wheel-filename`` requires Python 3.8 or higher.  Just use `pip
 <https://pip.pypa.io>`_ for Python 3 (You have pip, right?) to install it::
 
     python3 -m pip install wheel-filename
diff --git a/pyproject.toml b/pyproject.toml
index 974a01b..1a5923e 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,7 @@ name = "wheel-filename"
 dynamic = ["version"]
 description = "Parse wheel filenames"
 readme = "README.rst"
-requires-python = ">=3.7"
+requires-python = ">=3.8"
 license = "MIT"
 license-files = { paths = ["LICENSE"] }
 authors = [
@@ -24,7 +24,6 @@ classifiers = [
     "Development Status :: 5 - Production/Stable",
     "Programming Language :: Python :: 3 :: Only",
     "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/tox.ini b/tox.ini
index 8c305d1..7fff879 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = lint,typing,py37,py38,py39,py310,py311,py312,pypy3
+envlist = lint,typing,py38,py39,py310,py311,py312,pypy3
 skip_missing_interpreters = True
 isolated_build = True
 minversion = 3.3.0