Update poetry

This commit is contained in:
Ojakoo
2022-12-21 19:16:55 +02:00
parent b9280ea026
commit 1b086843dc
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ audit:
- pushes - pushes
needs: [] needs: []
before_script: before_script:
- pip install poetry==1.1.13 - pip install poetry==1.3.1
- poetry config virtualenvs.create false - poetry config virtualenvs.create false
- poetry install --no-interaction --no-ansi - poetry install --no-interaction --no-ansi
script: script:
@@ -47,7 +47,7 @@ test:
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB" DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/$POSTGRES_DB"
DB_HOST: postgres DB_HOST: postgres
before_script: before_script:
- pip install poetry==1.1.13 - pip install poetry==1.3.1
- poetry config virtualenvs.create false - poetry config virtualenvs.create false
- poetry install --no-interaction --no-ansi - poetry install --no-interaction --no-ansi
script: script:
+1 -1
View File
@@ -2,7 +2,7 @@ FROM python:3.9-slim-buster as builder
ENV PYTHONUNBUFFERED 1 ENV PYTHONUNBUFFERED 1
COPY . ./ COPY . ./
ENV POETRY_VERSION=1.1.13 ENV POETRY_VERSION=1.3.1
RUN pip install "poetry==$POETRY_VERSION" RUN pip install "poetry==$POETRY_VERSION"
RUN poetry export --without-hashes > requirements.txt RUN poetry export --without-hashes > requirements.txt
+1 -1
View File
@@ -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: First install [python](https://wiki.python.org/moin/BeginnersGuide/Download). Then install poetry:
```bash ```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 The easiest integration with VSCode is to have poetry install virtual environment in project folder, configured with CMD