From cbbd34ae94911ec4514c0c40209750291e90fbb7 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 16 Oct 2023 13:34:10 +0200 Subject: [PATCH] feat: add support for python 3.12 --- .woodpecker/build-container.yml | 2 +- .woodpecker/build-package.yml | 4 ++-- .woodpecker/lint.yml | 4 ++-- .woodpecker/test.yml | 3 ++- pyproject.toml | 1 + 5 files changed, 8 insertions(+), 6 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 1f630bc..d245dfb 100644 --- a/.woodpecker/test.yml +++ b/.woodpecker/test.yml @@ -11,10 +11,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 --depth=2147483647 diff --git a/pyproject.toml b/pyproject.toml index a100df3..4d73afd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,7 @@ classifiers = [ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Utilities", ] description = "Prometheus Service Discovery for Proxmox VE."