summary refs log tree commit diff
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2021-06-29 01:46:59 +0300
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-06-29 19:56:45 -0700
commit0d8cbf704cace86734d93d2b49a821e05b1d8bde (patch)
tree7334b0c847ce2ee4616b792f7033c0fecd4c773a
parent95df9607b5915b4e200cc14da20ae7bb9129b14b (diff)
downloadnixpkgs-0d8cbf704cace86734d93d2b49a821e05b1d8bde.tar
nixpkgs-0d8cbf704cace86734d93d2b49a821e05b1d8bde.tar.gz
nixpkgs-0d8cbf704cace86734d93d2b49a821e05b1d8bde.tar.bz2
nixpkgs-0d8cbf704cace86734d93d2b49a821e05b1d8bde.tar.lz
nixpkgs-0d8cbf704cace86734d93d2b49a821e05b1d8bde.tar.xz
nixpkgs-0d8cbf704cace86734d93d2b49a821e05b1d8bde.tar.zst
nixpkgs-0d8cbf704cace86734d93d2b49a821e05b1d8bde.zip
azure-cli: replace portalocker version for azure-cli-telemetry
-rw-r--r--pkgs/tools/admin/azure-cli/python-packages.nix8
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 228fb4503cf..64823278d6d 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