Skip to content

Commit d8c43e6

Browse files
[Github][CI] Add python-is-python3 to CI container
This patch adds the python-is-python3 package to the CI container. Windows by default uses python instead of python3, which prevents code sharing without additionaly hackery. This should fix that and allow for #152199 to land.
1 parent 832ceda commit d8c43e6

File tree

1 file changed

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

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,12 @@ RUN apt-get update && \
5959
sudo \
6060
# These are needed by the premerge pipeline. Pip is used to install
6161
# dependent python packages. File and tzdata are used for tests.
62+
# Having a symlink from python to python3 enables code sharing between
63+
# the Linux and Windows pipelines.
6264
python3-pip \
6365
file \
64-
tzdata && \
66+
tzdata \
67+
python-is-python3 && \
6568
apt-get clean && \
6669
rm -rf /var/lib/apt/lists/*
6770

0 commit comments

Comments
 (0)