diff --git a/pkgs/development/python-modules/python-jose/default.nix b/pkgs/development/python-modules/python-jose/default.nix index 09a424583110..6b8104516ea9 100644 --- a/pkgs/development/python-modules/python-jose/default.nix +++ b/pkgs/development/python-modules/python-jose/default.nix @@ -6,13 +6,13 @@ buildPythonPackage rec { pname = "python-jose"; - version = "3.1.0"; + version = "3.2.0"; src = fetchFromGitHub { owner = "mpdavis"; repo = "python-jose"; rev = version; - sha256 = "1gnn0zy03pywj65ammy3sd07knzhjv8n5jhx1ir9bikgra9v0iqh"; + sha256 = "cSPIZrps0xFd4pPcQ4w/jFWOk2XYgd3mtE/sDzlytvY="; }; checkInputs = [ @@ -23,6 +23,13 @@ buildPythonPackage rec { cryptography # optional dependency, but needed in tests ]; + # relax ecdsa deps + patchPhase = '' + substituteInPlace setup.py \ + --replace 'ecdsa<0.15' 'ecdsa' \ + --replace 'ecdsa <0.15' 'ecdsa' + ''; + disabledTests = [ # https://github.com/mpdavis/python-jose/issues/176 "test_key_too_short"