Skip to content

Commit

Permalink
add explicit dependency on pinned python NetCDF version
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Rose authored and Brandon Rose committed Jun 14, 2024
1 parent 13e7eb0 commit 2217785
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker/Dockerfile.api
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ COPY poetry.lock poetry.lock
RUN poetry config virtualenvs.create false && \
poetry install --no-root --no-cache

# Pin netCDF4 to version 1.6.5
RUN pip install netCDF4==1.6.5

# We have to install PyCIEMSS now since the interface uses Torch
# TODO: Do not use Torch in PyCIEMSS Library interface
RUN poetry run poe install-pyciemss
Expand Down
3 changes: 3 additions & 0 deletions docker/Dockerfile.worker
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ COPY poetry.lock poetry.lock
RUN poetry config virtualenvs.create false && \
poetry install --no-root --no-cache

# Pin netCDF4 to version 1.6.5
RUN pip install netCDF4==1.6.5

RUN poetry run poe install-pyciemss
COPY service service
COPY tests tests
Expand Down

0 comments on commit 2217785

Please sign in to comment.