From 1ce5558fabde404134f5de8b9c0152e64862aabc Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 16 Oct 2023 14:15:49 +0200 Subject: [PATCH] feat: add support for python 3.12 (#308) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .woodpecker/build-container.yml | 2 +- .woodpecker/build-package.yml | 4 ++-- .woodpecker/lint.yml | 4 ++-- .woodpecker/test.yml | 3 ++- Containerfile.multiarch | 2 +- pyproject.toml | 1 + 6 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.woodpecker/build-container.yml b/.woodpecker/build-container.yml index 0b7d389..9537803 100644 --- a/.woodpecker/build-container.yml +++ b/.woodpecker/build-container.yml @@ -7,7 +7,7 @@ when: steps: build: - image: docker.io/library/python:3.11 + image: docker.io/library/python:3.12 commands: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq diff --git a/.woodpecker/build-package.yml b/.woodpecker/build-package.yml index cf68ab1..4c3e10d 100644 --- a/.woodpecker/build-package.yml +++ b/.woodpecker/build-package.yml @@ -7,7 +7,7 @@ when: steps: build: - image: docker.io/library/python:3.11 + image: docker.io/library/python:3.12 commands: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq @@ -45,7 +45,7 @@ steps: - event: [tag] publish-pypi: - image: docker.io/library/python:3.11 + image: docker.io/library/python:3.12 secrets: - source: pypi_password target: POETRY_HTTP_BASIC_PYPI_PASSWORD diff --git a/.woodpecker/lint.yml b/.woodpecker/lint.yml index cc6fdd3..afac23d 100644 --- a/.woodpecker/lint.yml +++ b/.woodpecker/lint.yml @@ -7,7 +7,7 @@ when: steps: check-format: - image: docker.io/library/python:3.11 + image: docker.io/library/python:3.12 commands: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq @@ -17,7 +17,7 @@ steps: PY_COLORS: "1" check-coding: - image: docker.io/library/python:3.11 + image: docker.io/library/python:3.12 commands: - git fetch -tq - pip install poetry poetry-dynamic-versioning -qq diff --git a/.woodpecker/test.yml b/.woodpecker/test.yml index 4df55e5..9581961 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -12,10 +12,11 @@ matrix: - docker.io/library/python:3.9 - docker.io/library/python:3.10 - docker.io/library/python:3.11 + - docker.io/library/python:3.12 steps: fetch: - image: docker.io/library/python:3.11 + image: docker.io/library/python:3.12 commands: - git fetch -tq diff --git a/Containerfile.multiarch b/Containerfile.multiarch index 4dbaf37..a5939df 100644 --- a/Containerfile.multiarch +++ b/Containerfile.multiarch @@ -1,4 +1,4 @@ -FROM python:3.11-alpine@sha256:3e73c0b6c1f0205225359acac5c8ab1852e7281248d72afda3e1bb8c6f47deab +FROM python:3.12-alpine@sha256:ae35274f417fc81ba6ee1fc84206e8517f28117566ee6a04a64f004c1409bdac LABEL maintainer="Robert Kaussow " LABEL org.opencontainers.image.authors="Robert Kaussow " diff --git a/pyproject.toml b/pyproject.toml index f48aaf8..f4155e4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,6 +15,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Utilities", "Topic :: Software Development", ]