From fb1be839e46223dd1d4ecc2e51c6ac35d1cb4564 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 18 Aug 2019 11:00:56 +0200 Subject: [PATCH] pythonPackages.pyjwt: remove pytest constraints --- pkgs/development/python-modules/pyjwt/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pyjwt/default.nix b/pkgs/development/python-modules/pyjwt/default.nix index c02c0361cf2..10bfb0d72b6 100644 --- a/pkgs/development/python-modules/pyjwt/default.nix +++ b/pkgs/development/python-modules/pyjwt/default.nix @@ -15,6 +15,10 @@ buildPythonPackage rec { checkInputs = [ pytestrunner pytestcov pytest ]; + postPatch = '' + substituteInPlace setup.py --replace "pytest>=4.0.1,<5.0.0" "pytest" + ''; + meta = with lib; { description = "JSON Web Token implementation in Python"; homepage = https://github.com/jpadilla/pyjwt;