上传到 Pypi 失败“400 Start filename for package”

问题描述

在 2021 年 3 月 11 日(4 天前),我能够使用 twine upload dist/* 将我的包发布到 pypi.org:

Uploading distributions to https://upload.pypi.org/legacy/
Uploading hestia_earth.schema-2.11.0-py3-none-any.whl
100%|██████████| 20.9k/20.9k [00:01<00:00,18.0kB/s]
Uploading hestia_earth.schema-2.11.0.tar.gz
100%|██████████| 9.32k/9.32k [00:00<00:00,10.0kB/s]
View at:
https://pypi.org/project/hestia-earth.schema/2.11.0/

今天尝试使用相同命令发布新版本时:

Uploading distributions to https://upload.pypi.org/legacy/
Uploading hestia_earth.schema-2.12.0-py3-none-any.whl
100%|██████████| 20.9k/20.9k [00:00<00:00,31.9kB/s]
NOTE: Try --verbose to see response content.
HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Start filename for 'hestia-earth-schema' with 'hestia-earth-schema'.

此后没有任何更改,为什么我不能发布新版本?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)