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

Username and password were incorrect on default CI.yaml #109

Closed
happy-machine opened this issue Dec 3, 2022 · 1 comment
Closed

Username and password were incorrect on default CI.yaml #109

happy-machine opened this issue Dec 3, 2022 · 1 comment

Comments

@happy-machine
Copy link

happy-machine commented Dec 3, 2022

Hi, you closed this but I did indeed try using PYPY_API_TOKEN secret value to set MATURIN_PYPI_TOKEN env variable

I've tried with two different pypy accounts and with one of them I even tried setting the token value to the env variable without using a secret.. (as below) this isn't working in Maturin 0.14

Hi

Im just using the autogenerated CI.yaml

I added my pypyp API token to the Action secrets space as MATURIN_PYPI_TOKEN

Have also tried:

  - name: Publish to PyPI
    uses: messense/maturin-action@v1
    env:
      MATURIN_USERNAME: my_username
      MATURIN_PASSWORD: my_password
    with:
      command: upload
      args: --skip-existing *

I get the following error:

2022-12-02T13:22:59.6828501Z [command]/home/runner/work/_temp/d3a970aa-691e-42ba-be92-302145e91c5f/maturin upload --skip-existing /home/runner/work/FastQL/FastQL/fastql-0.1.0-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl /home/runner/work/FastQL/FastQL/fastql-0.1.0-cp310-none-win_amd64.whl /home/runner/work/FastQL/FastQL/fastql-0.1.0-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl /home/runner/work/FastQL/FastQL/fastql-0.1.0-cp311-none-win_amd64.whl /home/runner/work/FastQL/FastQL/fastql-0.1.0-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl /home/runner/work/FastQL/FastQL/fastql-0.1.0-cp37-none-win_amd64.whl /home/runner/work/FastQL/FastQL/fastql-0.1.0-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl /home/runner/work/FastQL/FastQL/fastql-0.1.0-cp38-none-win_amd64.whl /home/runner/work/FastQL/FastQL/fastql-0.1.0-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl /home/runner/work/FastQL/FastQL/fastql-0.1.0-cp39-none-win_amd64.whl
2022-12-02T13:22:59.6860026Z 🚀 Uploading 10 packages
2022-12-02T13:23:00.4949066Z ⛔ Username and/or password are wrong
2022-12-02T13:23:00.4976272Z 💥 maturin failed
2022-12-02T13:23:00.4976880Z   Caused by: Username and/or password are wrong
2022-12-02T13:23:00.5014062Z Error: The process '/home/runner/work/_temp/d3a970aa-691e-42ba-be92-302145e91c5f/maturin' failed with exit code 1
2022-12-02T13:23:00.5035140Z ##[error]The process '/home/runner/work/_temp/d3a970aa-691e-42ba-be92-302145e91c5f/maturin' failed with exit code 1
2022-12-02T13:23:00.5036757Z     at ExecState._setResult (/home/runner/work/_actions/messense/maturin-action/v1/dist/index.js:1702:25)
2022-12-02T13:23:00.5037520Z     at ExecState.CheckComplete (/home/runner/work/_actions/messense/maturin-action/v1/dist/index.js:1685:18)
2022-12-02T13:23:00.5038359Z     at ChildProcess.<anonymous> (/home/runner/work/_actions/messense/maturin-action/v1/dist/index.js:1579:27)
2022-12-02T13:23:00.5038814Z     at ChildProcess.emit (node:events:390:28)
2022-12-02T13:23:00.5039543Z     at maybeClose (node:internal/child_process:1064:16)
2022-12-02T13:23:00.5039885Z     at Socket.<anonymous> (node:internal/child_process:450:11)
2022-12-02T13:23:00.5040485Z     at Socket.emit (node:events:390:28)
2022-12-02T13:23:00.5040755Z     at Pipe.<anonymous> (node:net:687:12)
2022-12-02T13:23:00.5204636Z Cleaning up orphan processes
@messense
Copy link
Member

messense commented Dec 3, 2022

PyO3/maturin#1322 (comment)

Please don’t keep opening the same issue again and again, you can always reopen the previous issue with a comment explaining the reason for reopening with more information.

@messense messense closed this as not planned Won't fix, can't repro, duplicate, stale Dec 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants