Skip to content

Conversation

@mhucka
Copy link
Contributor

@mhucka mhucka commented Nov 11, 2025

It appears to be possible that the current cryptic HTTP 400 error during upload to test pypi may be due to missing a trailing slash in the URL: apparently it really has to be https://test.pypi.org/legacy/ and not https://test.pypi.org/legacy.

This PR also turns off attestations when sending to test.pypi.org, in case this is another potential source of problems. (Attestations are still turned on for pypi.org.)

It appears to be possible that the current cryptic HTTP 400 error during
upload to test pypi may be due to needing a trailing slash in the URL:
`https://test.pypi.org/legacy/` and not `https://test.pypi.org/legacy`.
@mhucka mhucka marked this pull request as ready for review November 11, 2025 02:23
@mhucka mhucka requested a review from Strilanc November 11, 2025 02:24
It appears to be possible that the current cryptic HTTP 400 error during
upload to test pypi may be due to needing a trailing slash in the URL:
`https://test.pypi.org/legacy/` and not `https://test.pypi.org/legacy`.
@mhucka mhucka added this pull request to the merge queue Nov 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 11, 2025
@mhucka mhucka added this pull request to the merge queue Nov 12, 2025
Merged via the queue into main with commit e79a70f Nov 12, 2025
53 checks passed
@mhucka mhucka deleted the mh-more-upload-tweaks branch November 12, 2025 00:40
@mhucka mhucka restored the mh-more-upload-tweaks branch November 20, 2025 04:27
mhucka added a commit that referenced this pull request Dec 1, 2025
It appears to be possible that the current cryptic HTTP 400 error during
upload to test pypi may be due to missing a trailing slash in the URL:
apparently it really _has_ to be `https://test.pypi.org/legacy/` and not
`https://test.pypi.org/legacy`.

This PR also turns off attestations when sending to test.pypi.org, in
case this is another potential source of problems. (Attestations are
still turned on for pypi.org.)
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

Successfully merging this pull request may close these issues.

2 participants