diff options
author | Jordan Petridis <jordan@centricular.com> | 2023-04-24 16:31:57 +0300 |
---|---|---|
committer | GStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2023-04-26 01:38:19 +0000 |
commit | 8e9db20a3b27cdb71d0e475d6b79255c9ab78f0f (patch) | |
tree | 70f56db62a5974d4a5646d3e37e14a37cc6b5f48 /ci | |
parent | dd78aa053bdfcbd4b64e516a6d252a51595581eb (diff) | |
download | gstreamer-8e9db20a3b27cdb71d0e475d6b79255c9ab78f0f.tar.gz |
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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4468>
Diffstat (limited to 'ci')
-rw-r--r-- | ci/docker/windows/Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
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 |