Skip to content

Commit

Permalink
fix requirements to make docker builds pass (#4810)
Browse files Browse the repository at this point in the history
latest docker build on master failing because it doesn't have
pytest-benchmark:
https://github.com/PennyLaneAI/pennylane/actions/runs/6801575137/job/18492742357
  • Loading branch information
timmysilv authored Nov 9, 2023
1 parent 4eecda9 commit f845ae9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/interfaces/gpu-cuda/cuda-base.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion docker/pennylane.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f845ae9

Please sign in to comment.