pythonPackages.webtest: disable for python2

python2 tries to import paste.deploy, which is no longer valid
This commit is contained in:
Jonathan Ringer 2019-10-17 15:51:31 -07:00 committed by Frederik Rietdijk
parent dd5522ad53
commit 4ba99e2361

View File

@ -1,6 +1,7 @@
{ stdenv { stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, isPy27
, nose , nose
, webob , webob
, six , six
@ -15,6 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
version = "2.0.32"; version = "2.0.32";
pname = "webtest"; pname = "webtest";
disabled = isPy27; # paste.deploy is not longer a valid import
src = fetchPypi { src = fetchPypi {
pname = "WebTest"; pname = "WebTest";