Skip to content

Update to copier template 5.0.2#123

Merged
GDYendell merged 2 commits intomainfrom
copier-update
Feb 10, 2026
Merged

Update to copier template 5.0.2#123
GDYendell merged 2 commits intomainfrom
copier-update

Conversation

@GDYendell
Copy link
Contributor

PyPI publishing is broken currently.

@GDYendell GDYendell requested a review from coretl February 10, 2026 11:10
@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.10%. Comparing base (4286c39) to head (dfb7d05).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #123      +/-   ##
==========================================
+ Coverage   91.92%   95.10%   +3.17%     
==========================================
  Files          35       35              
  Lines        1857     1858       +1     
==========================================
+ Hits         1707     1767      +60     
+ Misses        150       91      -59     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@GDYendell
Copy link
Contributor Author

The PyPI publish still doesn't work with this:

Warning: Potential workflow misconfiguration: 
The claims in this token suggest that the calling workflow is a reusable workflow.

In particular, this action was initiated by:

    DiamondLightSource/tickit-devices/.github/workflows/_pypi.yml@refs/tags/0.4.0b1

Whereas its parent workflow is:

    DiamondLightSource/tickit-devices/.github/workflows/ci.yml@refs/tags/0.4.0b1

Reusable workflows are **not currently supported** by PyPI's Trusted Publishing
functionality, and are subject to breakage. Users are **strongly encouraged**
to avoid using reusable workflows for Trusted Publishing until support
becomes official. Please, do not report bugs if this breaks.

For more information, see:

* https://docs.pypi.org/trusted-publishers/troubleshooting/#reusable-workflows-on-github
* https://github.com/pypa/gh-action-pypi-publish/issues/166 — subscribe to
  this issue to watch the progress and learn when reusable workflows become
  supported officially

Error: Trusted publishing exchange failure: 
Token request failed: the server refused the request for the following reasons:

* `invalid-publisher`: valid token, but no corresponding publisher (Publisher with matching claims was not found)

This generally indicates a trusted publisher configuration error, but could
also indicate an internal error on GitHub or PyPI's part.


The claims rendered below are **for debugging purposes only**. You should **not**
use them to configure a trusted publisher unless they already match your expectations.

If a claim is not present in the claim set, then it is rendered as `MISSING`.

* `sub`: `repo:DiamondLightSource/tickit-devices:environment:release`
* `repository`: `DiamondLightSource/tickit-devices`
* `repository_owner`: `DiamondLightSource`
* `repository_owner_id`: `1233618`
* `workflow_ref`: `DiamondLightSource/tickit-devices/.github/workflows/ci.yml@refs/tags/0.4.0b1`
* `job_workflow_ref`: `DiamondLightSource/tickit-devices/.github/workflows/_pypi.yml@refs/tags/0.4.

Do you know what the problem is @coretl ?

Copy link

@coretl coretl left a comment

Choose a reason for hiding this comment

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

Trusted publisher isn't setup in PyPI, you want me to set it up?

@GDYendell GDYendell merged commit f8e19ad into main Feb 10, 2026
22 of 23 checks passed
@GDYendell GDYendell deleted the copier-update branch February 10, 2026 13:01
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.

2 participants

Comments