Page MenuHomeFreeBSD

*/*: Explicitly pass dist directory for Python wheels
AbandonedPublic

Authored by michaelo on Aug 15 2026, 5:12 PM.
Tags
None
Referenced Files
F174266778: D58861.diff
Thu, Oct 1, 9:04 PM
Unknown Object (File)
Tue, Sep 29, 9:47 PM
Unknown Object (File)
Tue, Sep 29, 12:21 PM
Unknown Object (File)
Fri, Sep 25, 1:37 PM
Unknown Object (File)
Fri, Sep 25, 12:22 AM
Unknown Object (File)
Tue, Sep 22, 4:09 AM
Unknown Object (File)
Mon, Sep 14, 11:15 PM
Unknown Object (File)
Mon, Sep 14, 11:09 PM
Subscribers
None

Details

Reviewers
None
Summary

Mk/Uses/python.mk's PEP517_BUILD_CMD now places wheel output in ${WRKDIR}/whl
rather than the build backend's default dist directory, which varies by
backend (e.g. ${WRKSRC}/dist for build/setuptools). Ports that override
PEP517_BUILD_CMD or PEP517_INSTALL_CMD directly, or invoke a build tool on
their own (e.g. maturin), bypassing the new default, must follow suit: build
commands (python -m build, python -m flit_core.wheel, maturin build, ...) now
pass ${WRKDIR}/whl as their dist directory (--outdir, -o, ...) instead of
their previous, backend-specific default, and install commands that glob for
the built wheel look there too.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75989
Build 72872: arc lint + arc unit