mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-02 18:51:31 +08:00
Restore Python 3.10 and 3.11 support (#3425)
This change extends Python support back to 3.10 and 3.11, which are still actively maintained by the PSF: - Python 3.10: Security support until Oct 2026 - Python 3.11: Active support (latest feature release) - Python 3.12: Active support - Python 3.13: Latest stable release The previous change to support only 3.12+ was too restrictive as many users are still on Python 3.10 and 3.11 in production environments. Changes: - Updated pyproject.toml to set minimum Python to 3.10 - Added Python 3.10, 3.11, and PyPy 3.10 to CI matrix - Updated all documentation to reflect Python 3.10+ requirement - Maintained compatibility with latest pylint for Python 3.12+
This commit is contained in:
parent
1dc4ce9d59
commit
56b5ad87f8
7
.github/workflows/tox.yml
vendored
7
.github/workflows/tox.yml
vendored
@ -21,11 +21,14 @@ jobs:
|
|||||||
- macos-13
|
- macos-13
|
||||||
# Not testing Windows, because tests need Unix-only fcntl, grp, pwd, etc.
|
# Not testing Windows, because tests need Unix-only fcntl, grp, pwd, etc.
|
||||||
python-version:
|
python-version:
|
||||||
# Supporting only N (3.13) and N-1 (3.12)
|
# Supporting Python 3.10 through 3.13
|
||||||
|
- "3.10"
|
||||||
|
- "3.11"
|
||||||
- "3.12"
|
- "3.12"
|
||||||
- "3.13"
|
- "3.13"
|
||||||
|
- "pypy-3.10"
|
||||||
include:
|
include:
|
||||||
# Test on macos-latest (arm64) with both versions
|
# Test on macos-latest (arm64) with recent versions
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
python-version: "3.12"
|
python-version: "3.12"
|
||||||
unsupported: false
|
unsupported: false
|
||||||
|
|||||||
@ -32,7 +32,7 @@ The documentation is hosted at https://docs.gunicorn.org.
|
|||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
|
|
||||||
Gunicorn requires **Python 3.x >= 3.7**.
|
Gunicorn requires **Python 3.x >= 3.10**.
|
||||||
|
|
||||||
Install from PyPI::
|
Install from PyPI::
|
||||||
|
|
||||||
|
|||||||
@ -25,6 +25,6 @@ Please target reports against :white_check_mark: or current master. Please under
|
|||||||
|
|
||||||
## Python Versions
|
## Python Versions
|
||||||
|
|
||||||
Gunicorn runs on Python 3.12+, supporting only the latest (N) and previous (N-1) Python versions.
|
Gunicorn runs on Python 3.10+, supporting Python versions that are still maintained by the PSF.
|
||||||
We *highly recommend* the latest release of a [supported series](https://devguide.python.org/versions/)
|
We *highly recommend* the latest release of a [supported series](https://devguide.python.org/versions/)
|
||||||
and will not prioritize issues affecting EoL environments.
|
and will not prioritize issues affecting EoL environments.
|
||||||
|
|||||||
@ -23,7 +23,7 @@ Features
|
|||||||
* Simple Python configuration
|
* Simple Python configuration
|
||||||
* Multiple worker configurations
|
* Multiple worker configurations
|
||||||
* Various server hooks for extensibility
|
* Various server hooks for extensibility
|
||||||
* Compatible with Python 3.x >= 3.7
|
* Compatible with Python 3.x >= 3.10
|
||||||
|
|
||||||
|
|
||||||
Contents
|
Contents
|
||||||
|
|||||||
@ -4,7 +4,7 @@ Installation
|
|||||||
|
|
||||||
.. highlight:: bash
|
.. highlight:: bash
|
||||||
|
|
||||||
:Requirements: **Python 3.x >= 3.12**
|
:Requirements: **Python 3.x >= 3.10**
|
||||||
|
|
||||||
To install the latest released version of Gunicorn::
|
To install the latest released version of Gunicorn::
|
||||||
|
|
||||||
|
|||||||
@ -18,6 +18,8 @@ classifiers = [
|
|||||||
"Operating System :: POSIX",
|
"Operating System :: POSIX",
|
||||||
"Programming Language :: Python",
|
"Programming Language :: Python",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
|
"Programming Language :: Python :: 3.10",
|
||||||
|
"Programming Language :: Python :: 3.11",
|
||||||
"Programming Language :: Python :: 3.12",
|
"Programming Language :: Python :: 3.12",
|
||||||
"Programming Language :: Python :: 3.13",
|
"Programming Language :: Python :: 3.13",
|
||||||
"Programming Language :: Python :: 3 :: Only",
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
@ -31,7 +33,7 @@ classifiers = [
|
|||||||
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
|
||||||
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
||||||
]
|
]
|
||||||
requires-python = ">=3.12"
|
requires-python = ">=3.10"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"packaging",
|
"packaging",
|
||||||
]
|
]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user