python3Packages.legacy-cgi: 2.6.3 -> 2.6.4 (#456237)

This commit is contained in:
Martin Weinelt
2025-10-29 00:20:21 +00:00
committed by GitHub
10 changed files with 16 additions and 24 deletions

View File

@@ -35,9 +35,9 @@ buildPythonPackage rec {
dependencies = [
anyascii
legacy-cgi
google-cloud-storage
]
++ lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
];
nativeCheckInputs = [
flaky

View File

@@ -8,14 +8,14 @@
buildPythonPackage rec {
pname = "legacy-cgi";
version = "2.6.3";
version = "2.6.4";
pyproject = true;
src = fetchFromGitHub {
owner = "jackrosenthal";
repo = "legacy-cgi";
tag = "v${version}";
hash = "sha256-l2BuSlxAA31VlJ/Fhs4cGbidbXEt/zEH3BiWsuh29GM=";
hash = "sha256-2CCYRRWP8FP54AcLnehJ0Kj3F3U4cz8vnesSj5EakdA=";
};
build-system = [ hatchling ];

View File

@@ -4,7 +4,6 @@
buildPythonPackage,
fetchPypi,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
setuptools,
legacy-cgi,
@@ -26,7 +25,7 @@ buildPythonPackage rec {
nativeCheckInputs = [ pytestCheckHook ];
checkInputs = lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
checkInputs = [ legacy-cgi ];
enabledTestPaths = [
"tests/*.py"

View File

@@ -6,7 +6,6 @@
legacy-cgi,
lxml-html-clean,
pytestCheckHook,
pythonAtLeast,
requests,
setuptools,
six,
@@ -28,11 +27,11 @@ buildPythonPackage rec {
dependencies = [
cachecontrol
legacy-cgi
lxml-html-clean
requests
six
]
++ lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
];
nativeCheckInputs = [ pytestCheckHook ];

View File

@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchFromGitHub,
pythonOlder,
setuptools,
pytestCheckHook,
matplotlib,
@@ -47,8 +46,6 @@ buildPythonPackage rec {
dependencies = [
setuptools # pkg_resources is referenced at runtime
]
++ lib.optionals (!pythonOlder "3.13") [
legacy-cgi
];

View File

@@ -5,7 +5,6 @@
lib,
pyopenssl,
pytestCheckHook,
pythonAtLeast,
requests,
}:
@@ -22,9 +21,9 @@ buildPythonPackage rec {
};
dependencies = [
legacy-cgi
pyopenssl
]
++ lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
];
nativeCheckInputs = [
pytestCheckHook

View File

@@ -2,7 +2,6 @@
lib,
buildPythonPackage,
fetchPypi,
pythonAtLeast,
pytestCheckHook,
cheroot,
legacy-cgi,
@@ -25,8 +24,8 @@ buildPythonPackage rec {
propagatedBuildInputs = [
cheroot
]
++ lib.optional (pythonAtLeast "3.13") legacy-cgi;
legacy-cgi
];
# requires multiple running databases
doCheck = false;

View File

@@ -5,7 +5,6 @@
setuptools,
legacy-cgi,
pytestCheckHook,
pythonAtLeast,
pythonOlder,
# for passthru.tests
@@ -31,7 +30,7 @@ buildPythonPackage rec {
build-system = [ setuptools ];
# https://github.com/Pylons/webob/issues/437
dependencies = lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
dependencies = [ legacy-cgi ];
nativeCheckInputs = [ pytestCheckHook ];

View File

@@ -14,7 +14,6 @@
setuptools,
six,
fetchpatch2,
pythonAtLeast,
legacy-cgi,
}:
@@ -51,13 +50,13 @@ buildPythonPackage rec {
dependencies = [
chardet
distutils # src/wfuzz/plugin_api/base.py
legacy-cgi
pycurl
six
setuptools
pyparsing
]
++ lib.optionals stdenv.hostPlatform.isWindows [ colorama ]
++ lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ];
++ lib.optionals stdenv.hostPlatform.isWindows [ colorama ];
nativeCheckInputs = [
netaddr

View File

@@ -8185,7 +8185,8 @@ self: super: with self; {
legacy-api-wrap = callPackage ../development/python-modules/legacy-api-wrap { };
legacy-cgi = callPackage ../development/python-modules/legacy-cgi { };
legacy-cgi =
if pythonOlder "3.13" then null else callPackage ../development/python-modules/legacy-cgi { };
leidenalg = callPackage ../development/python-modules/leidenalg { igraph-c = pkgs.igraph; };