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

Packages uploaded multiple times #200

Closed
davidbrochart opened this issue Nov 3, 2021 · 5 comments · Fixed by #201
Closed

Packages uploaded multiple times #200

davidbrochart opened this issue Nov 3, 2021 · 5 comments · Fixed by #201
Labels
bug Something isn't working

Comments

@davidbrochart
Copy link
Contributor

I just updated my fork of jupyter_releaser to the latest, and trying to release jupyverse fails. It looks like it's uploading the packages again and again. For instance, fps-auth was uploaded several times, and I can see that the version is there on PyPI, but then we get a 403.
I'm not sure why it is uploaded several times, any idea?

@davidbrochart davidbrochart added the bug Something isn't working label Nov 3, 2021
@welcome
Copy link

welcome bot commented Nov 3, 2021

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@jtpio
Copy link
Member

jtpio commented Nov 3, 2021

Thanks @davidbrochart for reporting.

Would you be able to try on a older fork prior to the 0.9 releases? Also this might just affect the Python monorepo setup as other releases with only one Python package at the top-level seem to be going through.

@davidbrochart
Copy link
Contributor Author

I tried with a my fork of jupyter_releaser just after #176 was merged, which used to work fine, and I still get the issue:
https://github.com/davidbrochart/jupyter_releaser/runs/4103406579?check_suite_focus=true
It is not a credential issue because the packages are uploaded to PyPI, so I'm not sure what is going on.

@blink1073
Copy link
Contributor

You're still using the v1 tags of the actions in that build. My guess is that the publish function is being called once per package name, and then also trying to publish all of the packages each time.

@davidbrochart
Copy link
Contributor Author

Ah, somehow I thought that because I'm running the actions from my fork of jupyter_releaser, it was directly linked to the code in this fork, but IIUC it only uses the actions in my fork and actually runs code from jupyter-server/jupyter_releaser:
https://github.com/davidbrochart/jupyter_releaser/blob/5b177428d9aed4903110327848c88be40fa64afa/.github/actions/publish-release/action.yml#L34-L35

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