Skip to content

Export all Cargo URL metadata items to Python#2760

Merged
messense merged 2 commits intoPyO3:mainfrom
chrysn-pull-requests:all-urls
Oct 8, 2025
Merged

Export all Cargo URL metadata items to Python#2760
messense merged 2 commits intoPyO3:mainfrom
chrysn-pull-requests:all-urls

Conversation

@chrysn
Copy link
Copy Markdown
Contributor

@chrysn chrysn commented Oct 7, 2025

Currently, only the repository URL is exported to projects that set dynamic = ["urls", …], whereas the Cargo format knows three URLs – repository, documentation and homepage.

With this change, they are exported under their respective well-known Python labels.

Tested on chrysn/cbor-diag-py#17, where using it produces this delta (that project has no home page):

 Description-Content-Type: text/x-rst; charset=UTF-8
+Project-URL: Documentation, https://cbor-diag.readthedocs.io
 Project-URL: Source Code, https://github.com/chrysn/cbor-diag-py

chrysn added a commit to chrysn/cbor-diag-py that referenced this pull request Oct 7, 2025
@messense messense merged commit 387bde6 into PyO3:main Oct 8, 2025
43 checks passed
@chrysn chrysn deleted the all-urls branch October 8, 2025 11:20
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Nov 20, 2025
https://build.opensuse.org/request/show/1318737
by user mia + anag_factory
Automatic submission by obs-autosubmit
- Update to 1.10.2
  * Fix tagging for iOS x86_64 simulator wheels.
  * Set entry type when adding to the tar file.

- Update to 1.10.1
  * Fix generated WHEEL Tag metadata to be spec compliant.
    gh#PyO3/maturin#2762
  * Export all Cargo URL metadata items to Python
    gh#PyO3/maturin#2760
  * Update maximum Python version to 3.14
    gh#PyO3/maturin#2763
  * Remove shebang from non-executable init.py file
    gh#PyO3/maturin#2775
  * Stop warning about missing extension-module feature on pyo3 0.26+
    gh#PyO3/maturin#2789
  * --profile conflicts with --release (and/or --debug)
    gh#PyO3/maturin#2793
  * Bump MSRV to 1.83.0
    gh#PyO3/maturin#2790
  * respect CLI profile over pyproject.toml
    gh#PyO3/maturin#2794
  * chore: add FreeBSD 14.3 a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants