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/libvcs/settings/publishing/
  2. Add publisher with:
    • Owner: vcs-python
    • Repository: libvcs
    • 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 53.22%. Comparing base (3fd8380) to head (631ef8f).
⚠️ Report is 3 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #499   +/-   ##
=======================================
  Coverage   53.22%   53.22%           
=======================================
  Files          38       38           
  Lines        5676     5676           
  Branches     1063     1063           
=======================================
  Hits         3021     3021           
  Misses       2144     2144           
  Partials      511      511           

☔ 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 January 24, 2026 13:36
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 5a2e65d to 631ef8f Compare January 24, 2026 19:36
@tony tony merged commit f40f30a into master Jan 24, 2026
8 checks passed
@tony tony deleted the trusted-publisher branch January 24, 2026 19:38
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