Skip to content

Commit 848094c

Browse files
[Github][CI] Bump Windows CI Container Python to v3.12.3 (llvm#172383)
This is primarily intended to upgrade past python 3.9 so that we can continue building MLIR after https://discourse.llvm.org/t/rfc-adopt-regularly-scheduled-python-minimum-version-bumps/88841/9 lands. This also makes us consistent with the Linux container. I tested this locally by building the container with this change applied and running the entire premerge pipeline within the freshly built container.
1 parent 41ffab0 commit 848094c

File tree

1 file changed

+1
-4
lines changed
  • .github/workflows/containers/github-action-ci-windows

1 file changed

+1
-4
lines changed

.github/workflows/containers/github-action-ci-windows/Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,13 @@ RUN regsvr32 /S "C:\BuildTools\DIA SDK\bin\amd64\msdia140.dll" & \
3939

4040
# install tools as described in https://llvm.org/docs/GettingStartedVS.html
4141
# and a few more that were not documented...
42-
# Pin an older version of Python; the current Python 3.10 fails when
43-
# doing "pip install" for the other dependencies, as it fails to find libxml
44-
# while compiling some package.
4542
# We version pin the other packages as well to ensure the container build is as
4643
# reproducible as possible to prevent issues when upgrading only part of the
4744
# container.
4845
RUN choco install -y ninja --version 1.13.1 && \
4946
choco install -y git --version 2.50.1 && \
5047
choco install -y sccache --version 0.10.0 && \
51-
choco install -y python3 --version 3.9.7
48+
choco install -y python3 --version 3.12.3
5249

5350
# Testing requires psutil
5451
RUN pip install psutil

0 commit comments

Comments
 (0)