From ee932c05e34c7358941f195a7cf3080e60f06608 Mon Sep 17 00:00:00 2001 From: scito Date: Thu, 24 Oct 2024 15:32:09 +0200 Subject: [PATCH] use Python 3.13 in Docker --- .github/workflows/ci_docker.yml | 4 ++-- .github/workflows/ci_release.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_docker.yml b/.github/workflows/ci_docker.yml index fdb5506..b6b5801 100644 --- a/.github/workflows/ci_docker.yml +++ b/.github/workflows/ci_docker.yml @@ -83,7 +83,7 @@ jobs: # builder: ${{ steps.buildx.outputs.name }} # Note: tags has to be all lower-case build-args: | - BASE_IMAGE=python:3.12-slim-bookworm + BASE_IMAGE=python:3.13-slim-bookworm pull: true tags: | scit0/extract_otp_secrets:latest @@ -239,7 +239,7 @@ jobs: file: docker/Dockerfile # builder: ${{ steps.buildx.outputs.name }} build-args: | - BASE_IMAGE=python:3.12-slim-bullseye + BASE_IMAGE=python:3.13-slim-bullseye # Note: tags has to be all lower-case pull: true tags: | diff --git a/.github/workflows/ci_release.yml b/.github/workflows/ci_release.yml index 0ed60a2..ad0ff69 100644 --- a/.github/workflows/ci_release.yml +++ b/.github/workflows/ci_release.yml @@ -270,11 +270,11 @@ jobs: - uses: actions/checkout@v4 - name: Set macos macos_python_path # TODO use variable for Python version - run: echo "macos_python_path=/Library/Frameworks/Python.framework/Versions/3.12" >> $GITHUB_ENV - - name: Set up Python 3.12 + run: echo "macos_python_path=/Library/Frameworks/Python.framework/Versions/3.13" >> $GITHUB_ENV + - name: Set up Python 3.13 uses: actions/setup-python@v5 with: - python-version: 3.12 + python-version: 3.13 check-latest: true - name: Install zbar shared lib for QReader (Linux) if: runner.os == 'Linux'