From 43321127dfb7818087d7b404a54a5cedeedecc2c Mon Sep 17 00:00:00 2001 From: Philip de Nier Date: Tue, 8 Oct 2024 10:08:57 +0100 Subject: [PATCH] Pin python docker version to workaround psycopg2 import error The Python package reports that up to Python 3.12 is supported. See also https://github.com/psycopg/psycopg2/issues/1692 --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 7b5ef53..d81590f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,9 @@ MS_DOCKER_UNITTEST:=FALSE +# Import of psycopg2, which is used in aiopg and aiocypher unit tests, failed on Python 3.13. +# psycopg2 reports support up to 3.12. See also https://github.com/psycopg/psycopg2/issues/1692 +CLOUDFIT_BASE_LABEL:=3.12 + include ./static-commontooling/make/lib_static_commontooling.mk include ./static-commontooling/make/standalone.mk include ./static-commontooling/make/pythonic.mk