python3Packages.pyfakefs: disable on py2.7
* No longer supports python < 3.5, so disabled. * Enables tests that were disabled due to bugs. * Add changelog
This commit is contained in:
parent
684496cfb6
commit
9fae7b21ef
@ -1,8 +1,9 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, python, pytest, glibcLocales, isPy37 }:
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder, python, pytest, glibcLocales }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
version = "4.1.0";
|
version = "4.1.0";
|
||||||
pname = "pyfakefs";
|
pname = "pyfakefs";
|
||||||
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
@ -24,8 +25,6 @@ buildPythonPackage rec {
|
|||||||
--replace "test_rename_dir_to_existing_dir" "notest_rename_dir_to_existing_dir"
|
--replace "test_rename_dir_to_existing_dir" "notest_rename_dir_to_existing_dir"
|
||||||
'');
|
'');
|
||||||
|
|
||||||
# https://github.com/jmcgeheeiv/pyfakefs/issues/508
|
|
||||||
doCheck = !isPy37;
|
|
||||||
checkInputs = [ pytest glibcLocales ];
|
checkInputs = [ pytest glibcLocales ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
@ -39,6 +38,7 @@ buildPythonPackage rec {
|
|||||||
description = "Fake file system that mocks the Python file system modules";
|
description = "Fake file system that mocks the Python file system modules";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
homepage = "http://pyfakefs.org/";
|
homepage = "http://pyfakefs.org/";
|
||||||
|
changelog = "https://github.com/jmcgeheeiv/pyfakefs/blob/master/CHANGES.md";
|
||||||
maintainers = with maintainers; [ gebner ];
|
maintainers = with maintainers; [ gebner ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user