From 3d9cd7c149b38d3d9bf077c212c62770503cbe6e Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Tue, 21 Feb 2023 14:04:25 +0100 Subject: [PATCH] python310Packages.paste: disable failing test on Python 3.11 --- pkgs/development/python-modules/paste/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/paste/default.nix b/pkgs/development/python-modules/paste/default.nix index 1e485caf8207..b292c2c45a29 100644 --- a/pkgs/development/python-modules/paste/default.nix +++ b/pkgs/development/python-modules/paste/default.nix @@ -2,6 +2,7 @@ , buildPythonPackage , fetchFromGitHub , pytestCheckHook +, pythonAtLeast , pythonOlder , setuptools , six @@ -25,7 +26,7 @@ buildPythonPackage rec { patchShebangs tests/cgiapp_data/ ''; - propagatedBuildInputs = [ + propagatedBuildInputs = [ setuptools six ]; @@ -39,6 +40,9 @@ buildPythonPackage rec { "test_file_cache" # requires network connection "test_proxy_to_website" + ] ++ lib.optionals (pythonAtLeast "3.11") [ + # https://github.com/cdent/paste/issues/72 + "test_form" ]; pythonNamespaces = [