-
Notifications
You must be signed in to change notification settings - Fork 980
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
"Username and/or password are wrong" When entering correct credentials using Maturin #12133
Comments
The issue here is almost certainly with the client:
The client should be able to distinguish between these two responses. |
Solved. Created new account with a different password. I won't gaslight myself into thinking that I typed the password wrong 20+ times. |
How did you solve the issue? I get this error using password or the token: 🚀 Uploading 1 packages
⛔ Username and/or password are wrong
💥 maturin failed
Caused by: Username and/or password are wrong
|
Same problem here |
-Same issue here- Nevermind, had to use |
Same issue here. To be explicit, the solution was: (1) create an API token on PyPI |
PyPI no longer supports uploading with username/password authentication since our mandatory 2FA policy went into effect: https://blog.pypi.org/posts/2023-12-13-2fa-enforcement/ Similar to the original issue, Maturin seems unable to distinguish between the different types of authentication failures PyPI may produce here. |
Describe the bug
Using Maturin (Rust module) to upload to Pypi gives the error: "Username and/or password are wrong", when the credentials are correct. I'm coming from this issue, orignally opened for that Module: PyO3/maturin#999
They are saying the error is from here
Expected behavior
I use the "maturin publish" command to upload to Pypi. It should create the module and upload it or whatever. (It does not do this)
To Reproduce
1). Write rust module, a quick one to copy is: https://github.com/letsgetrusty/word_counter
2). Open in IDE of choice (For me Pycharm)
3). Go into the IDE terminal (accessing powershell in a venv essentially)
4). Type: maturin publish
5). Enter username & password
6). Error:
⛔ Username and/or password are wrong
💥 maturin failed
Caused by: Username and/or password are wrong
My Platform
Additional context
Again, I'm coming from this issue: PyO3/maturin#999 (Closed as completed by maintainer)
(Which I don't see the original poster made a report)
-My account on Pypi is recently made, and DOES have multi-factor auth & email verification
The text was updated successfully, but these errors were encountered: