setup.py is not PEP517 compliant
Bug #1978328 reported by
Brett Holman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Medium
|
Unassigned |
Bug Description
A bug[1] was filed downstream for this, and reported upstream in #cloud-init IRC by Sam (Gentoo maintainer).
This causes build failure on Gentoo/OpenRC, which is carrying a downstream workaround[2] for now.
It looks like the upstream installation method for init scripts and additional bits (non-Python files at all) isn't compatible with PEP517, so PEP517 installs are broken right now.
PEP517 with the wheel spec doesn't have a good way of installing data files.
[1] https:/
[2] https:/
Changed in cloud-init: | |
status: | New → Triaged |
Changed in cloud-init: | |
importance: | Undecided → Medium |
To post a comment you must log in.
From Sam, after sharing the logs:
There's a hint of it at the very end because you see the chmod fails (there was a missing die in the ebuild).
run:
python -m build -C--init- system= openrc # no, that's not a typo, no space after 'C'
python3 -m installer dist/cloud*.whl --destdir=/tmp/foo
/tmp/foo/* only contains the usr/bin and usr/lib/*