Page MenuHomeFreeBSD

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

Authored by michaelo on Sat, Aug 15, 5:12 PM.
Tags
None
Referenced Files
F168549499: D58861.id.diff
Fri, Aug 28, 11:36 PM
Unknown Object (File)
Thu, Aug 27, 7:41 PM
Unknown Object (File)
Thu, Aug 27, 2:56 PM
Unknown Object (File)
Thu, Aug 27, 12:10 PM
Unknown Object (File)
Wed, Aug 26, 7:48 PM
Unknown Object (File)
Wed, Aug 26, 6:28 PM
Unknown Object (File)
Wed, Aug 26, 11:31 AM
Unknown Object (File)
Wed, Aug 26, 11:20 AM
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