Skip to content

Commit

Permalink
Keep out-dated dependencies from being updated
Browse files Browse the repository at this point in the history
  • Loading branch information
charlotte-avery committed Oct 18, 2024
1 parent de0562d commit 4f1ecda
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,9 @@ dmypy.json

# Pyre type checker
.pyre/

# datasets
data/

# analysis notebooks
notebooks/
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ USER user
WORKDIR /home/user/src

COPY --chown=user Pipfile* .
RUN pipenv sync
RUN pipenv sync --keep-outdated
ENV PATH="/home/user/src/.venv/bin:$PATH"
ENV PYTHONPATH=.
ENV PYTHONHASHSEED=0
Expand All @@ -24,7 +24,7 @@ ENTRYPOINT ["python", "-m", "simulation"]

FROM dependencies AS testrunner

RUN pipenv sync --dev
RUN pipenv sync --keep-outdated --dev
ENV PYTEST_ADDOPTS="-p no:cacheprovider"
COPY --chown=user . .
CMD ["pytest"]

0 comments on commit 4f1ecda

Please sign in to comment.