fastapi-mqtt icon indicating copy to clipboard operation
fastapi-mqtt copied to clipboard

🚨 Fix GH Action for pypi publish

Open azogue opened this issue 5 months ago • 0 comments

cc @sabuhish

pypi.org has changed their security police 🚨, and using --username ${{ secrets.PYPI_USERNAME }} --password ${{ secrets.PYPI_PASSWORD }} is not valid anymore -> https://github.com/sabuhish/fastapi-mqtt/actions/runs/7396082004/job/20120516144

HTTP Error 403: 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 Access was denied to this resource.

Publish action needs to change, but also the account configuration in pypi.org ⚠️

azogue avatar Jan 03 '24 10:01 azogue