From 516b2e5bfe4a1f6d4438cf7566eb33a168c0345c Mon Sep 17 00:00:00 2001 From: Wolfgang Kaltz Date: Wed, 25 Oct 2023 08:19:56 +0200 Subject: [PATCH] Add Python 3.12, set this version as default --- .github/workflows/ci.yaml | 5 +++-- .github/workflows/daily_check.yaml | 5 +++-- Dockerfile | 3 +-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ad8249edc2..d95285f00e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -51,6 +51,7 @@ jobs: - '3.9' - '3.10' - '3.11' + - '3.12' steps: - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - name: Set up Python v${{ matrix.python-version }} @@ -114,10 +115,10 @@ jobs: needs: [lint, gitattributes] steps: - uses: actions/checkout@master - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.12 - name: Install pypa/build run: >- python -m diff --git a/.github/workflows/daily_check.yaml b/.github/workflows/daily_check.yaml index 028d166ab7..0def9bbc79 100644 --- a/.github/workflows/daily_check.yaml +++ b/.github/workflows/daily_check.yaml @@ -46,6 +46,7 @@ jobs: - python3.9 - python3.10 - python3.11 + - python3.12 steps: - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 - run: sudo rm /etc/apt/sources.list.d/*.list @@ -55,10 +56,10 @@ jobs: env: PYTHON_TEST_VERSION: ${{ matrix.python-version }} run: make tests - - name: Set up Python 3.8 + - name: Set up Python 3.12 uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.12 - name: Install pypa/build run: >- python -m diff --git a/Dockerfile b/Dockerfile index 8e6e758079..093ec396bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ -FROM python:3.11-buster +FROM python:3.12-buster ENV DEBIAN_FRONTEND=noninteractive -ENV VIRTUALENV_PYTHON=/usr/bin/python3.8 ARG DEV_PACKAGES="build-essential"