mirror of
https://github.com/frappe/gunicorn.git
synced 2026-07-01 10:11:30 +08:00
Eventlet was deprecated for 26.0 and is now removed: - Delete gunicorn/workers/geventlet.py and its registry entry - Drop eventlet from config help text, HTTP/2 unsupported-worker messages, and the dirty client docstring - Drop the eventlet optional-dependency, the eventlet entry in the testing extra, and the eventlet-only filterwarnings ignore - Drop the EventletWorkerAlpn test class - Drop the freebsd CI ignore for the (now non-existent) test_geventlet.py - Drop eventlet from the issue-triage discussion template - Drop eventlet from README, install/design/http2/settings/news docs; rewrite the news.md entry from 'deprecated' to 'removed in this release' Add h2 and uvloop to requirements_test.txt so a plain 'pip install -r requirements_test.txt' run reaches feature parity with 'pip install .[testing]' for those two deps. The container suite previously skipped 87 HTTP/2 tests for missing h2 and 1 for uvloop; the in-process suite skips drop from 67 to 40.
93 lines
2.8 KiB
TOML
93 lines
2.8 KiB
TOML
[build-system]
|
|
requires = ["setuptools>=61.2"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
# see https://packaging.python.org/en/latest/specifications/pyproject-toml/
|
|
name = "gunicorn"
|
|
authors = [{name = "Benoit Chesneau", email = "benoitc@gunicorn.org"}]
|
|
license = "MIT"
|
|
license-files = ["LICENSE"]
|
|
description = "WSGI HTTP Server for UNIX"
|
|
readme = "README.md"
|
|
classifiers = [
|
|
"Development Status :: 5 - Production/Stable",
|
|
"Environment :: Other Environment",
|
|
"Intended Audience :: Developers",
|
|
"Operating System :: MacOS :: MacOS X",
|
|
"Operating System :: POSIX",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 3",
|
|
"Programming Language :: Python :: 3.10",
|
|
"Programming Language :: Python :: 3.11",
|
|
"Programming Language :: Python :: 3.12",
|
|
"Programming Language :: Python :: 3.13",
|
|
"Programming Language :: Python :: 3 :: Only",
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
"Topic :: Internet",
|
|
"Topic :: Utilities",
|
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
"Topic :: Internet :: WWW/HTTP",
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI",
|
|
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
|
|
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
|
|
]
|
|
requires-python = ">=3.10"
|
|
dependencies = [
|
|
"packaging",
|
|
]
|
|
dynamic = ["version"]
|
|
|
|
[project.urls]
|
|
Homepage = "https://gunicorn.org"
|
|
Documentation = "https://gunicorn.org"
|
|
"Issue tracker" = "https://github.com/benoitc/gunicorn/issues"
|
|
"Source code" = "https://github.com/benoitc/gunicorn"
|
|
Changelog = "https://gunicorn.org/news/"
|
|
|
|
[project.optional-dependencies]
|
|
gevent = ["gevent>=24.10.1"]
|
|
tornado = ["tornado>=6.5.0"]
|
|
gthread = []
|
|
setproctitle = ["setproctitle"]
|
|
http2 = ["h2>=4.1.0"]
|
|
fast = ["gunicorn_h1c>=0.6.5"]
|
|
testing = [
|
|
"gevent>=24.10.1",
|
|
"h2>=4.1.0",
|
|
"coverage",
|
|
"pytest",
|
|
"pytest-cov",
|
|
"pytest-asyncio",
|
|
"uvloop>=0.19.0",
|
|
"httpx[http2]",
|
|
]
|
|
|
|
[project.scripts]
|
|
# duplicates "python -m gunicorn" handling in __main__.py
|
|
gunicorn = "gunicorn.app.wsgiapp:run"
|
|
gunicornc = "gunicorn.ctl.cli:main"
|
|
|
|
# note the quotes around "paste.server_runner" to escape the dot
|
|
[project.entry-points."paste.server_runner"]
|
|
main = "gunicorn.app.pasterapp:serve"
|
|
|
|
[tool.pytest.ini_options]
|
|
# # can override these: python -m pytest --override-ini="addopts="
|
|
norecursedirs = ["examples", "lib", "local", "src", "tests/docker"]
|
|
testpaths = ["tests/"]
|
|
addopts = "--assert=plain --cov=gunicorn --cov-report=xml"
|
|
asyncio_mode = "auto"
|
|
asyncio_default_fixture_loop_scope = "function"
|
|
|
|
[tool.setuptools]
|
|
zip-safe = false
|
|
include-package-data = true
|
|
|
|
[tool.setuptools.packages]
|
|
find = {namespaces = false}
|
|
|
|
[tool.setuptools.dynamic]
|
|
version = {attr = "gunicorn.__version__"}
|