Migrate azdev and azure-cli-diff-tool to pyproject.toml - #556
Open
aryasadeghi1 wants to merge 2 commits into
Open
Migrate azdev and azure-cli-diff-tool to pyproject.toml#556aryasadeghi1 wants to merge 2 commits into
pyproject.toml#556aryasadeghi1 wants to merge 2 commits into
Conversation
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related issue
Azure/azure-cli-extensions#7740, Phase 3 (modernise packaging to
pyproject.toml).What this does
azure-cli-diff-toolto PEP 621pyproject.tomlwith thesetuptools.build_metabackend. Bothsetup.pyfiles are removed.python -m build;toxvalidates metadata withtwine checkinstead ofsetup.py check -r -s.azdev/utilities/packaging.py, which resolves a package's build configuration from eithersetup.pyorpyproject.toml.setup.pykeeps precedence, and tool-onlypyproject.tomlfiles are not treated as distributions.setuptools<80cap. It guardedsetup.py develop, which azdev stopped calling in 0.2.12. The>=78.1.1floor for CVE-2025-47273 is retained.0.2.14b1.Not included
azdev extension add|list|buildstill hardcodesetup.py, so pyproject-only extensions are not yet supported. That is the next stage and is intentionally out of scope.This checklist is used to make sure that common guidelines for a pull request are followed.
pylint azdev --rcfile=.pylintrc -r nflake8 --statistics --append-config=.flake8 azdev