From b85ac5f07fd3b101ca22308b86790092f0af09c5 Mon Sep 17 00:00:00 2001 From: offa Date: Mon, 16 Oct 2023 20:18:35 +0000 Subject: [PATCH] Add Python 3.12 CI build (#1262) --- .github/workflows/test.yml | 2 +- Dockerfile.qa | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 74e1a05bb..99a4155d8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -18,7 +18,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: [ '3.6', '3.7', '3.8', '3.9', '3.11' ] + python-version: [ '3.6', '3.7', '3.8', '3.9', '3.11', '3.12' ] steps: - uses: actions/checkout@v3 diff --git a/Dockerfile.qa b/Dockerfile.qa index 09e64a25b..bbb1a9dd9 100644 --- a/Dockerfile.qa +++ b/Dockerfile.qa @@ -37,6 +37,9 @@ RUN if [ $PYTHON_VERSION = '3.7' ] ; then \ elif [ $PYTHON_VERSION = '3.11' ] ; then \ apt install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ; \ curl -sS https://bootstrap.pypa.io/get-pip.py | python$PYTHON_VERSION ; \ + elif [ $PYTHON_VERSION = '3.12' ] ; then \ + apt install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ; \ + curl -sS https://bootstrap.pypa.io/get-pip.py | python$PYTHON_VERSION ; \ else \ apt install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \ fi