about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-08-18 11:00:56 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-08-18 11:48:40 +0200
commitfb1be839e46223dd1d4ecc2e51c6ac35d1cb4564 (patch)
tree30eec360c55bd135cbe9f9caa35df2bff5150a85
parent57ef737629c3b88606345f51d5b87ef34158123a (diff)
downloadnixlib-fb1be839e46223dd1d4ecc2e51c6ac35d1cb4564.tar
nixlib-fb1be839e46223dd1d4ecc2e51c6ac35d1cb4564.tar.gz
nixlib-fb1be839e46223dd1d4ecc2e51c6ac35d1cb4564.tar.bz2
nixlib-fb1be839e46223dd1d4ecc2e51c6ac35d1cb4564.tar.lz
nixlib-fb1be839e46223dd1d4ecc2e51c6ac35d1cb4564.tar.xz
nixlib-fb1be839e46223dd1d4ecc2e51c6ac35d1cb4564.tar.zst
nixlib-fb1be839e46223dd1d4ecc2e51c6ac35d1cb4564.zip
pythonPackages.pyjwt: remove pytest constraints
-rw-r--r--pkgs/development/python-modules/pyjwt/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pyjwt/default.nix b/pkgs/development/python-modules/pyjwt/default.nix
index c02c0361cf28..10bfb0d72b6f 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;