I cannot release in pypip
Closed this issue · 0 comments
dfguerrerom commented
In the latest build 2.20.1
I've got this error from twine.
Uploading sepal_ui-2.20.1-py3-none-any.whl
25l
0% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/913.2 kB • --:-- • ?
45% ━━━━━━━━━━━━━━━━━╸━━━━━━━━━━━━━━━━━━━━━━ 409.6/913.2 kB • 00:01 • 13.3 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 913.2/913.2 kB • 00:00 • 12.7 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 913.2/913.2 kB • 00:00 • 12.7 MB/s
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 913.2/913.2 kB • 00:00 • 12.7 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/
Can't have direct dependency: sphinx@
git+https://github.com/sphinx-doc/sphinx.git ; extra == "doc". See
https://packaging.python.org/specifications/core-metadata for more
information.
Error: Process completed with exit code 1.
That happened because I used a direct dependency in pyproject.toml
in https://github.com/openforis/sepal_ui/pull/935/files trying to answer this problem... which I apparently is not allowed...