-
Notifications
You must be signed in to change notification settings - Fork 3.3k
{Packaging} Bump semver to 3.0.4
#31523
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
️✔️AzureCLI-FullTest
|
|
Hi @jiasli, |
️✔️AzureCLI-BreakingChangeTest
|
|
Thank you for your contribution! We will review the pull request and get back to you soon. |
|
The git hooks are available for azure-cli and azure-cli-extensions repos. They could help you run required checks before creating the PR. Please sync the latest code with latest dev branch (for azure-cli) or main branch (for azure-cli-extensions). pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>
|
There was a problem hiding this comment.
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 semver dependency across the project to move from version 2.13.0 to 3.0.4, removing the strict pin in setup.py and pinning 3.0.4 in all platform-specific requirement files.
- Removed exact
semver==2.13.0pin insetup.py - Updated
requirements.py3.*.txton Windows, Linux, and Darwin tosemver==3.0.4
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/azure-cli/setup.py | Removed strict semver version pin |
| src/azure-cli/requirements.py3.windows.txt | Bumped semver pin to 3.0.4 |
| src/azure-cli/requirements.py3.Linux.txt | Bumped semver pin to 3.0.4 |
| src/azure-cli/requirements.py3.Darwin.txt | Bumped semver pin to 3.0.4 |
Comments suppressed due to low confidence (1)
src/azure-cli/requirements.py3.windows.txt:127
- [nitpick] Given the major-version bump of semver, add or update tests that exercise any semver-based logic to verify compatibility with version 3.0.4.
semver==3.0.4
src/azure-cli/setup.py
Outdated
| 'PyNaCl~=1.5.0', | ||
| 'scp~=0.13.2', | ||
| 'semver==2.13.0', | ||
| 'semver', |
Copilot
AI
May 21, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specify a version constraint for semver in setup.py (e.g., 'semver>=3.0.4,<4.0') to avoid pulling in unintended future major or breaking releases.
| 'semver', | |
| 'semver>=3.0.0,<4.0.0', |
Description
Close #31519
semverwas pinned to2.13.0by #16857.2.13.0was released 5 years ago.