Skip to content

Document PyPI trusted publisher mismatch behind failing pypi-publish job (no code change) - #1230

Draft
hyphaltip with Copilot wants to merge 1 commit into
masterfrom
copilot/fix-pypi-publish-job
Draft

hyphaltip with Copilot wants to merge 1 commit into
masterfrom
copilot/fix-pypi-publish-job

Conversation

Copilot AI commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

The pypi-publish job for the v1.9.0 tag failed at the OIDC token exchange with invalid-publisher. GitHub issued a valid token, but PyPI has no trusted publisher whose claims match it.

This PR contains no file changes. The workflow is configured correctly, and the cause is the PyPI project's publisher settings, which can't be changed from the repo.

Claims PyPI received

  • repository: nextgenusfs/funannotate
  • workflow_ref: .github/workflows/python-publish.yml@refs/tags/v1.9.0
  • environment: pypi

Required action (PyPI, by a project owner)

In the funannotate project, go to Manage → Publishing, and add or correct a GitHub trusted publisher with:

Field Value
Owner nextgenusfs
Repository funannotate
Workflow filename python-publish.yml
Environment pypi

If a publisher already exists, its workflow filename or environment name is probably different. After fixing it, re-run the failed job. It will use the same tag and the same built distributions.

Open question for reviewers

If the PyPI publisher is registered under a different workflow filename or environment, tell me which values. I can then change python-publish.yml to match instead of changing PyPI.

Copilot AI changed the title [WIP] Fix failing GitHub Actions job pypi-publish Document PyPI trusted publisher mismatch behind failing pypi-publish job (no code change) Oct 11, 2026
Copilot AI requested a review from hyphaltip October 11, 2026 21:52
@hyphaltip

Copy link
Copy Markdown
Collaborator

@nextgenusfs take a look - I think we need to do something else to get pypi pkgs pushing

This branch has not been deployed

No deployments
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.

3 participants