1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-17 08:28:20 +00:00

python.pkgs.faker: lift restrictive dependencies (#63512)

Fixes the test suite
https://github.com/joke2k/faker/issues/970
This commit is contained in:
Timo Kaufmann 2019-06-19 11:37:15 +02:00 committed by GitHub
parent 1e2f49abd1
commit 4fa9669bf7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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; {