Skip to content

[PACKAGING] Fix: Use PEP 440 compliant version specifier for azure-cli-telemetry#31941

Open
janjagusch wants to merge 1 commit intoAzure:devfrom
janjagusch:fix-version-specifier
Open

[PACKAGING] Fix: Use PEP 440 compliant version specifier for azure-cli-telemetry#31941
janjagusch wants to merge 1 commit intoAzure:devfrom
janjagusch:fix-version-specifier

Conversation

@janjagusch
Copy link
Copy Markdown

Related command

Description

This PR changes the version specifier for azure-cli-telemetry. Previously, it used the ==X.Y.Z.* schema, which is a discouraged edge case of PEP 440.

  • Find the PEP here.
  • Find the discussion on the edge case here

To quote one of the PEP's authors (see here):

I don’t think myself or Nick considered at all the idea of something like ==1.1.0.post0.* for the PEP to have a thought one way or the other. I think that disallowing them makes the most sense though.

This PR replaces the version specifier with >=X.Y.Z,<X.Y.Z+1.

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


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

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Validation for Azure CLI Full Test Starting...

Thanks for your contribution!

@azure-client-tools-bot-prd
Copy link
Copy Markdown

Validation for Breaking Change Starting...

Thanks for your contribution!

@yonzhan
Copy link
Copy Markdown
Collaborator

yonzhan commented Aug 13, 2025

Thank you for your contribution! We will review the pull request and get back to you soon.

@github-actions
Copy link
Copy Markdown

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).
After that please run the following commands to enable git hooks:

pip install azdev --upgrade
azdev setup -c <your azure-cli repo path> -r <your azure-cli-extensions repo path>

@microsoft-github-policy-service microsoft-github-policy-service bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Aug 13, 2025
@microsoft-github-policy-service
Copy link
Copy Markdown
Contributor

Thank you for your contribution @janjagusch! We will review the pull request and get back to you soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

act-platform-engineering-squad Auto-Assign Auto assign by bot customer-reported Issues that are reported by GitHub users external to the Azure organization. Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants