Skip to content

Commit 906306f

Browse files
authored
Merge pull request #1324 from projectsyn/internal/poetry-v2
Refactor `pyproject.toml` for Poetry v2
2 parents 84b2555 + 50447ad commit 906306f

4 files changed

Lines changed: 173 additions & 28 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ FROM base AS builder
1313

1414
ENV PATH=${PATH}:${HOME}/.local/bin:/usr/local/go/bin
1515

16-
ARG POETRY_VERSION=1.8.5
16+
ARG POETRY_VERSION=2.3.2
1717
RUN apt-get update && apt-get install -y --no-install-recommends \
1818
build-essential \
1919
curl \
@@ -28,7 +28,7 @@ COPY --from=golang /usr/local/go /usr/local/go
2828
COPY pyproject.toml poetry.lock ./
2929

3030
RUN poetry config virtualenvs.create false \
31-
&& poetry install --no-dev --no-root
31+
&& poetry install --without=dev --no-root
3232

3333
COPY . ./
3434

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Commodore also supports additional processing on the output of Kapitan, such as
7474

7575
### Additional System Requirements
7676

77-
* [Poetry](https://github.com/python-poetry/poetry) 1.3.0+
77+
* [Poetry](https://github.com/python-poetry/poetry) 2.0.0+
7878
* Docker
7979

8080

0 commit comments

Comments
 (0)