-
-
Notifications
You must be signed in to change notification settings - Fork 26.5k
MAINT Add project.urls to pyproject.toml #28761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MAINT Add project.urls to pyproject.toml #28761
Conversation
betatim
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine for me.
Should we make a note somewhere to check the links on PyPI when we make a rc0 before a real release?
Not sure, I guess these links are not super likely to change? Maybe the changelog URL is the one that is more likely to change and I would be fine removing it. |
|
Having said this, I am completely fine adding "check the links" somewhere in the check-list of the maintainer docs though |
|
I wasn't thinking that they'd change, more that we should check for the first release made using meson + information from |
|
OK got you, I tested this quickly on test.pypi.org here is the rendering on 5b9fb3a: https://test.pypi.org/project/sklearn/1.5.dev1/ which seems fine. It seems mostly fine except that the order is alphabetical on pypi.org, I am not sure whether there is a way to tweak this ... there is certainly no mention of "ordering" in PEP 621 and I guess it is up to pypi.org to decide which order to use for the "project links". Edit: I found pypi/warehouse#3097 (comment) which seems to agree that there is little control of the display ordering on pypi.org ... |
|
To make @jeremiedbb happy I put back maintainers and followed what numpy does:
|
thomasjpfan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
jeremiedbb
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This adds some metadata that are in the current sdist generated in setup.py and are not there anymore with Meson.
In the comparison done in #28757 (comment), the only meaningful difference is in PKG-INFO.
After reordering2 the diff is like this:
I think Maintainer does not make too much sense and Andy's email is probably not valid anymore.
I added
project.urlsthat are used for the "Project links" on PyPI left-hand-side panel. See for example for numpy:https://github.com/numpy/numpy/blob/ffb23cd626bc1f7d09aed257e28142346661a915/pyproject.toml#L54-L60
https://pypi.org/project/numpy/

Comments: