PyPI 错误"Upload failed (400): summary: Multiple lines are not allowed"是什么意思?



我刚刚尝试将新版本的软件包上传到 PyPI,但收到此错误:

$ python setup.py sdist bdist_wheel upload...编写 pip2pi-0.7.0/设置.cfg创建焦油存档删除"pip2pi-0.7.0"(及其下的所有内容(运行上传提交/Users/wolever/code/pip2pi/dist/pip2pi-0.7.0-py2.py3-none-any.whl to https://upload.pypi.org/legacy/上传失败 (400(:摘要:不允许多行。错误:上传失败 (400(:摘要:不允许多行。

什么意思?我该如何解决它?

此软件包的先前版本已上传,没有问题。

我尝试上传的代码:https://github.com/wolever/pip2pi/tree/a026f05a265a6f8c7fb7a5c4cf6484b9ede77761

一定在

某个时候对 PyPI 进行了更改,不允许多行描述。删除setup.py description="…"字段中的换行符解决了以下问题:https://github.com/wolever/pip2pi/commit/6f24cec93344fdc133e97ead5f81224e7eb4a249

相关内容

最新更新