about summary refs log tree commit diff
path: root/pkgs/development/python-modules/faker
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2019-06-19 11:37:15 +0200
committerGitHub <noreply@github.com>2019-06-19 11:37:15 +0200
commit4fa9669bf7fa112eaeac56abe2fc988a19cbd3ea (patch)
tree984fc98cfda722f2027e54f3fd2a288f9a18d7ba /pkgs/development/python-modules/faker
parent1e2f49abd1644c190cc314d9e22b955e53595067 (diff)
python.pkgs.faker: lift restrictive dependencies (#63512)
Fixes the test suite
https://github.com/joke2k/faker/issues/970
Diffstat (limited to 'pkgs/development/python-modules/faker')
-rw-r--r--pkgs/development/python-modules/faker/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/faker/default.nix b/pkgs/development/python-modules/faker/default.nix
index 2204c25e6bced..e597e07ca3642 100644
--- a/pkgs/development/python-modules/faker/default.nix
+++ b/pkgs/development/python-modules/faker/default.nix
@@ -46,6 +46,10 @@ buildPythonPackage rec {
     # see https://github.com/joke2k/faker/pull/911, fine since we pin correct
     # versions for python2
     substituteInPlace setup.py --replace "more-itertools<6.0.0" "more-itertools"
+
+    # https://github.com/joke2k/faker/issues/970
+    substituteInPlace setup.py --replace "random2==1.0.1" "random2>=1.0.1"
+    substituteInPlace setup.py --replace "freezegun==0.3.11" "freezegun>=0.3.11"
   '';
 
   meta = with lib; {