Merge pull request #134662 from fabaff/bump-webtest

This commit is contained in:
Sandro 2021-08-19 00:22:41 +02:00 committed by GitHub
commit d4f591b375
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,31 +14,44 @@
}: }:
buildPythonPackage rec { buildPythonPackage rec {
version = "2.0.32"; version = "2.0.35";
pname = "webtest"; pname = "webtest";
disabled = isPy27; # paste.deploy is not longer a valid import disabled = isPy27; # paste.deploy is not longer a valid import
src = fetchPypi { src = fetchPypi {
pname = "WebTest"; pname = "WebTest";
inherit version; inherit version;
sha256 = "4221020d502ff414c5fba83c1213985b83219cb1cc611fe58aa4feaf96b5e062"; sha256 = "sha256-qsFotbK08gCvTjWGfPMWcSIQ49XbgcHL3/OHImR7sIc=";
}; };
preConfigure = '' preConfigure = ''
substituteInPlace setup.py --replace "nose<1.3.0" "nose" substituteInPlace setup.py --replace "nose<1.3.0" "nose"
''; '';
propagatedBuildInputs = [ webob six beautifulsoup4 waitress ]; propagatedBuildInputs = [
webob
six
beautifulsoup4
waitress
];
checkInputs = [ nose mock PasteDeploy wsgiproxy2 pyquery ]; checkInputs = [
nose
mock
PasteDeploy
wsgiproxy2
pyquery
];
# Some of the tests use localhost networking. # Some of the tests use localhost networking.
__darwinAllowLocalNetworking = true; __darwinAllowLocalNetworking = true;
pythonImportsCheck = [ "webtest" ];
meta = with lib; { meta = with lib; {
description = "Helper to test WSGI applications"; description = "Helper to test WSGI applications";
homepage = "https://webtest.readthedocs.org/en/latest/"; homepage = "https://webtest.readthedocs.org/en/latest/";
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ ];
}; };
} }