From a11ee0030bf585560a9bf8927178912974ad6a80 Mon Sep 17 00:00:00 2001 From: Klaas van Schelven Date: Fri, 31 Jan 2025 17:27:22 +0100 Subject: [PATCH] Drop Python 3.7 support it was EoL since 2023-06-27 and since today prevents the CI from running --- .github/workflows/tox.yml | 3 +-- README.rst | 2 +- SECURITY.md | 2 +- docs/README.rst | 2 +- docs/source/index.rst | 2 +- docs/source/install.rst | 2 +- pyproject.toml | 3 +-- 7 files changed, 7 insertions(+), 9 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 759800eb1..e550c1c70 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -21,8 +21,7 @@ jobs: - macos-13 # Not testing Windows, because tests need Unix-only fcntl, grp, pwd, etc. python-version: - # CPython <= 3.7 is EoL since 2023-06-27 - - "3.7" + # CPython <= 3.8 is EoL since 2024-10-07 - "3.8" - "3.9" - "3.10" diff --git a/README.rst b/README.rst index 4a4029dd3..d776ad1e2 100644 --- a/README.rst +++ b/README.rst @@ -32,7 +32,7 @@ The documentation is hosted at https://docs.gunicorn.org. Installation ------------ -Gunicorn requires **Python 3.x >= 3.7**. +Gunicorn requires **Python 3.x >= 3.8**. Install from PyPI:: diff --git a/SECURITY.md b/SECURITY.md index c94e953e6..efa2c363e 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -25,6 +25,6 @@ Please target reports against :white_check_mark: or current master. Please under ## Python Versions -Gunicorn runs on Python 3.7+, we *highly recommend* the latest release of a +Gunicorn runs on Python 3.8+, we *highly recommend* the latest release of a [supported series](https://devguide.python.org/versions/) and will not prioritize issues exclusively affecting in EoL environments. diff --git a/docs/README.rst b/docs/README.rst index 9ec55d05a..ad71fc915 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -6,7 +6,7 @@ Requirements To generate documentation you need to install: - - Python >= 3.7 + - Python >= 3.8 - Sphinx (https://www.sphinx-doc.org/) diff --git a/docs/source/index.rst b/docs/source/index.rst index 3f89ce1eb..36e95740f 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -23,7 +23,7 @@ Features * Simple Python configuration * Multiple worker configurations * Various server hooks for extensibility -* Compatible with Python 3.x >= 3.7 +* Compatible with Python 3.x >= 3.8 Contents diff --git a/docs/source/install.rst b/docs/source/install.rst index 2367086df..a15fe95f6 100644 --- a/docs/source/install.rst +++ b/docs/source/install.rst @@ -4,7 +4,7 @@ Installation .. highlight:: bash -:Requirements: **Python 3.x >= 3.7** +:Requirements: **Python 3.x >= 3.8** To install the latest released version of Gunicorn:: diff --git a/pyproject.toml b/pyproject.toml index eaca1eac0..028a21fae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,6 @@ classifiers = [ "Operating System :: POSIX", "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", @@ -35,7 +34,7 @@ classifiers = [ "Topic :: Internet :: WWW/HTTP :: WSGI :: Server", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ] -requires-python = ">=3.7" +requires-python = ">=3.8" dependencies = [ 'importlib_metadata; python_version<"3.8"', "packaging",