File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ FROM python:3.10-slim-bookworm AS builder
44WORKDIR /build
55
66RUN set -ex && python3 -m pip install --no-cache-dir \
7- 'poetry>=2.0.0' \
8- 'poetry-plugin-export>=1.9 ' \
7+ 'poetry>=2.0,<3 .0' \
8+ 'poetry-plugin-export>=1.8,<2.0 ' \
99 && poetry --version
1010
1111ENV POETRY_CACHE_DIR=/tmp/poetry \
@@ -16,7 +16,7 @@ ENV POETRY_CACHE_DIR=/tmp/poetry \
1616
1717COPY poetry.lock pyproject.toml /build/
1818
19- RUN poetry export --extras cuda > requirements.txt && rm --recursive --force -- "${POETRY_CACHE_DIR}"
19+ RUN poetry export --without-hashes -- extras cuda > requirements.txt && rm --recursive --force -- "${POETRY_CACHE_DIR}"
2020
2121# Step -- 2.
2222FROM nvidia/cuda:12.6.3-cudnn-devel-ubuntu22.04 AS runtime
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" poetry-core>=2.0.0" ]
2+ requires = [" poetry-core>=2.0,<3 .0" ]
33build-backend = " poetry.core.masonry.api"
44
55[tool .poetry .requires-plugins ]
6- poetry-plugin-export = " >=1.9 "
6+ poetry-plugin-export = " >=1.8,<2.0 "
77
88[project ]
99name = " python_template"
You can’t perform that action at this time.
0 commit comments