]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cephadm: make the pip-install-from-source approach for deps explicit
authorJohn Mulligan <jmulligan@redhat.com>
Tue, 12 Dec 2023 20:13:01 +0000 (15:13 -0500)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 13 Dec 2023 15:08:23 +0000 (10:08 -0500)
commitadb28150e45b0ec3b054d3bcd4a0b6a5a2f7156f
tree624fbc5e42d149b5827ef9e5a273c92b394d773d
parent1950cc0ea764bb03f3598dc2c4576110d0d51d9d
cephadm: make the pip-install-from-source approach for deps explicit

Previously, the code assumed that all dependencies can be cleanly
installed from source with native-code compilers disabled. This worked
ok for MarkupSafe because it falls back to pure-python if it can't
compile the C extension code. Unfortunately, not all packages that can
fall back to pure python do so cleanly in the build. As a first step
to resolving that, make the current behavior an explicitly selected mode
and permit installing from wheels in the future.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
src/cephadm/build.py