From 28d315109093eb40f7417965b9234c717bb7bdc1 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 1 Apr 2025 13:46:35 +0200 Subject: [PATCH] Python 3.11 container base (#3077) --- .github/workflows/test-only.yml | 1 - .github/workflows/test-stack-reusable-workflow.yml | 2 +- Dockerfile | 3 --- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/test-only.yml b/.github/workflows/test-only.yml index 3d61ca2a..dbdaa7fb 100644 --- a/.github/workflows/test-only.yml +++ b/.github/workflows/test-only.yml @@ -28,7 +28,6 @@ jobs: uses: ./.github/workflows/test-stack-reusable-workflow.yml with: python-version: '3.11' - skip-pypuppeteer: true test-application-3-12: needs: lint-code diff --git a/.github/workflows/test-stack-reusable-workflow.yml b/.github/workflows/test-stack-reusable-workflow.yml index 29903c17..b77fef35 100644 --- a/.github/workflows/test-stack-reusable-workflow.yml +++ b/.github/workflows/test-stack-reusable-workflow.yml @@ -7,7 +7,7 @@ on: description: 'Python version to use' required: true type: string - default: '3.10' + default: '3.11' skip-pypuppeteer: description: 'Skip PyPuppeteer (not supported in 3.11/3.12)' required: false diff --git a/Dockerfile b/Dockerfile index c993ab24..9aac044b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,5 @@ # pip dependencies install stage -# @NOTE! I would love to move to 3.11 but it breaks the async handler in changedetectionio/content_fetchers/puppeteer.py -# If you know how to fix it, please do! and test it for both 3.10 and 3.11 - ARG PYTHON_VERSION=3.11 FROM python:${PYTHON_VERSION}-slim-bookworm AS builder