Skip to content

Commit 28ef29b

Browse files
committed
[Release 2.11.0] Fix poetry version
- Fix poetry version on Dockerfile - Fix poetry version on gitlab ci Moving from v1.x to v2.x on poetry removes a deprecation error on ‘poetry.dev-dependencies’ (which should be ‘poetry.group.dev.dependencies’ instead)
1 parent 493f7cd commit 28ef29b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ stages:
2727
tags:
2828
- docker20
2929
before_script:
30-
- curl -sSL https://install.python-poetry.org | python -
30+
- curl -sSL https://install.python-poetry.org | python - --version 1.8.4
3131
- export PATH="/root/.local/bin:$PATH"
3232
- poetry install --no-root --with dev
3333

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM python:3.12.1-slim-bookworm AS builder
22
RUN apt-get update && apt-get install -yq curl
3-
RUN curl -sSL https://install.python-poetry.org | python -
3+
RUN curl -sSL https://install.python-poetry.org | python - --version 1.8.4
44
WORKDIR /ywh2bt
55
COPY / ./
66
RUN /root/.local/bin/poetry build

0 commit comments

Comments
 (0)