PyPI 错误 "Upload failed (400): summary: Multiple lines are not allowed" 是什么意思?
What does PyPI error "Upload failed (400): summary: Multiple lines are not allowed" mean?
我刚刚尝试将新版本的包上传到 PyPI,但出现此错误:
$ python setup.py sdist bdist_wheel upload
…
Writing pip2pi-0.7.0/setup.cfg
Creating tar archive
removing 'pip2pi-0.7.0' (and everything under it)
running upload
Submitting /Users/wolever/code/pip2pi/dist/pip2pi-0.7.0-py2.py3-none-any.whl to https://upload.pypi.org/legacy/
Upload failed (400): summary: Multiple lines are not allowed.
error: Upload failed (400): summary: Multiple lines are not allowed.
这是什么意思?我该如何解决?
此包的先前版本上传没有问题。
我要上传的代码:https://github.com/wolever/pip2pi/tree/a026f05a265a6f8c7fb7a5c4cf6484b9ede77761
PyPI 一定在某个时候进行了更改,不允许多行描述。删除 setup.py
的 description="…"
字段中的换行符修复了问题:https://github.com/wolever/pip2pi/commit/6f24cec93344fdc133e97ead5f81224e7eb4a249
我刚刚尝试将新版本的包上传到 PyPI,但出现此错误:
$ python setup.py sdist bdist_wheel upload … Writing pip2pi-0.7.0/setup.cfg Creating tar archive removing 'pip2pi-0.7.0' (and everything under it) running upload Submitting /Users/wolever/code/pip2pi/dist/pip2pi-0.7.0-py2.py3-none-any.whl to https://upload.pypi.org/legacy/ Upload failed (400): summary: Multiple lines are not allowed. error: Upload failed (400): summary: Multiple lines are not allowed.
这是什么意思?我该如何解决?
此包的先前版本上传没有问题。
我要上传的代码:https://github.com/wolever/pip2pi/tree/a026f05a265a6f8c7fb7a5c4cf6484b9ede77761
PyPI 一定在某个时候进行了更改,不允许多行描述。删除 setup.py
的 description="…"
字段中的换行符修复了问题:https://github.com/wolever/pip2pi/commit/6f24cec93344fdc133e97ead5f81224e7eb4a249