From b336f99b37fa3993eefa43c5d90a59ddfefbbb9b Mon Sep 17 00:00:00 2001 From: Maxime N Date: Thu, 26 Sep 2024 14:33:03 +0200 Subject: [PATCH] #7: Missing python imports --- ci/docker/build-and-test-ubuntu.dockerfile | 6 ++++++ ci/python_build.sh | 3 +++ 2 files changed, 9 insertions(+) diff --git a/ci/docker/build-and-test-ubuntu.dockerfile b/ci/docker/build-and-test-ubuntu.dockerfile index 9a0e008a9..039bef8e5 100644 --- a/ci/docker/build-and-test-ubuntu.dockerfile +++ b/ci/docker/build-and-test-ubuntu.dockerfile @@ -8,6 +8,12 @@ FROM ${BASE_IMAGE} AS base ENV CONDA_PATH=/opt/conda ENV PATH=$PATH:$CONDA_PATH/bin +# Setup python requirements for JSON datafile validation +RUN pip install PyYAML +RUN pip install Brotli +RUN pip install schema +RUN pip install nanobind + COPY . /opt/src/vt-tv RUN mkdir -p /opt/build/vt-tv diff --git a/ci/python_build.sh b/ci/python_build.sh index 6c3fddb50..71b8022de 100644 --- a/ci/python_build.sh +++ b/ci/python_build.sh @@ -19,6 +19,9 @@ for env in $(conda env list | grep ^py | perl -lane 'print $F[-1]' | xargs ls -l # Build VT-TV python package pip install PyYAML + pip install Brotli + pip install schema + pip install nanobind pip install $VT_TV_SRC_DIR # Deactivate conda environment