Skip to content
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

maturin publish always "Username and/or password are wrong" #999

Closed
1 of 2 tasks
RiotGamesU opened this issue Jul 6, 2022 · 3 comments · Fixed by #1323
Closed
1 of 2 tasks

maturin publish always "Username and/or password are wrong" #999

RiotGamesU opened this issue Jul 6, 2022 · 3 comments · Fixed by #1323
Labels
bug Something isn't working

Comments

@RiotGamesU
Copy link

Bug Description

(.env) root@instance:~/a# maturin publish -u aaaa -p aaaaaaaa
🔗 Found bin bindings
    Finished release [optimized] target(s) in 0.12s
📦 Built wheel to /root/a/target/wheels/a-0.1.8-py3-none-manylinux_2_28_aarch64.whl
🚀 Uploading 1 packages
⛔ Username and/or password are wrong
💥 maturin failed
  Caused by: Username and/or password are wrong
(.env) root@instance:~/a# 

always

pypi.org "Security history":

Login failed - Basic Auth (Upload endpoint)
Reason: Incorrect Password

Your Python version (python -V)

Python 3.8.10

Your pip version (pip -V)

pip 20.0.2 from /root/a/.env/lib/python3.8/site-packages/pip (python 3.8)

What bindings you're using

pyo3

Does cargo build work?

  • Yes, it works

If on windows, have you checked that you aren't accidentally using unix path (those with the forward slash /)?

  • Yes

Steps to Reproduce

maturin publish -u aaaa -p aaaaaaaa

tried use "Api Token":

maturin publish -u __token__ -p pypi-xxxx
@RiotGamesU
Copy link
Author

After testing, the duplicate package name will report the above error, I do not know why this, maturin and pypi.org will show a password error

@messense
Copy link
Member

messense commented Jul 7, 2022

You can open an issue in https://github.com/pypi/warehouse/issues since the error message is from pypi.

@nednoodlehead
Copy link

This problem seems to be solved for the most part.
I create a new account (used a very different password)
Tried to publish, 502 error.
Tried to publish again, success

I wont gaslight myself into thinking I typed my password in wrong. This isn't my first day on Earth. I was typing it in right.
However, trying:
import pungedataclean as dc
after pip installing it gives a module not found though

@messense messense linked a pull request Dec 3, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants