From 8e9db20a3b27cdb71d0e475d6b79255c9ab78f0f Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Mon, 24 Apr 2023 16:31:57 +0300 Subject: windows/Dockerfile: Pin python to 3.11.2 Version 3.11.3+ and 3.12 change the way subprocess with shell=True works to no longer use the PATH but instead rely on %ComSpec% or %SystemRoot% which are currently not present in the cerbero env. https://github.com/python/cpython/commit/51b079a2d6c9a7a852c04823ef4180c36eed682b Pin to 3.11.2 until we fix cerbero. https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/427 Part-of: --- ci/docker/windows/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ci') diff --git a/ci/docker/windows/Dockerfile b/ci/docker/windows/Dockerfile index e76ff596cc..0f9e941591 100644 --- a/ci/docker/windows/Dockerfile +++ b/ci/docker/windows/Dockerfile @@ -16,7 +16,8 @@ RUN choco install -y cmake --installargs 'ADD_CMAKE_TO_PATH=System' RUN choco install -y git --params '/NoAutoCrlf /NoCredentialManager /NoShellHereIntegration /NoGuiHereIntegration /NoShellIntegration' RUN choco install -y git-lfs RUN choco install -y 7zip -RUN choco install -y python3 --installargs 'AssociateFiles=1 PrependPath=1 Include_pip=1 Include_dev=1' +# See https://gitlab.freedesktop.org/gstreamer/cerbero/-/issues/427 +RUN choco install -y python3 --version=3.11.2 --installargs 'AssociateFiles=1 PrependPath=1 Include_pip=1 Include_dev=1' RUN choco install -y msys2 --params '/NoPath /NoUpdate /InstallDir:C:\\msys64' RUN choco install -y wixtoolset -- cgit v1.2.1