Skip to content

Commit

Permalink
Introduce Python 3.12 (#41)
Browse files Browse the repository at this point in the history
Introduce Python 3.12
  • Loading branch information
gmargaritis authored Oct 20, 2023
2 parents 7f7d5c1 + c2479cf commit f0f6500
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
variant:
- buster
- slim
include:
- python: "3.11"
- python: "3.12"
is_default_python: true
- variant: buster
is_default_variant: true
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PYTHON_VERSION=3.10
ARG PYTHON_VERSION=3.12
ARG VARIANT=buster

FROM python:${PYTHON_VERSION}-${VARIANT}
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.6.1-purple) ![Python](https://img.shields.io/badge/Python-3.11%20(default)%20%7C%203.10%20%7C%203.9%20%7C%203.8-blue) ![Variants](https://img.shields.io/badge/Variants-Buster%20(default)%20%7C%20Slim-orange
![Poetry](https://img.shields.io/badge/Poetry-1.6.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-Buster%20(default)%20%7C%20Slim-orange
)

## Why
Expand All @@ -26,9 +26,9 @@ This will use the default Python version (latest) and image variant (Buster). Yo
### Examples

- Poetry 1.6.1: `ghcr.io/withlogicco/poetry:1.6.1`
- Poetry 1.6.1 on Python 3.11: `ghcr.io/withlogicco/poetry:1.6.1-python-3.11`
- Poetry 1.6.1 on Python 3.12: `ghcr.io/withlogicco/poetry:1.6.1-python-3.12`
- Poetry 1.6.1 on Buster: `ghcr.io/withlogicco/poetry:1.6.1-buster`
- Poetry 1.6.1 on Python 3.11 and Buster: `ghcr.io/withlogicco/poetry:1.6.1-python-3.11-buster`
- Poetry 1.6.1 on Python 3.12 and Buster: `ghcr.io/withlogicco/poetry:1.6.1-python-3.12-buster`

## Usage

Expand Down

0 comments on commit f0f6500

Please sign in to comment.