diff --git a/pkgs/development/python-modules/poetry/default.nix b/pkgs/development/python-modules/poetry/default.nix index 7fe41d8d3f1..1b593ff0e6c 100644 --- a/pkgs/development/python-modules/poetry/default.nix +++ b/pkgs/development/python-modules/poetry/default.nix @@ -40,8 +40,9 @@ in buildPythonPackage rec { }; postPatch = '' - substituteInPlace pyproject.toml --replace "3.0a3" "3.0.0a3" - substituteInPlace setup.py --replace "3.0a3" "3.0.0a3" + substituteInPlace setup.py --replace \ + "requests-toolbelt>=0.8.0,<0.9.0" \ + "requests-toolbelt>=0.8.0,<0.10.0" ''; propagatedBuildInputs = [