azure-cli: fix build
This commit is contained in:
parent
154951f17c
commit
f31855a339
2 changed files with 5 additions and 2 deletions
|
@ -27,7 +27,9 @@ py.pkgs.toPythonApplication (py.pkgs.buildAzureCliPackage {
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "chardet~=3.0.4" "chardet" \
|
--replace "chardet~=3.0.4" "chardet" \
|
||||||
--replace "javaproperties~=0.5.1" "javaproperties" \
|
--replace "javaproperties~=0.5.1" "javaproperties" \
|
||||||
--replace "scp~=0.13.2" "scp"
|
--replace "scp~=0.13.2" "scp" \
|
||||||
|
--replace "packaging>=20.9,<22.0" "packaging" \
|
||||||
|
--replace "fabric~=2.4" "fabric"
|
||||||
|
|
||||||
# remove namespace hacks
|
# remove namespace hacks
|
||||||
# remove urllib3 because it was added as 'urllib3[secure]', which doesn't get handled well
|
# remove urllib3 because it was added as 'urllib3[secure]', which doesn't get handled well
|
||||||
|
|
|
@ -62,7 +62,8 @@ let
|
||||||
substituteInPlace setup.py \
|
substituteInPlace setup.py \
|
||||||
--replace "requests[socks]~=2.25.1" "requests[socks]~=2.25" \
|
--replace "requests[socks]~=2.25.1" "requests[socks]~=2.25" \
|
||||||
--replace "cryptography>=3.2,<3.4" "cryptography" \
|
--replace "cryptography>=3.2,<3.4" "cryptography" \
|
||||||
--replace "msal-extensions>=0.3.1,<0.4" "msal-extensions"
|
--replace "msal-extensions>=0.3.1,<0.4" "msal-extensions" \
|
||||||
|
--replace "packaging>=20.9,<22.0" "packaging"
|
||||||
'';
|
'';
|
||||||
nativeCheckInputs = with self; [ pytest ];
|
nativeCheckInputs = with self; [ pytest ];
|
||||||
doCheck = stdenv.isLinux;
|
doCheck = stdenv.isLinux;
|
||||||
|
|
Loading…
Reference in a new issue