diff --git a/dev/tasks/python-wheels/win-build.bat b/dev/tasks/python-wheels/win-build.bat index 437c1408b60ee..b46c59dd709d5 100644 --- a/dev/tasks/python-wheels/win-build.bat +++ b/dev/tasks/python-wheels/win-build.bat @@ -27,7 +27,7 @@ conda create -n wheel-build -q -y -c conda-forge ^ numpy=%NUMPY_VERSION% ^ || exit /B -conda activate wheel-build +call conda.bat activate wheel-build @rem Cannot use conda_env_python.yml here because conda-forge has @rem ceased providing up-to-date packages for Python 3.5 @@ -84,7 +84,7 @@ pushd %ARROW_SRC%\python python setup.py bdist_wheel || exit /B popd -conda deactivate +call conda.bat deactivate set ARROW_TEST_DATA=%ARROW_SRC%\testing\data @@ -94,7 +94,7 @@ conda create -n wheel-test -c conda-forge -q -y ^ --file %ARROW_SRC%\ci\conda_env_python.yml ^ python=%PYTHON_VERSION% ^ numpy=%NUMPY_VERSION% || exit /B -conda activate wheel-test +call conda.bat activate wheel-test @rem install the built wheel pip install -vv --no-index --find-links=%ARROW_SRC%\python\dist\ pyarrow || exit /B