Merge pull request #60936 from risicle/ris-fiona-fix
pythonPackages.fiona: fix tests on py27 by including mock in checkInputs
This commit is contained in:
commit
9da759e8c9
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, isPy3k
|
{ stdenv, buildPythonPackage, fetchPypi, isPy3k, pythonOlder
|
||||||
, attrs, click, cligj, click-plugins, six, munch, enum34
|
, attrs, click, cligj, click-plugins, six, munch, enum34
|
||||||
, pytest, boto3
|
, pytest, boto3, mock
|
||||||
, gdal
|
, gdal
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [
|
checkInputs = [
|
||||||
pytest
|
pytest
|
||||||
boto3
|
boto3
|
||||||
];
|
] ++ stdenv.lib.optional (pythonOlder "3.4") mock;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
rm -r fiona # prevent importing local fiona
|
rm -r fiona # prevent importing local fiona
|
||||||
|
Loading…
x
Reference in New Issue
Block a user