From 2a2081d2dd5a813b84b5f6173bb7f3d3dbc7d280 Mon Sep 17 00:00:00 2001 From: Oluwafemi Adenuga Date: Fri, 8 Mar 2024 13:15:04 +0000 Subject: [PATCH] Update Poetry version to 1.8.0 --- .github/workflows/ci.yml | 2 +- .github/workflows/release.yml | 2 +- Dockerfile | 2 +- README.md | 12 ++++++------ 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72711dc..aff1319 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: pull_request: env: - POETRY_VERSION: 1.7.1 + POETRY_VERSION: 1.8.0 GHCR_IMAGE_REPOSITORY: ghcr.io/${{ github.repository_owner }}/poetry PLATFORMS: linux/amd64,linux/arm64/v8 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c1b805..4611c43 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,7 +5,7 @@ on: types: [published] env: - POETRY_VERSION: 1.7.1 + POETRY_VERSION: 1.8.0 GHCR_IMAGE_REPOSITORY: ghcr.io/${{ github.repository_owner }}/poetry jobs: diff --git a/Dockerfile b/Dockerfile index 28a4985..3eac10d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ ARG PIP_VERSION=22.2.2 ARG SETUPTOOLS_VERSION=65.3.0 RUN pip install --upgrade pip==${PIP_VERSION} setuptools==${SETUPTOOLS_VERSION} -ARG POETRY_VERSION=1.7.1 +ARG POETRY_VERSION=1.8.0 ENV POETRY_HOME=/opt/poetry\ PATH="${PATH}:/opt/poetry/bin" RUN python3 -m venv ${POETRY_HOME} &&\ diff --git a/README.md b/README.md index c6ed7da..e0117c8 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Docker Poetry is a Docker image for Python projects with dependencies managed by Poetry. -![Poetry](https://img.shields.io/badge/Poetry-1.7.1-purple) ![Python](https://img.shields.io/badge/Python-3.12%20(default)%20%7C%203.11%20%7C%203.10%20%7C%203.9%20%7C%203.8-blue) ![Variants](https://img.shields.io/badge/Variants-Bookworm%20(default)%20%7C%20Slim-orange +![Poetry](https://img.shields.io/badge/Poetry-1.8.0-purple) ![Python](https://img.shields.io/badge/Python-3.12%20(default)%20%7C%203.11%20%7C%203.10%20%7C%203.9%20%7C%203.8-blue) ![Variants](https://img.shields.io/badge/Variants-Bookworm%20(default)%20%7C%20Slim-orange ) ## Why @@ -25,17 +25,17 @@ This will use the default Python version (latest) and image variant (Bookworm). ### Examples -- Poetry 1.7.1: `ghcr.io/withlogicco/poetry:1.7.1` -- Poetry 1.7.1 on Python 3.12: `ghcr.io/withlogicco/poetry:1.7.1-python-3.12` -- Poetry 1.7.1 on Bookworm: `ghcr.io/withlogicco/poetry:1.7.1-bookworm` -- Poetry 1.7.1 on Python 3.12 and Bookworm: `ghcr.io/withlogicco/poetry:1.7.1-python-3.12-bookworm` +- Poetry 1.8.0: `ghcr.io/withlogicco/poetry:1.8.0` +- Poetry 1.8.0 on Python 3.12: `ghcr.io/withlogicco/poetry:1.8.0-python-3.12` +- Poetry 1.8.0 on Bookworm: `ghcr.io/withlogicco/poetry:1.8.0-bookworm` +- Poetry 1.8.0 on Python 3.12 and Bookworm: `ghcr.io/withlogicco/poetry:1.8.0-python-3.12-bookworm` ## Usage First, pick the image tag you wish to use. Then, copy your `pyproject.toml` and `poetry.lock` files in the working directory (`/usr/src/app`), for optimal caching and run `poetry install`. Example: ```dockerfile -FROM ghcr.io/withlogicco/poetry:1.7.1 +FROM ghcr.io/withlogicco/poetry:1.8.0 COPY pyproject.toml poetry.lock ./ RUN poetry install