From 4a4c9f9ccfd67cf6621c6a6f5addd729b41cf9b5 Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Wed, 6 Dec 2023 14:16:47 -0700 Subject: [PATCH 1/2] Update to python 12 --- Dockerfile.alpine | 2 +- Dockerfile.slim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 03f432a..a630612 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -1,4 +1,4 @@ -FROM python:3.11-alpine +FROM python:3.12-alpine ENV DRYRUN 'True' ENV DEBUG 'True' diff --git a/Dockerfile.slim b/Dockerfile.slim index 59c9a02..4e586d8 100644 --- a/Dockerfile.slim +++ b/Dockerfile.slim @@ -1,4 +1,4 @@ -FROM python:3.11-slim +FROM python:3.12-slim ENV DRYRUN 'True' ENV DEBUG 'True' From 023b6387295e75cca3845c43d6c14f54fdda5b50 Mon Sep 17 00:00:00 2001 From: Luigi311 Date: Tue, 8 Oct 2024 04:59:44 +0000 Subject: [PATCH 2/2] CI: Pin to python 3.12 --- .github/workflows/ci.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dad43c3..3ee78f9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,12 +9,19 @@ on: - .gitignore - "*.md" +env: + PYTHON_VERSION: '3.12' + jobs: pytest: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + - name: "Install dependencies" run: pip install -r requirements.txt && pip install -r test/requirements.txt @@ -26,6 +33,10 @@ jobs: steps: - uses: actions/checkout@v3 + - uses: actions/setup-python@v5 + with: + python-version: ${{ env.PYTHON_VERSION }} + - name: "Install dependencies" run: | pip install -r requirements.txt