Skip to content

{CI} Bump azdev pin to 0.2.12 for editable installs with --no-build-isolation#33648

Merged
aryasadeghi1 merged 1 commit into
Azure:devfrom
aryasadeghi1:bump-azdev-pin-644d296
Jun 25, 2026
Merged

{CI} Bump azdev pin to 0.2.12 for editable installs with --no-build-isolation#33648
aryasadeghi1 merged 1 commit into
Azure:devfrom
aryasadeghi1:bump-azdev-pin-644d296

Conversation

@aryasadeghi1

Copy link
Copy Markdown
Member

Description

The Codegen Coverage job has been failing since we unpinned wheel/setuptools. With setuptools 80, azdev extension add "*" builds each extension in an isolated PEP 517 environment, so extensions whose setup.py imports azure at build time (e.g. confcom) fail with ModuleNotFoundError: No module named 'azure'.

azure-cli-dev-tools 0.2.12 adds --no-build-isolation to azdev's editable installs, so the build runs against the environment where azure-cli-core is already installed. This bumps the pin from 0.2.11b1 (49390f3) to 0.2.12 (644d296).

Testing

Installed azdev from the pinned commit and reproduced the pipeline steps locally:

  • azdev setup -c azure-cli -r azure-cli-extensions, all CLI packages install editable.
  • azdev extension add confcom, succeeds on setuptools 79.x (previously failed with the isolated-build error).

azure-cli-extensions already pins the same commit. Once azdev 0.2.11/12 is published to PyPI the pin can switch to azdev==0.2.11/12.

Copilot AI review requested due to automatic review settings June 25, 2026 03:09
@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Jun 25, 2026

Copy link
Copy Markdown
️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.14
️✔️acs
️✔️latest
️✔️3.12
️✔️3.14
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.14
️✔️ams
️✔️latest
️✔️3.12
️✔️3.14
️✔️apim
️✔️latest
️✔️3.12
️✔️3.14
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.14
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️aro
️✔️latest
️✔️3.12
️✔️3.14
️✔️backup
️✔️latest
️✔️3.12
️✔️3.14
️✔️batch
️✔️latest
️✔️3.12
️✔️3.14
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.14
️✔️billing
️✔️latest
️✔️3.12
️✔️3.14
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.14
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.14
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.14
️✔️config
️✔️latest
️✔️3.12
️✔️3.14
️✔️configure
️✔️latest
️✔️3.12
️✔️3.14
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.14
️✔️container
️✔️latest
️✔️3.12
️✔️3.14
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.14
️✔️core
️✔️latest
️✔️3.12
️✔️3.14
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.14
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.14
️✔️dls
️✔️latest
️✔️3.12
️✔️3.14
️✔️dms
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.14
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.14
️✔️find
️✔️latest
️✔️3.12
️✔️3.14
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.14
️✔️identity
️✔️latest
️✔️3.12
️✔️3.14
️✔️iot
️✔️latest
️✔️3.12
️✔️3.14
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.14
️✔️lab
️✔️latest
️✔️3.12
️✔️3.14
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️maps
️✔️latest
️✔️3.12
️✔️3.14
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.14
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.14
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.14
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.14
️✔️network
️✔️latest
️✔️3.12
️✔️3.14
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.14
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.14
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.14
️✔️profile
️✔️latest
️✔️3.12
️✔️3.14
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.14
️✔️redis
️✔️latest
️✔️3.12
️✔️3.14
️✔️relay
️✔️latest
️✔️3.12
️✔️3.14
️✔️resource
️✔️latest
️✔️3.12
️✔️3.14
️✔️role
️✔️latest
️✔️3.12
️✔️3.14
️✔️search
️✔️latest
️✔️3.12
️✔️3.14
️✔️security
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.14
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.14
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.14
️✔️sql
️✔️latest
️✔️3.12
️✔️3.14
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.14
️✔️storage
️✔️latest
️✔️3.12
️✔️3.14
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.14
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.14
️✔️util
️✔️latest
️✔️3.12
️✔️3.14
️✔️vm
️✔️latest
️✔️3.12
️✔️3.14

@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi @aryasadeghi1,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@aryasadeghi1 aryasadeghi1 self-assigned this Jun 25, 2026
@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Jun 25, 2026

Copy link
Copy Markdown
️✔️AzureCLI-BreakingChangeTest
️✔️Non Breaking Changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the CI azdev setup pipeline template to pin azdev to a newer azure-cli-dev-tools commit (0.2.12) so editable installs use --no-build-isolation, avoiding extension build failures under newer setuptools behavior.

Changes:

  • Bump the azdev git pin from the 0.2.11b1 commit to the 0.2.12 commit.
  • Update inline CI comments to document why the newer pin is needed (notably --no-build-isolation for editable installs).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

# against the environment instead of an isolated PEP 517 env under
# setuptools>=79. It is not on PyPI yet; switch this to
# `pip install --upgrade "azdev==0.2.12"` once published to PyPI.
pip install --upgrade "git+https://github.com/Azure/azure-cli-dev-tools.git@644d296d9ca9b322b438d5ca21141b247258d0e5#egg=azdev"
@yonzhan

yonzhan commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

CI

@aryasadeghi1 aryasadeghi1 requested a review from necusjz June 25, 2026 03:46
@necusjz

necusjz commented Jun 25, 2026

Copy link
Copy Markdown
Member

@microsoft-github-policy-service rerun

@notyashhh

Copy link
Copy Markdown
Member

Waiting on this one :)

@aryasadeghi1 aryasadeghi1 merged commit 15f87e2 into Azure:dev Jun 25, 2026
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants