Skip to content

Commit

Permalink
Drop Python 3.7 support
Browse files Browse the repository at this point in the history
it was EoL since 2023-06-27 and since today prevents the CI from
running
  • Loading branch information
vanschelven committed Jan 31, 2025
1 parent bacbf8a commit 77a545b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion docs/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Requirements

To generate documentation you need to install:

- Python >= 3.7
- Python >= 3.8
- Sphinx (https://www.sphinx-doc.org/)


Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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::

Expand Down
4 changes: 1 addition & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -35,9 +34,8 @@ 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",
]
dynamic = ["version"]
Expand Down

0 comments on commit 77a545b

Please sign in to comment.