-
Notifications
You must be signed in to change notification settings - Fork 1k
HTTPError: 400 Bad Request from https://test.pypi.org/legacy/ Bad Request for Github Actions on Test PyPI #16756
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
Comments
Thanks for the issue! Currently trying to debug this in #16755. |
Accidentally closed, I'm not sure we've figured out what the issue is here yet. |
I still can't reproduce this myself but I've merged #16755 which might help, can you retry and see if this is still happening? |
I've encountered this via a github action as well. I just tried re-running the failed action, but getting the same error. I am also using the pypa/gh-action-pypi-publish@release/v1 action. Seeing this on two repositories, one setup to use Trusted Publisher and the other using a token, both using the
Thanks for taking a look at this. The issue seems to only be effecting to our devel (testPyPI) workflow, and only occurs when trying to push a version already uploaded to testPyPI (Hence the |
We've identified the issue, #16759 will fix this once it's merged & deployed. |
I didn't have any version of the package on PyPI but by using the workflow :
The release of the distribution package was successful. (maybe the latest commit come through) So this is either a problem probably coming from test PyPI itself or the update of packages. |
This is maybe a bug but i'm not sure. I've been following the tutorial for automating the push of latest packages on pip from here. I'm trying to do it on Test PyPI for now.
I have the following workflow to release the distribution package on Test PyPI :
I have also followed to add the trusted publishers from the PyPI website so there is no need to specify the API tokens apparently.
The issue arises at Publish package distributions to TestPyPI :
I'd like also to note that my current master is on version 0.1.0 and that the first PyPI test was done successfully by doing the CLIs with a version 0.0.1 so i'm not sure that the version bumping is the problem here.
The github action provides the url link to the release 0.0.1 and not 0.1.0 :
This seems to be related to #16732 but I'm not sure.
The text was updated successfully, but these errors were encountered: