setup.py is not PEP517 compliant
| 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:/
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-
python3 -m installer dist/cloud*.whl --destdir=/tmp/foo
/tmp/foo/* only contains the usr/bin and usr/lib/*
Tracked in Github Issues as https:/