From 298a5428b86b797e7a8ad81e602e3821e54f885b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Sat, 26 Aug 2023 11:14:47 -0700 Subject: [PATCH] python310Packages.paste: 3.5.2 -> 3.5.3 Diff: https://github.com/cdent/paste/compare/refs/tags/3.5.2...3.5.3 Changelog: https://github.com/cdent/paste/blob/3.5.3/docs/news.txt --- .../python-modules/paste/default.nix | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/pkgs/development/python-modules/paste/default.nix b/pkgs/development/python-modules/paste/default.nix index ba082c9285b..2388e2d15c6 100644 --- a/pkgs/development/python-modules/paste/default.nix +++ b/pkgs/development/python-modules/paste/default.nix @@ -10,7 +10,7 @@ buildPythonPackage rec { pname = "paste"; - version = "3.5.2"; + version = "3.5.3"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -19,7 +19,7 @@ buildPythonPackage rec { owner = "cdent"; repo = "paste"; rev = "refs/tags/${version}"; - hash = "sha256-lpQMzrRpcG5TqWm/FJn4oo9TV8Skf0ypZVeQC4y8p1U="; + hash = "sha256-W02UY9P3qjIFhR/DCpQZyvjEmJYl0MvMcGt9N4xgbaY="; }; postPatch = '' @@ -35,15 +35,10 @@ buildPythonPackage rec { pytestCheckHook ]; - disabledTests = [ - # broken test - "test_file_cache" - # requires network connection - "test_proxy_to_website" - ] ++ lib.optionals (pythonAtLeast "3.11") [ - # https://github.com/cdent/paste/issues/72 - "test_form" - ]; + preCheck = '' + # needs to be modified after Sat, 1 Jan 2005 12:00:00 GMT + touch tests/urlparser_data/secured.txt + ''; pythonNamespaces = [ "paste"