Closed squidarth closed 7 months ago
https://github.com/pypi/warehouse/issues/15628, please close
@dimbleby thank yoU!
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Description
Hi there,
We are not sure when this happened, but it seems there is an issue with poetry publishing to pypi where:
null
download_url
in the upload command to pypiIt seems that something might have changed on the pypi-side with regards how they handle "null" download_urls (where now it is treated as an empty string).
Does anyone know what happened here? I think a mitigation here would be excluding the
download_url
if it is not present in the pyproject.toml (I am not even sure how to specify it there).Thanks for any help here.
Workarounds
Manually going into the "uploader.py" file (https://github.com/python-poetry/poetry/blame/1b49f10395a9348d40ea927c3e0008e8bf43fc6f/src/poetry/publishing/uploader.py#L9), and manually deleting the line that says "download_url". Then running poetry publish again.
Poetry Installation Method
install.python-poetry.org
Operating System
Ubuntu
Poetry Version
Poetry (version 1.8.2)
Poetry Configuration
Python Sysconfig
Example pyproject.toml
Poetry Runtime Logs