diff --git a/pkgs/development/python-modules/celery/default.nix b/pkgs/development/python-modules/celery/default.nix index 480f7acb3d1b..a48f8651298a 100644 --- a/pkgs/development/python-modules/celery/default.nix +++ b/pkgs/development/python-modules/celery/default.nix @@ -12,9 +12,13 @@ buildPythonPackage rec { sha256 = "54436cd97b031bf2e08064223240e2a83d601d9414bcb1b702f94c6c33c29485"; }; + # click is only used for the repl, in most cases this shouldn't impact + # downstream packages postPatch = '' substituteInPlace requirements/test.txt \ --replace "moto==1.3.7" moto + substituteInPlace requirements/default.txt \ + --replace "click>=7.0,<8.0" click ''; propagatedBuildInputs = [ billiard click click-didyoumean click-plugins click-repl kombu pytz vine ];