python3Packages.gunicorn: 23.0.0 -> 26.0.0

https://github.com/benoitc/gunicorn/blob/26.0.0/docs/content/2026-news.md#2600---2026-05-05
This commit is contained in:
Martin Weinelt
2026-07-12 18:38:26 +02:00
parent 81e0ccd699
commit 7f9efc3f8d

View File

@@ -15,20 +15,22 @@
tornado,
setproctitle,
# tests
pytest-asyncio,
pytestCheckHook,
pytest-cov-stub,
}:
buildPythonPackage rec {
pname = "gunicorn";
version = "23.0.0";
version = "26.0.0";
pyproject = true;
src = fetchFromGitHub {
owner = "benoitc";
repo = "gunicorn";
tag = version;
hash = "sha256-Dq/mrQwo3II6DBvYfD1FHsKHaIlyHlJCZ+ZyrM4Efe0=";
hash = "sha256-duq5ghUuiuZL644jHgZ0qXHkcc8POHt7BX91m9F5BGE=";
};
build-system = [ setuptools ];
@@ -46,11 +48,22 @@ buildPythonPackage rec {
pythonImportsCheck = [ "gunicorn" ];
nativeCheckInputs = [
pytest-asyncio
pytestCheckHook
pytest-cov-stub
]
++ lib.concatAttrValues optional-dependencies;
disabledTests = [
# failure while starting a gunicorn instance
"TestSignalHandlingIntegration"
];
disabledTestPaths = [
# tries to start gunicorn and fails on import
"tests/test_control_socket_integration.py"
];
meta = {
description = "WSGI HTTP Server for UNIX, fast clients and sleepy applications";
homepage = "https://github.com/benoitc/gunicorn";