diff options
author | Edmund Wu <fangkazuto@gmail.com> | 2019-01-23 09:38:33 -0500 |
---|---|---|
committer | Edmund Wu <fangkazuto@gmail.com> | 2019-01-24 08:08:35 -0500 |
commit | 4ecd09ecb803e3459c1ab09220b5a63c9f411847 (patch) | |
tree | 6da75460ba57a15a06e2c00fd6da367c23e4e8f8 /pkgs/development/python-modules/faker | |
parent | 5237df5186a78bf3d2be326177694ccf80a66cee (diff) |
pythonPackages.faker: 1.0.1 -> 1.0.2
Fixes tests for at least Python 3.6
Diffstat (limited to 'pkgs/development/python-modules/faker')
-rw-r--r-- | pkgs/development/python-modules/faker/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/faker/default.nix b/pkgs/development/python-modules/faker/default.nix index 9a46d9611e08f..548c7a59bc6f9 100644 --- a/pkgs/development/python-modules/faker/default.nix +++ b/pkgs/development/python-modules/faker/default.nix @@ -8,11 +8,11 @@ assert pythonOlder "3.3" -> ipaddress != null; buildPythonPackage rec { pname = "Faker"; - version = "1.0.1"; + version = "1.0.2"; src = fetchPypi { inherit pname version; - sha256 = "067mdy9p1vbkypr3vazmrb0sga6maqbk542hr7hmzcb5lp3dr8sj"; + sha256 = "0v1pjzn9z20ckgv3kji7c8nwcsm7670z4i43ic9skjrdbcqylwfq"; }; buildInputs = [ pytestrunner ]; @@ -30,6 +30,7 @@ buildPythonPackage rec { ] ++ lib.optional (pythonOlder "3.3") ipaddress; postPatch = '' + find tests -type d -name "__pycache__" | xargs rm -r substituteInPlace setup.py --replace "pytest>=3.8.0,<3.9" "pytest" ''; |