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

PyPi upload fails with "Could not find username for upload." #93

Open
meliache opened this issue Apr 27, 2021 · 2 comments
Open

PyPi upload fails with "Could not find username for upload." #93

meliache opened this issue Apr 27, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@meliache
Copy link
Collaborator

See https://github.com/nils-braun/b2luigi/runs/2448812114?check_suite_focus=true

I wonder if we can somehow test this easily without doing commits to the workflows. Until this is fixed, I'll publish manually again.

@meliache meliache added the bug Something isn't working label Apr 27, 2021
@nils-braun
Copy link
Owner

For testing, there is also the test instance of pipy. Maybe that is something you can try use.
In principle, you can also run github actions locally, but honestly, I never had luck with that...

@meliache meliache changed the title PyPi uploa fails with "Could not find username for upload." PyPi upload fails with "Could not find username for upload." Apr 27, 2021
@meliache
Copy link
Collaborator Author

Hey Nils. Tbh. I haven't spent any time yet on trying to fix this, just made the issue so that I can remember this later. I assume it has to do with the secrets in the workflow

          TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
          TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}

I don't have access rights to the repository settings so I can't check them there. According to the github docs collaborators should be able to do that via the rest API, but for that I need an access token which I think I don't have.

Btw, I can understand github not wanting us to abuse actions due to the recent rise of people CI systems for bitcoin mining etc.

@meliache meliache pinned this issue Oct 20, 2021
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

No branches or pull requests

2 participants