diff options
author | Artturin <Artturin@artturin.com> | 2021-06-29 01:46:59 +0300 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2021-06-29 19:56:45 -0700 |
commit | 0d8cbf704cace86734d93d2b49a821e05b1d8bde (patch) | |
tree | 7334b0c847ce2ee4616b792f7033c0fecd4c773a /pkgs/tools/admin | |
parent | 95df9607b5915b4e200cc14da20ae7bb9129b14b (diff) |
azure-cli: replace portalocker version for azure-cli-telemetry
Diffstat (limited to 'pkgs/tools/admin')
-rw-r--r-- | pkgs/tools/admin/azure-cli/python-packages.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/tools/admin/azure-cli/python-packages.nix b/pkgs/tools/admin/azure-cli/python-packages.nix index 228fb4503cf61..64823278d6da0 100644 --- a/pkgs/tools/admin/azure-cli/python-packages.nix +++ b/pkgs/tools/admin/azure-cli/python-packages.nix @@ -6,7 +6,7 @@ let prePatch = (attrs.prePatch or "") + '' rm -f azure_bdist_wheel.py tox.ini substituteInPlace setup.py \ - --replace "cryptography>=2.3.1,<3.0.0" "cryptography" + --replace "cryptography>=3.2,<3.4" "cryptography" sed -i "/azure-namespace-package/c\ " setup.cfg ''; @@ -119,6 +119,12 @@ let portalocker ]; + # upstream doesn't update this requirement probably because they use pip + postPatch = '' + substituteInPlace setup.py \ + --replace "portalocker~=1.6" "portalocker" + ''; + # ignore flaky test checkPhase = '' cd azure |