From 9d9aa6099f6c284aa5df7d45d83c56e57552251a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Vask=C3=B3?= Date: Tue, 24 Sep 2019 17:41:35 +0200 Subject: [PATCH] python37Packages.pyrsistent: 0.15.2 -> 0.15.4 Some tests are broken on 0.15.2 if used with pytest 5+ as discussed in #64145. The issue is fixed in tobgu/pyrsistent#175 and released in 0.15.4. --- pkgs/development/python-modules/pyrsistent/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pyrsistent/default.nix b/pkgs/development/python-modules/pyrsistent/default.nix index 74c3724aa19..c8310c39441 100644 --- a/pkgs/development/python-modules/pyrsistent/default.nix +++ b/pkgs/development/python-modules/pyrsistent/default.nix @@ -20,6 +20,10 @@ buildPythonPackage rec { checkInputs = [ pytestrunner pytest_4 hypothesis ]; + postPatch = '' + substituteInPlace setup.py --replace 'pytest<5' 'pytest' + ''; + meta = with stdenv.lib; { homepage = https://github.com/tobgu/pyrsistent/; description = "Persistent/Functional/Immutable data structures";