summary refs log tree commit diff
path: root/pkgs/development/python-modules/poetry
diff options
context:
space:
mode:
authorSebastian Jordan <sebastian.jordan.mail@googlemail.com>2020-12-07 23:26:03 +0100
committerFrederik Rietdijk <freddyrietdijk@fridh.nl>2020-12-08 05:13:19 +0100
commit908896c273074263f646523437ab49f852cdf45a (patch)
tree4dfd93e0e9e18927bbe0f90c2b1201c33932c3f0 /pkgs/development/python-modules/poetry
parent224023d4e7b76b207246bc25028e47a052c68bac (diff)
downloadnixpkgs-908896c273074263f646523437ab49f852cdf45a.tar
nixpkgs-908896c273074263f646523437ab49f852cdf45a.tar.gz
nixpkgs-908896c273074263f646523437ab49f852cdf45a.tar.bz2
nixpkgs-908896c273074263f646523437ab49f852cdf45a.tar.lz
nixpkgs-908896c273074263f646523437ab49f852cdf45a.tar.xz
nixpkgs-908896c273074263f646523437ab49f852cdf45a.tar.zst
nixpkgs-908896c273074263f646523437ab49f852cdf45a.zip
pythonPackages.poetry: Apply patch to fix failing tests
Diffstat (limited to 'pkgs/development/python-modules/poetry')
-rw-r--r--pkgs/development/python-modules/poetry/default.nix10
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 bad38ea582f..1519187d174 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";