Skip to content

Commit 67fc496

Browse files
committed
fix: migrate to latest poetry versions (v1.2)
Migrate to latest poetry version. Fix pipelines
1 parent d022916 commit 67fc496

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
matrix:
1313
python-version: ["3.9"]
14-
poetry-version: ["1.1"]
14+
poetry-version: ["1.2"]
1515
steps:
1616
- uses: actions/checkout@v3
1717
- uses: actions/setup-python@v2

.github/workflows/pylama.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
python-version: ["3.9"]
12-
poetry-version: ["1.1"]
12+
poetry-version: ["1.2"]
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Set up Python ${{ matrix.python-version }}

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
python-version: ["3.9"]
12-
poetry-version: ["1.1"]
12+
poetry-version: ["1.2"]
1313
steps:
1414
- uses: actions/checkout@v2
1515
- name: Set up Python ${{ matrix.python-version }}

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ RUN apt-get update \
2727
&& apt-get --no-install-recommends install -y curl=7.64.0-4+deb10u2 \
2828
&& apt-get clean \
2929
&& rm -rf /var/lib/apt/lists/* \
30-
&& curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python
30+
&& curl -sSL https://install.python-poetry.org | python
3131

32-
ENV PATH="${PATH}:/root/.poetry/bin"
32+
ENV PATH="${PATH}:/root/.local/bin"
3333

3434

3535
COPY pyproject.toml poetry.lock ./
3636

3737
# install deps
38-
RUN poetry install --no-dev --no-root
38+
RUN poetry install --only main --no-root
3939

4040

4141
# Prod

0 commit comments

Comments
 (0)