opencv / opencv/opencv-python

Release process broken due to use of username/password authentication to PyPI

Open
#1,154 1 comment 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.