You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've looked at the METADATA file in the wheel and it seems that Poetry puts homepage URL into Home-page property only and doesn't create a Project-URL entry like for other [tool.poetry] URLs. PyPI on the other hand seems to ignore Home-page altogether now. This issue might be related: pypi/warehouse#11220
I would say that this is a Warehouse issue, since packaging guide doesn't deprecate the fields Poetry is setting. However, we can add an extra case in our build to make it compatible with how Warehouse works.
Description
I've published a package on PyPI, and the
homepage
URL wasn't picked up from[tool.poetry]
: https://test.pypi.org/project/poetry-homepage-bug-repro/I've looked at the METADATA file in the wheel and it seems that Poetry puts homepage URL into
Home-page
property only and doesn't create aProject-URL
entry like for other[tool.poetry]
URLs. PyPI on the other hand seems to ignoreHome-page
altogether now. This issue might be related: pypi/warehouse#11220Workarounds
If you put homepage URL in
[tool.poetry.urls]
, it does show up on PyPI just fine: https://test.pypi.org/project/poetry-homepage-bug-workaround/Poetry Installation Method
pipx
Operating System
Fedora 40
Poetry Version
Poetry (version 1.8.3)
Poetry Configuration
Python Sysconfig
No response
Example pyproject.toml
Poetry Runtime Logs
The text was updated successfully, but these errors were encountered: