From a5d04b89fd5238f0e38ef87de4678e378761d67b Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Sun, 16 May 2021 13:21:14 -0700 Subject: [PATCH] azure-cli: fix build Older version of pyjwt has a test which doesn't fully agree with the new cryptography's output. However, azure-cli-core tests this, so we are relatively safe to disable tests for the pinned pyjwt package. --- pkgs/tools/admin/azure-cli/python-packages.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/admin/azure-cli/python-packages.nix b/pkgs/tools/admin/azure-cli/python-packages.nix index 87580a6e3b9..421aa3da4a4 100644 --- a/pkgs/tools/admin/azure-cli/python-packages.nix +++ b/pkgs/tools/admin/azure-cli/python-packages.nix @@ -457,6 +457,10 @@ let inherit version; sha256 = "15hflax5qkw1v6nssk1r0wkj83jgghskcmn875m3wgvpzdvajncd"; }; + + # new cryptography returns slightly different values than what's expected + # this gets tested in azure-cli-core, so not absolutely necessary to run tests here + doCheck = false; }); knack = super.knack.overridePythonAttrs(oldAttrs: rec {