Trusted Publishing: start by migrating `pip-tools`
- Dominant language
- No language data
- Stars
- 28
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
> [!important]
>
> Now that `pip-tools` is fully set up with TP, here's the lessons learned:
> * In order to migrate other projects, the pip-tools bot on PyPI or Jannis has to get an Owner-level privilege on each project. Only owners can add trusted publishers on the PyPI side.
> * When setting up GitHub environments in the repository settings, the self-review checkbox **MUST NOT** be selected as it would actively prevent leads from approving releases they triggered. This would make it unusable in projects with a single active lead.
There's a release request that nobody really can handle, as there's no lead that is active right now: https://github.com/jazzband/pip-tools/issues/2112.
I've been fixing up the CI to get it to a green state lately, and I remembered talking to @jezdez regarding migrating to Trusted Publishing to eliminate the need to proxy the releases through Jazzband's private index.
I've made a PR with a PoC that roughly keeps the process the same, short of using a private index: https://github.com/jazzband/pip-tools/pull/2149. But in order to go ahead, we should figure out all the configuration bits that aren't available to me.
@jezdez could you take a look and see what's needed to move this forward and perhaps learn how to scale it to other projects.
~P.S. This is not asking to make me lead. Let's hope somebody shows up for the release and focus on things that are actionable.~
Contributor guide
Assessment
This issue has not been assessed yet.