Skip to content

Commit e4058ef

Browse files
committed
Revert "Try removing python installation and see if there's a python on the base image"
This reverts commit eac026f.
1 parent a1b0652 commit e4058ef

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

ci/docker/python-wheel-windows-vs2022-base.dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,9 @@ RUN curl https://dl.min.io/server/minio/release/windows-amd64/archive/minio.RELE
110110
--output "C:\Windows\Minio.exe"
111111

112112
# Install the GCS testbench using a well-known Python version.
113+
ENV PIPX_BIN_DIR=C:\\Windows\\
114+
ENV PIPX_PYTHON_VERSION=3.11
115+
RUN pymanager install %PIPX_PYTHON_VERSION%
113116
COPY ci/scripts/install_gcs_testbench.bat C:/arrow/ci/scripts/
114117
RUN call "C:\arrow\ci\scripts\install_gcs_testbench.bat" && `
115118
storage-testbench -h

ci/scripts/install_gcs_testbench.bat

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ set GCS_TESTBENCH_VERSION="v0.55.0"
2121

2222
set PIPX_FLAGS=--verbose
2323

24-
python -m pip install -U pipx|| exit /B 1
24+
py -%PIPX_PYTHON_VERSION% -m pip install -U pipx|| exit /B 1
2525

2626
@REM Install GCS testbench %GCS_TESTBENCH_VERSION%
27-
pipx install %PIPX_FLAGS% ^
27+
py -%PIPX_PYTHON_VERSION% -m pipx install --python py %PIPX_FLAGS% ^
2828
"https://github.com/googleapis/storage-testbench/archive/%GCS_TESTBENCH_VERSION%.tar.gz" ^
2929
|| exit /B 1
3030

31-
pipx list --verbose
31+
py -%PIPX_PYTHON_VERSION% -m pipx list --verbose

0 commit comments

Comments
 (0)