summary refs log tree commit diff
path: root/pkgs/development/python-modules/moto
diff options
context:
space:
mode:
authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de>2018-12-03 16:10:05 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2018-12-03 16:50:42 +0100
commita933c53b61f258152600c5a3b0e120a7264bbfc1 (patch)
tree15dbb9c0ddce871a637f01bd25444f1ccb11d3f2 /pkgs/development/python-modules/moto
parent75a90b5a9bcee57b98ab9b62e4c110a10fe59dff (diff)
downloadnixpkgs-a933c53b61f258152600c5a3b0e120a7264bbfc1.tar
nixpkgs-a933c53b61f258152600c5a3b0e120a7264bbfc1.tar.gz
nixpkgs-a933c53b61f258152600c5a3b0e120a7264bbfc1.tar.bz2
nixpkgs-a933c53b61f258152600c5a3b0e120a7264bbfc1.tar.lz
nixpkgs-a933c53b61f258152600c5a3b0e120a7264bbfc1.tar.xz
nixpkgs-a933c53b61f258152600c5a3b0e120a7264bbfc1.tar.zst
nixpkgs-a933c53b61f258152600c5a3b0e120a7264bbfc1.zip
python.pkgs.moto: allow newer versions of python-jose
Diffstat (limited to 'pkgs/development/python-modules/moto')
-rw-r--r--pkgs/development/python-modules/moto/default.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/moto/default.nix b/pkgs/development/python-modules/moto/default.nix
index d0d6d66c8ca..024a4a4c896 100644
--- a/pkgs/development/python-modules/moto/default.nix
+++ b/pkgs/development/python-modules/moto/default.nix
@@ -12,13 +12,12 @@ buildPythonPackage rec {
   };
 
   postPatch = ''
-    # dateutil upper bound was just to keep compatibility with Python 2.6
-    # see https://github.com/spulec/moto/pull/1519 and https://github.com/boto/botocore/pull/1402
     # regarding aws-xray-sdk: https://github.com/spulec/moto/commit/31eac49e1555c5345021a252cb0c95043197ea16
+    # regarding python-jose: https://github.com/spulec/moto/pull/1927
     substituteInPlace setup.py \
-      --replace "python-dateutil<2.7.0" "python-dateutil<3.0.0" \
       --replace "aws-xray-sdk<0.96," "aws-xray-sdk" \
-      --replace "jsondiff==1.1.1" "jsondiff>=1.1.1"
+      --replace "jsondiff==1.1.1" "jsondiff>=1.1.1" \
+      --replace "python-jose<3.0.0" "python-jose<4.0.0"
   '';
 
   propagatedBuildInputs = [