diff options
author | Sebastian Jordan <sebastian.jordan.mail@googlemail.com> | 2020-12-07 23:26:03 +0100 |
---|---|---|
committer | Frederik Rietdijk <freddyrietdijk@fridh.nl> | 2020-12-08 05:13:19 +0100 |
commit | 908896c273074263f646523437ab49f852cdf45a (patch) | |
tree | 4dfd93e0e9e18927bbe0f90c2b1201c33932c3f0 /pkgs | |
parent | 224023d4e7b76b207246bc25028e47a052c68bac (diff) |
pythonPackages.poetry: Apply patch to fix failing tests
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/python-modules/poetry/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/poetry/default.nix b/pkgs/development/python-modules/poetry/default.nix index bad38ea582fb..1519187d174b 100644 --- a/pkgs/development/python-modules/poetry/default.nix +++ b/pkgs/development/python-modules/poetry/default.nix @@ -88,6 +88,16 @@ buildPythonPackage rec { "test_builder_should_execute_build_scripts" ]; + patches = [ + # The following patch addresses a minor incompatibility with + # pytest-mock. This is addressed upstream in + # https://github.com/python-poetry/poetry/pull/3457 + (fetchpatch { + url = "https://github.com/python-poetry/poetry/commit/8ddceb7c52b3b1f35412479707fa790e5d60e691.diff"; + sha256 = "yHjFb9xJBLFOqkOZaJolKviTdtST9PMFwH9n8ud2Y+U="; + }) + ]; + meta = with lib; { homepage = "https://python-poetry.org/"; description = "Python dependency management and packaging made easy"; |