From cd89ce1ac551d5dc190cc62d58bea63dedc8b92b Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Fri, 6 Oct 2023 15:56:56 +0200 Subject: [PATCH] Upgrade to Python 3.12 --- .github/workflows/build_and_test_using_docker.yml | 4 ++-- .github/workflows/pre_commit_detect_outdated.yml | 4 ++-- .github/workflows/pre_commit_run.yml | 4 ++-- .pre-commit-config.yaml | 2 +- docker/Dockerfile | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_and_test_using_docker.yml b/.github/workflows/build_and_test_using_docker.yml index a0ed290e..e8ded8cf 100644 --- a/.github/workflows/build_and_test_using_docker.yml +++ b/.github/workflows/build_and_test_using_docker.yml @@ -14,10 +14,10 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 with: - python-version: 3.11 + python-version: 3.12 - name: Install dependencies run: |- diff --git a/.github/workflows/pre_commit_detect_outdated.yml b/.github/workflows/pre_commit_detect_outdated.yml index 0038929f..0a4f493f 100644 --- a/.github/workflows/pre_commit_detect_outdated.yml +++ b/.github/workflows/pre_commit_detect_outdated.yml @@ -20,10 +20,10 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 with: - python-version: 3.11 + python-version: 3.12 - name: Install pre-commit run: |- diff --git a/.github/workflows/pre_commit_run.yml b/.github/workflows/pre_commit_run.yml index fff985b2..93bcfc75 100644 --- a/.github/workflows/pre_commit_run.yml +++ b/.github/workflows/pre_commit_run.yml @@ -14,10 +14,10 @@ jobs: steps: - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 - - name: Set up Python 3.11 + - name: Set up Python 3.12 uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 with: - python-version: 3.11 + python-version: 3.12 - name: Install pre-commit run: |- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 826a3b82..8ed01731 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,7 +6,7 @@ repos: rev: v3.15.0 hooks: - id: pyupgrade - args: ['--py311-plus'] + args: ['--py312-plus'] - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.5.0 diff --git a/docker/Dockerfile b/docker/Dockerfile index deee7ae2..9c002b5f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,7 @@ # Copyright (C) 2021 Sebastian Pipping # Licensed under GNU Affero GPL v3 or later -FROM python:3.11-alpine +FROM python:3.12-alpine RUN echo '@edge-community https://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk/repositories \ && \