Skip to content

PYTHON-5924 Remove TestPyPI upload from release#2932

Merged
blink1073 merged 3 commits into
mongodb:masterfrom
blink1073:PYTHON-5924
Jul 10, 2026
Merged

PYTHON-5924 Remove TestPyPI upload from release#2932
blink1073 merged 3 commits into
mongodb:masterfrom
blink1073:PYTHON-5924

Conversation

@blink1073

@blink1073 blink1073 commented Jul 10, 2026

Copy link
Copy Markdown
Member

PYTHON-5924

Changes in this PR

Removes the TestPyPI upload step from the release workflow, which has started failing due to a PyPI policy change. Adds package metadata validation to the static CI job to help cover the gap.

Test Plan

Verified the new checks pass locally; relying on CI for the workflow changes themselves.

Checklist

Checklist for Author

  • Did you update the changelog (if necessary)?
  • Is there test coverage?
  • Is any followup work tracked in a JIRA ticket? If so, add link(s).

Checklist for Reviewer

  • Does the title of the PR reference a JIRA Ticket?
  • Do you fully understand the implementation? (Would you be comfortable explaining how this code works to someone else?)
  • Is all relevant documentation (README or docstring) updated?

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@blink1073
blink1073 marked this pull request as ready for review July 10, 2026 12:55
@blink1073
blink1073 requested a review from a team as a code owner July 10, 2026 12:55
@blink1073
blink1073 requested review from Copilot and sleepyStick July 10, 2026 12:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 project’s GitHub Actions workflows to remove the TestPyPI publish step (now failing due to external policy changes) and to compensate by adding local package metadata validation checks to CI.

Changes:

  • Remove the “Publish to TestPyPI” step from the release workflow.
  • Add pyproject.toml validation via validate-pyproject.
  • Add package metadata validation via twine check on built distributions in the static CI job.

Reviewed changes

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

File Description
.github/workflows/test-python.yml Adds validate-pyproject and twine check steps to the static CI job to validate packaging inputs/artifacts.
.github/workflows/release-python.yml Removes the TestPyPI publish step while keeping the PyPI publish step intact.

Comment thread .github/workflows/test-python.yml
@blink1073
blink1073 merged commit c1e9937 into mongodb:master Jul 10, 2026
86 of 88 checks passed
@blink1073
blink1073 deleted the PYTHON-5924 branch July 10, 2026 18:34
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.

4 participants