Open
Description
The "Upload stubs to PyPi" step when doing a new release is now complaining about a version issue. See this build:
https://github.com/adafruit/circuitpython/actions/runs/15088880323/job/42414925264#step:13:34
Maybe could be due to #10312, but I'm not at all sure.
Run # python -m build was run by 'make stubs'
# python -m build was run by 'make stubs'
[ -z "$TWINE_USERNAME" ] || echo "Uploading dev release to PyPi"
[ -z "$TWINE_USERNAME" ] || twine upload circuitpython-stubs/dist/*
shell: /usr/bin/bash -e {0}
env:
CP_VERSION: [1](https://github.com/adafruit/circuitpython/actions/runs/15088880323/job/42414925264#step:13:1)0.0.0-alpha.6
pythonLocation: /opt/hostedtoolcache/Python/3.13.3/x64
PKG_CONFIG_PATH: /opt/hostedtoolcache/Python/3.13.3/x64/lib/pkgconfig
Python_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.3/x64
Python[2](https://github.com/adafruit/circuitpython/actions/runs/15088880323/job/42414925264#step:13:2)_ROOT_DIR: /opt/hostedtoolcache/Python/3.1[3](https://github.com/adafruit/circuitpython/actions/runs/15088880323/job/42414925264#step:13:3).3/x64
Python3_ROOT_DIR: /opt/hostedtoolcache/Python/3.13.3/x6[4](https://github.com/adafruit/circuitpython/actions/runs/15088880323/job/42414925264#step:13:4)
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.13.3/x64/lib
TWINE_USERNAME: ***
TWINE_PASSWORD: ***
Uploading dev release to PyPi
Uploading distributions to https://upload.pypi.org/legacy/
Uploading
circuitpython_stubs-10.0.0a7.dev0+gd88fe10647.d202[5](https://github.com/adafruit/circuitpython/actions/runs/15088880323/job/42414925264#step:13:5)0517-py3-none-any.whl
25l
0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/1.0 MB • --:-- • ?
19% ━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.2/1.0 MB • 00:01 • 8.2 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB • 00:00 • 12.3 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB • 00:00 • 12.3 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB • 00:00 • 12.3 MB/s
25hWARNING Error during upload. Retry with the --verbose option for more details.
ERROR HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
The use of local versions in
<Version('10.0.0a7.dev0+gd88fe10[6](https://github.com/adafruit/circuitpython/actions/runs/15088880323/job/42414925264#step:13:6)47.d2025051[7](https://github.com/adafruit/circuitpython/actions/runs/15088880323/job/42414925264#step:13:7)')> is not allowed. See
https://packaging.python.org/specifications/core-metadata for more
information.
Error: Process completed with exit code 1.