From f845ae9fb38678ffc02e4872d15cf5adddd29220 Mon Sep 17 00:00:00 2001 From: Matthew Silverman Date: Thu, 9 Nov 2023 11:26:38 -0500 Subject: [PATCH] fix requirements to make docker builds pass (#4810) latest docker build on master failing because it doesn't have pytest-benchmark: https://github.com/PennyLaneAI/pennylane/actions/runs/6801575137/job/18492742357 --- docker/interfaces/gpu-cuda/cuda-base.dockerfile | 2 +- docker/pennylane.dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/interfaces/gpu-cuda/cuda-base.dockerfile b/docker/interfaces/gpu-cuda/cuda-base.dockerfile index c8fb2fcb97e..1c9ac554560 100644 --- a/docker/interfaces/gpu-cuda/cuda-base.dockerfile +++ b/docker/interfaces/gpu-cuda/cuda-base.dockerfile @@ -43,7 +43,7 @@ RUN git submodule update --init --recursive \ && pip install wheel \ && pip install -r requirements.txt \ && python3 setup.py install \ - && pip install pytest pytest-cov pytest-mock flaky \ + && pip install -r requirements-dev.txt \ && make test # create Second small build. diff --git a/docker/pennylane.dockerfile b/docker/pennylane.dockerfile index 83f00a7c214..cbb7f40f0a4 100644 --- a/docker/pennylane.dockerfile +++ b/docker/pennylane.dockerfile @@ -42,7 +42,7 @@ COPY . . RUN git submodule update --init --recursive RUN pip install wheel && pip install -r requirements.txt RUN python3 setup.py install -RUN pip install pytest pytest-cov pytest-mock flaky +RUN pip install -r requirements-dev.txt RUN pip install -i https://test.pypi.org/simple/ pennylane-lightning --pre --upgrade # hotfix, remove when pyscf 2.1 is released (currently no wheel for python3.10) RUN pip install openfermionpyscf || true