opencv-python icon indicating copy to clipboard operation
opencv-python copied to clipboard

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

Open Stormheg opened this issue 1 month ago • 1 comments

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.

Stormheg avatar Nov 08 '25 13:11 Stormheg

Hi, I would like to work on this issue

Harshit-jain-57 avatar Nov 11 '25 05:11 Harshit-jain-57