-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flit publish fails, 403 Client Error: Username/Password authentication is no longer supported. #686
Comments
That's curious. I've definitely been able to upload successfully by setting the environment variables I've also done it with tokens saved in keyring - the username should be like I want to make a better story around uploading with tokens, but the way I want to approach it requires an API to create tokens on PyPI, and that doesn't exist (pypi/warehouse#6396 ). |
Would love to do anything I can to help troubleshoot this. Started fresh with a dummy project following the example on the README, and I'm still encountering this error or variations of it. |
Running Pop OS 22.04, Python 3.10.12, Flit 3.9.0.
When running
flit publish
, I get the following output:Flit doesn't ask me for a username and password. I've tried setting them (using
__token__
and my token) using environment variables and a.pypirc
, neither of them work.Using
twine upload dist/*
asked me for my API token and then uploaded correctly.Is there something I'm missing? Otherwise this seems like a serious bug.
The text was updated successfully, but these errors were encountered: