From 1b086843dca4a69979f035841f834aefa9315326 Mon Sep 17 00:00:00 2001 From: Ojakoo Date: Wed, 21 Dec 2022 19:16:55 +0200 Subject: [PATCH] Update poetry --- .gitlab-ci.yml | 4 ++-- Dockerfile | 2 +- README.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 893ccd9..70e1148 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -26,7 +26,7 @@ audit: - pushes needs: [] before_script: - - pip install poetry==1.1.13 + - pip install poetry==1.3.1 - poetry config virtualenvs.create false - poetry install --no-interaction --no-ansi script: @@ -47,7 +47,7 @@ test: DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB" DB_HOST: postgres before_script: - - pip install poetry==1.1.13 + - pip install poetry==1.3.1 - poetry config virtualenvs.create false - poetry install --no-interaction --no-ansi script: diff --git a/Dockerfile b/Dockerfile index 75c5566..707fd3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM python:3.9-slim-buster as builder ENV PYTHONUNBUFFERED 1 COPY . ./ -ENV POETRY_VERSION=1.1.13 +ENV POETRY_VERSION=1.3.1 RUN pip install "poetry==$POETRY_VERSION" RUN poetry export --without-hashes > requirements.txt diff --git a/README.md b/README.md index c758af0..0d261bb 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ For depedencies and virtual environment, we use [poetry](https://python-poetry.o First install [python](https://wiki.python.org/moin/BeginnersGuide/Download). Then install poetry: ```bash -python3 -m pip install poetry +python3 -m pip install poetry==1.3.1 ``` The easiest integration with VSCode is to have poetry install virtual environment in project folder, configured with CMD