Skip to content

Conversation

@tony
Copy link
Member

@tony tony commented Dec 7, 2025

Summary

  • Migrate PyPI publishing from API token to OIDC-based Trusted Publisher
  • Enable package attestations for supply chain security
  • Fix deprecated skip_existing parameter

Setup Required

Before merging, configure the trusted publisher on PyPI:

  1. Visit: https://pypi.org/manage/project/tmuxp/settings/publishing/
  2. Add publisher with:
    • Owner: tmux-python
    • Repository: tmuxp
    • Workflow: tests.yml

@codecov
Copy link

codecov bot commented Dec 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 72.97%. Comparing base (d581e7d) to head (e433b06).
⚠️ Report is 8 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1000   +/-   ##
=======================================
  Coverage   72.97%   72.97%           
=======================================
  Files          26       26           
  Lines        1839     1839           
  Branches      347      347           
=======================================
  Hits         1342     1342           
  Misses        394      394           
  Partials      103      103           

☔ 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.

tony added 2 commits December 7, 2025 16:32
why: Improve security by eliminating stored API tokens and enable package attestations
what:
- Add OIDC permissions (id-token, attestations) to release job
- Remove user/password authentication in favor of trusted publishing
- Enable attestations for supply chain security
- Fix deprecated skip_existing to skip-existing
@tony tony force-pushed the trusted-publisher branch from 2a15ff9 to e433b06 Compare December 7, 2025 22:32
@tony tony merged commit 0c2811f into master Dec 7, 2025
14 checks passed
@tony tony deleted the trusted-publisher branch December 7, 2025 22: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.

2 participants