From 1a3e916b912dcd3f89c4502803fb08284a586a78 Mon Sep 17 00:00:00 2001 From: Nyanmisaka Date: Fri, 12 Apr 2024 00:30:38 +0800 Subject: [PATCH] Upgrade python3-distutils to python3-setuptools `distutils` (distutils package for Python 3.x) was deprecated a long time ago and will be removed in python 3.12. Upgrade to `setuptools` (Python3 Distutils Enhancements) instead. See also https://bugs.launchpad.net/ubuntu/+source/python3-stdlib-extensions/+bug/2060772 --- images/base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/images/base/Dockerfile b/images/base/Dockerfile index 204a1b6c51..c1cc9808d8 100644 --- a/images/base/Dockerfile +++ b/images/base/Dockerfile @@ -11,7 +11,7 @@ RUN \ gperf itstool ragel libc6-dev zlib1g-dev libssl-dev \ gtk-doc-tools gobject-introspection gawk \ ocaml ocamlbuild libnum-ocaml-dev indent p7zip-full \ - python3-distutils python3-jinja2 python3-jsonschema python3-apt python-is-python3 && \ + python3-setuptools python3-jinja2 python3-jsonschema python3-apt python-is-python3 && \ apt-get -y clean && \ git config --global user.email "builder@localhost" && \ git config --global user.name "Builder" && \