From 396d6aad580f1b2752bef315d7ab2f7fafcb36bc Mon Sep 17 00:00:00 2001 From: Riccardo Date: Tue, 15 Oct 2019 14:30:02 -0700 Subject: [PATCH] safety_replay only installs few extra requirements --- tests/safety_replay/Dockerfile | 6 ++++-- tests/safety_replay/requirements.txt | 8 -------- tests/safety_replay/requirements_extra.txt | 4 ++++ 3 files changed, 8 insertions(+), 10 deletions(-) delete mode 100644 tests/safety_replay/requirements.txt create mode 100644 tests/safety_replay/requirements_extra.txt diff --git a/tests/safety_replay/Dockerfile b/tests/safety_replay/Dockerfile index 80663964d3e2da..f5175c74582005 100644 --- a/tests/safety_replay/Dockerfile +++ b/tests/safety_replay/Dockerfile @@ -14,8 +14,10 @@ RUN pyenv install 3.7.3 RUN pyenv global 3.7.3 RUN pyenv rehash -COPY tests/safety_replay/requirements.txt requirements.txt -RUN pip install -r requirements.txt +COPY requirements.txt /tmp/ +RUN pip install -r /tmp/requirements.txt +COPY tests/safety_replay/requirements_extra.txt requirements_extra.txt +RUN pip install -r requirements_extra.txt COPY tests/safety_replay/install_capnp.sh install_capnp.sh RUN ./install_capnp.sh diff --git a/tests/safety_replay/requirements.txt b/tests/safety_replay/requirements.txt deleted file mode 100644 index 4c9d301dce0b4d..00000000000000 --- a/tests/safety_replay/requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ -aenum -cffi==1.11.4 -libusb1==1.6.6 -numpy==1.14.5 -requests -subprocess32 -libarchive -pycapnp diff --git a/tests/safety_replay/requirements_extra.txt b/tests/safety_replay/requirements_extra.txt new file mode 100644 index 00000000000000..b04b7674d76efa --- /dev/null +++ b/tests/safety_replay/requirements_extra.txt @@ -0,0 +1,4 @@ +aenum +subprocess32 +libarchive +pycapnp