Repository: psf/cachecontrol (language: python)

Issue:
Drop Python 3.7
Latest `pip` is now 3.8+, and 3.7 is EOL.


Discussion / hints:
Maybe add 3.13 too.

Fix patch:
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9861a75..b316bf8 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -34,8 +34,3 @@ jobs:
     - name: publish
       uses: pypa/gh-action-pypi-publish@release/v1
 
-    - name: sign
-      uses: sigstore/gh-action-sigstore-python@v3.0.0
-      with:
-        inputs: ./dist/*.tar.gz ./dist/*.whl
-        release-signing-artifacts: true
diff --git a/pyproject.toml b/pyproject.toml
index b9c736f..5b6910b 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -24,17 +24,17 @@ classifiers = [
     "Environment :: Web Environment",
     "License :: OSI Approved :: Apache Software License",
     "Operating System :: OS Independent",
-    "Programming Language :: Python :: 3.7",
     "Programming Language :: Python :: 3.8",
     "Programming Language :: Python :: 3.9",
     "Programming Language :: Python :: 3.10",
     "Programming Language :: Python :: 3.11",
     "Programming Language :: Python :: 3.12",
+    "Programming Language :: Python :: 3.13",
     "Topic :: Internet :: WWW/HTTP",
 ]
 keywords = ["requests", "http", "caching", "web"]
 dependencies = ["requests >= 2.16.0", "msgpack >= 0.5.2, < 2.0.0"]
-requires-python = ">=3.7"
+requires-python = ">=3.8"
 
 [project.urls]
 Homepage = "https://pypi.org/project/CacheControl/"
@@ -78,4 +78,3 @@ ignore_missing_imports = true
 
 [tool.pytest.ini_options]
 norecursedirs = ["bin", "lib", "include", "build"]
-


Test patch:
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 126ad40..77233b1 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -16,17 +16,8 @@ jobs:
     strategy:
       fail-fast: false
       matrix:
-        python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
+        python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
         os: ["macos-latest", "windows-latest", "ubuntu-latest"]
-        # Use the macos-13 runner for 3.7, since 3.7 is not currently available
-        # on ARM64 macOS runners (i.e. 14+).
-        # See: https://github.com/actions/setup-python/issues/856
-        exclude:
-          - python-version: "3.7"
-            os: "macos-latest"
-        include:
-          - python-version: "3.7"
-            os: "macos-13"
 
     steps:
       - uses: "actions/checkout@v4"