Skip to content

Conversation

@wangzelin007
Copy link
Member

@wangzelin007 wangzelin007 commented Oct 27, 2025

  • Update HISTORY.rst with 0.2.8 release notes.
  • Bump azdev.__init__.__VERSION__ to 0.2.8.
  • Pin pip to 25.2 in setup to avoid breakage from pip 25.3 removing legacy setup.py develop editable support.

❗ Root Cause
pip 25.3 removed support for the legacy setup.py develop editable method in setuptools installs. Editable installs now require PEP 517/660 and setuptools >= 64.
Reference: #11457
This change breaks tools like azdev setup that rely on the old mechanism, causing errors such as:
/mnt/vss/_work/1/s/env/bin/python: No module named azure.cli.__main__; 'azure.cli' is a package and cannot be directly executed

✅ Temporary Fix
Pin pip to 25.2 (or lower) to restore legacy editable behavior:
python -m pip install --upgrade pip==25.2
image
image

📝Long-Term Solution
Migrate to PEP 660 editable installs:

Related command

Description


This checklist is used to make sure that common guidelines for a pull request are followed.

  • pylint azdev --rcfile=.pylintrc -r n

  • flake8 --statistics --append-config=.flake8 azdev

- Update HISTORY.rst with 0.2.8 release notes.
- Bump azdev.__init__.__VERSION__ to 0.2.8.
- Pin pip to 25.2 in setup to avoid breakage from pip 25.3 removing legacy setup.py develop editable support.
@wangzelin007 wangzelin007 merged commit 363af3b into Azure:dev Oct 27, 2025
26 checks passed
bebound added a commit that referenced this pull request Oct 30, 2025
* Bump version to 0.2.8 and pin pip to 25.2

- Update HISTORY.rst with 0.2.8 release notes.
- Bump azdev.__init__.__VERSION__ to 0.2.8.
- Pin pip to 25.2 in setup to avoid breakage from pip 25.3 removing legacy setup.py develop editable support.

* minor fix

* minor fix
# Conflicts:
#	HISTORY.rst
#	azdev/__init__.py
bebound added a commit that referenced this pull request Oct 30, 2025
bebound added a commit that referenced this pull request Nov 18, 2025
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.

2 participants