-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
Describe the bug
Trying to upload pypdfium2 to TestPyPI failed with HTTPError: 400 Bad Request from https://test.pypi.org/legacy/
Digest: sha256:97989de369e12a10abbdf72e5b225ba5dca57ada26e6f606259b116a98ca5eeb
Status: Downloaded newer image for ghcr.io/pypa/gh-action-pypi-publish:release-v1
Checking dist/pypdfium2-5.0.0b1-py3-none-android_21_arm64_v8a.whl: PASSED
Checking dist/pypdfium2-5.0.0b1-py3-none-macosx_10_13_x86_64.whl: PASSED
Checking dist/pypdfium2-5.0.0b1-py3-none-macosx_11_0_arm64.whl: PASSED
Checking
dist/pypdfium2-5.0.0b1-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
: PASSED
Checking
dist/pypdfium2-5.0.0b1-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl: PASSED
Checking
dist/pypdfium2-5.0.0b1-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl: PASSED
Checking
dist/pypdfium2-5.0.0b1-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl: PASSED
Checking dist/pypdfium2-5.0.0b1-py3-none-musllinux_1_1_aarch64.whl: PASSED
Checking dist/pypdfium2-5.0.0b1-py3-none-musllinux_1_1_i686.whl: PASSED
Checking dist/pypdfium2-5.0.0b1-py3-none-musllinux_1_1_x86_64.whl: PASSED
Checking dist/pypdfium2-5.0.0b1-py3-none-win32.whl: PASSED
Checking dist/pypdfium2-5.0.0b1-py3-none-win_amd64.whl: PASSED
Checking dist/pypdfium2-5.0.0b1-py3-none-win_arm64.whl: PASSED
Checking dist/pypdfium2-5.0.0b1.tar.gz: PASSED
Uploading distributions to https://test.pypi.org/legacy/
Uploading pypdfium2-5.0.0b1-py3-none-android_21_arm64_v8a.whl
WARNING Error during upload. Retry with the --verbose option for more details.
ERROR HTTPError: 400 Bad Request from https://test.pypi.org/legacy/
Bad Request
https://github.com/pypdfium2-team/pypdfium2/actions/runs/13120190203/job/36604287202
Expected behavior
Upload should pass, as it did on our previous release with the same workflow.
The workflow file itself has barely changed, however we've added a new platform in the build script (android).
To Reproduce
Run pypdfium2's release workflow. See the link above.
My Platform
GH actions runner (ubuntu-latest)
Additional context
This is our first release to include an android arm64 wheel (cf. PEP 738).
Alphabetically, this is the first file the PyPI publish action attempts to upload.
It is not clear to us whether the failure is specific to the android wheel, or if this was merely coincidence.