From: John Mulligan Date: Fri, 14 Jul 2023 19:44:09 +0000 (-0400) Subject: cephadm: add zipapp-reqs.txt, mirroring cephadm's zipapp dependencies X-Git-Tag: v19.0.0~153^2~8 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e708f2e15973ae9d4745c50f22bd753c42c5ed88;p=ceph.git cephadm: add zipapp-reqs.txt, mirroring cephadm's zipapp dependencies Add Jinja2 and MarkupSafe dependencies to a requirements.txt style file. This file tracks the dependencies needed to run the cephadm libs in the unit test framework. The actual dependencies that get added to the ziapp are managed by build.py but mirrored here. Signed-off-by: John Mulligan --- diff --git a/src/cephadm/zipapp-reqs.txt b/src/cephadm/zipapp-reqs.txt new file mode 100644 index 0000000000000..cf36f87b2bc03 --- /dev/null +++ b/src/cephadm/zipapp-reqs.txt @@ -0,0 +1,16 @@ +# Requirements for the cephadm zipapp (aka the binary). +# +# IMPORTANT: The cephadm binary is expected to be portable across python +# versions and CPU architectures. Dependencies are copied into the zipapp +# by the build script and must not require compiled C (or C++, Rust, etc) +# modules. Modules that have an optional C accelerator but can fall back +# to pure python are OK. When you add a package to this list verify that +# build.py creates the zipapp with only python files. +# +# IMPORTANT: This file is only used for installing the requirements that +# cephaadm needs for the tox/unit tests. The actual zipapp is build using +# the build.py script. The PY_REQUIREMENTS value in that script *must* +# be kept in sync with this list. +# +MarkupSafe >= 2.1.3, <2.2 +Jinja2 >= 3.1.2, <3.2