You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Problem description
It did the following steps (on MacOS):
Activating 2FA on Pypi and created a token.
Checking the
.pypirc
file in the home directory.Checking that pypi finds the file.
Deletign the pypi entry from my keyring.
Clearing the Python cache.
When doing:
twine upload dist/* --verbose
I still get the error:
What should I do?
Additional information:
Python 3.10.11
twine version 3.6.0 (importlib_metadata: 4.8.2, pkginfo: 1.8.1, requests: 2.28.2, requests-toolbelt: 0.9.1, tqdm: 4.51.0)
The text was updated successfully, but these errors were encountered: