Skip to content

Commit

Permalink
fix: dependency and pipeline fixes (#724)
Browse files Browse the repository at this point in the history
* merge pipeline fixes

* pin down azure-identity < 1.18.0
  • Loading branch information
c-ryan-k authored Nov 13, 2024
1 parent 77c527b commit 533c100
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .azure-devops/templates/evaluate-command-table.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ steps:
source ./venv/bin/activate
git clone --single-branch -b dev https://github.com/Azure/azure-cli.git ../azure-cli
pip install azdev
pip install wheel==0.30.0 setuptools==70.0.0
azdev --version
azdev setup -c ../azure-cli -r ./
AZURE_EXTENSION_DIR=~/.azure/cliextensions
Expand All @@ -30,4 +31,6 @@ steps:
az extension add --source $i -y --debug
done
cp ./linter_exclusions.yml $AZURE_EXTENSION_DIR/azure-iot/
# temp fix for newest azdev v0.1.65
cp .pylintrc pylintrc
azdev linter --include-whl-extensions azure-iot --min-severity medium
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def test_iothub_device_distributed_tracing(self):
result = self.cmd(
self.set_cmd_auth_type(
f"iot hub distributed-tracing update "
f"-d {device_ids[0]} -n {self.host_name} -g { self.entity_rg} --sm on --sr 50",
f"-d {device_ids[0]} -n {self.host_name} -g {self.entity_rg} --sm on --sr 50",
auth_type=auth_phase,
)
).get_output_in_json()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
DEPENDENCIES = [
"azure-core>=1.24.0,<2.0.0",
"azure-mgmt-core>=1.3.0,<2.0.0",
"azure-identity>=1.6.1,<2.0.0",
"azure-identity>=1.6.1,<1.18.0",
"azure-storage-blob>=12.14.0,<13.0.0",
"msrest>=0.6.21",
"msrestazure>=0.6.3,<2.0.0",
Expand Down

0 comments on commit 533c100

Please sign in to comment.