Skip to content

Commit 9cec754

Browse files
committed
Update changelog entry to reflect platlib support
The earlier draft only mentioned {py_purelib} staging; the actual routing handles both {py_purelib} and {py_platlib}, which is what real scientific-Python projects (pandas, numpy, scipy — all pure: false) rely on. Also mention the canonical-name comparison and the pure-Python case.
1 parent a384103 commit 9cec754

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

CHANGELOG.rst

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,16 @@ Unreleased
1515
==========
1616

1717
- Route files staged under ``{py_purelib}/<name>-<version>.dist-info/...``
18-
into the wheel's ``.dist-info/`` directory at pack time. This is the
19-
recommended mechanism for placing PEP 770 SBOMs and other dist-info-bound
20-
metadata files in the wheel, removing the need for post-build wheel
21-
surgery. Works with both static ``install_data()`` and dynamic
22-
``custom_target(install: true)``; requires no new meson API. The collision
23-
check surfaces overlaps between files routed here and PEP 639
18+
or ``{py_platlib}/<name>-<version>.dist-info/...`` into the wheel's
19+
``.dist-info/`` directory at pack time. This is the recommended mechanism
20+
for placing PEP 770 SBOMs and other dist-info-bound metadata files in the
21+
wheel, removing the need for post-build wheel surgery. Works with both
22+
static ``install_data()`` and dynamic ``custom_target(install: true)``,
23+
and with ``pure: false`` projects (which stage under ``{py_platlib}``)
24+
as well as pure-Python packages. Requires no new meson API. The distinfo
25+
directory name is compared canonically, so hyphens vs. underscores in the
26+
user's ``meson.project_name()`` don't break routing. The existing
27+
collision check surfaces overlaps between files routed here and PEP 639
2428
``license-files`` written by the metadata layer. Routing is enforced for
2529
non-editable wheels; editable wheels do not include dist-info-bound files
2630
(a known limitation).

0 commit comments

Comments
 (0)