From 4fa9669bf7fa112eaeac56abe2fc988a19cbd3ea Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Wed, 19 Jun 2019 11:37:15 +0200 Subject: [PATCH] python.pkgs.faker: lift restrictive dependencies (#63512) Fixes the test suite https://github.com/joke2k/faker/issues/970 --- pkgs/development/python-modules/faker/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/faker/default.nix b/pkgs/development/python-modules/faker/default.nix index 2204c25e6bce..e597e07ca364 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; {