Skip to content

Enforce Conda pyproject.toml metadata in verifywhl#45012

Merged
JennyPng merged 14 commits intoAzure:mainfrom
JennyPng:enforce-pyproject
Feb 19, 2026
Merged

Enforce Conda pyproject.toml metadata in verifywhl#45012
JennyPng merged 14 commits intoAzure:mainfrom
JennyPng:enforce-pyproject

Conversation

@JennyPng
Copy link
Member

@JennyPng JennyPng commented Feb 4, 2026

closes #44883

  • (data plane) packages with stable releases are required to have a Conda tool section in their pyproject.toml to specify if packages are to be released individually or as part of a bundle
  • existing stable packages have already been batch updated
  • going forward, service teams should be responsible for specifying this information
  • also adds tests (and switches tests to test azpysdk verify_whl instead of tox verify_whl)

example pipeline:

@JennyPng JennyPng marked this pull request as ready for review February 4, 2026 23:44
Copilot AI review requested due to automatic review settings February 4, 2026 23:44
Copy link
Contributor

Copilot AI left a 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 pull request enforces that Python packages with stable releases on PyPI must include a [tool.azure-sdk-conda] section in their pyproject.toml file. This automation supports the Conda release process by ensuring service teams specify whether packages should be released individually or bundled.

Changes:

  • Adds validation to check for Conda metadata in packages with stable PyPI versions
  • Fixes logging calls to use the correct logger instance
  • Removes unused import statement

@JennyPng JennyPng marked this pull request as draft February 5, 2026 00:01
@JennyPng JennyPng changed the title Enforce Conda pyproject.toml metadata in CI Enforce Conda pyproject.toml metadata in verifywhl Feb 12, 2026
@JennyPng JennyPng marked this pull request as ready for review February 12, 2026 19:07
@JennyPng JennyPng requested a review from Copilot February 12, 2026 19:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

@JennyPng JennyPng requested a review from kashifkhan February 12, 2026 19:18
@JennyPng JennyPng self-assigned this Feb 14, 2026
@JennyPng JennyPng enabled auto-merge (squash) February 19, 2026 00:00
@JennyPng
Copy link
Member Author

/check-enforcer override

@JennyPng JennyPng merged commit 1ef2e32 into Azure:main Feb 19, 2026
36 of 37 checks passed
@JennyPng JennyPng deleted the enforce-pyproject branch February 19, 2026 00:04
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.

enforce in CI that the pyproject section is required

3 participants

Comments