Skip to content

Maintenance: Migrate to new PyPi Trusted Publishers  #2185

Closed
@heitorlessa

Description

@heitorlessa

Why is this needed?

PyPi just recently added support for "Trusted Publishers" to improve security posture by accepting OIDC tokens emitted from CIs also acting as IdP instead of PyPi tokens.

GitHub Actions natively supports it: https://docs.pypi.org/trusted-publishers/

Which area does this relate to?

Automation

Solution

Add a new trusted publisher in PyPi associating this org+repo+gh env+gh workflow, and updating our release process do ditch PyPi token and use the new process.

image

Acknowledgment

Metadata

Metadata

Assignees

Labels

internalMaintenance changes

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions