Release process broken due to use of username/password authentication to PyPI
Open
@asmorkalov is already working on this.
Since Nov 20, 2025.
- Dominant language
- Python
- Stars
- 5.4k
- Forks
- 1k
- Avg merge
- 22h 17m
- Merged PRs (30d)
- 3
Description
The rolling release automation for uploading new wheels to PyPI is failing due to its use of username/password authentication https://github.com/opencv/opencv-python/actions/runs/19187226321/job/54856865396
ERROR HTTPError: 403 Forbidden from https://upload.pypi.org/legacy/
Username/Password authentication is no longer supported. Migrate to API
Tokens or Trusted Publishers instead. See
https://pypi.org/help/#apitoken and
https://pypi.org/help/#trusted-publishers
The recommended way of releasing from GitHub to PyPI nowadays is to use Trusted Publishing. Using a Trusted Publisher also automatically opts you in to Digital Attestations, which is beneficial for security.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.