-
Notifications
You must be signed in to change notification settings - Fork 35
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
Trouble with the packaging tutorial #841
Comments
When |
Did you create an account and API token on Test PyPI? I don’t understand points 1 and 2, as we see the input request in your log, unless I misread it. Maybe you can give more info, or look for a known problem in the twine repo. |
Yes, I was able to successfully upload this package once using a
the I don't expect the
Will take a look thanks! |
The guide seems to not have been updated for Publishing to PyPI since PyPI started requiring tokens and twine stopped prompting for a username. So following the guide literally one might enter the string |
But even when I paste in the token to the username field, I get a failure :( |
Are you calling this the username field? And what do you mean "doesn't work"? You don't see the value on your terminal? |
I don't know what happened, but it's working now. I suspect a combination of the out of date guide and the way that it was pasted was incorrect. Will make a PR to make it clearer. |
OS version
Ubuntu
Python version
Python 3.12.0
Pip version
pip 24.3.1
Guide link
https://packaging.python.org/tutorials/packaging-projects
Problem description
The guide says to type in
__token__
and enter the api key as the password, however:__token__
doesn't appear on the command lineError message
The text was updated successfully, but these errors were encountered: