diff options
Diffstat (limited to 'pkgs/development/python-modules/auth0-python/default.nix')
-rw-r--r-- | pkgs/development/python-modules/auth0-python/default.nix | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/auth0-python/default.nix b/pkgs/development/python-modules/auth0-python/default.nix index 7e2b09cca68..fed673453d1 100644 --- a/pkgs/development/python-modules/auth0-python/default.nix +++ b/pkgs/development/python-modules/auth0-python/default.nix @@ -3,15 +3,16 @@ , fetchPypi , requests , mock +, pytestCheckHook }: buildPythonPackage rec { pname = "auth0-python"; - version = "3.9.1"; + version = "3.10.0"; src = fetchPypi { inherit pname version; - sha256 = "c2fdc3ff230638a2776d2b3761e787ca93dc33a26f841504fc260f947256f453"; + sha256 = "e02525fd60d4b1e7e08bdc539b536db635da28ee25cc882412be4296802d0281"; }; propagatedBuildInputs = [ @@ -20,6 +21,17 @@ buildPythonPackage rec { checkInputs = [ mock + pytestCheckHook + ]; + + pytestFlagsArray = [ + # jwt package is not available in nixpkgs + "--ignore=auth0/v3/test/authentication/test_token_verifier.py" + ]; + + # tries to ping websites (e.g. google.com) + disabledTests = [ + "can_timeout" ]; meta = with lib; { |