Merge pull request #251650 from dotlambda/paste-3.5.3

python310Packages.paste: 3.5.2 -> 3.5.3
This commit is contained in:
OTABI Tomoya 2023-08-27 12:28:49 +09:00 committed by GitHub
commit 299082dc72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"