Skip to content

Apache DataFusion SQL Query Engine

ARROW-8466: [Packaging] The python unittests are not running in the windows wheel builds

Krisztián Szűcs1270ea7c4a69
diff --git a/dev/tasks/python-wheels/win-build-3.5.bat b/dev/tasks/python-wheels/win-build-3.5.bat
index 72e8e0de0a..1e2d2cab6f 100644
--- a/dev/tasks/python-wheels/win-build-3.5.bat
+++ b/dev/tasks/python-wheels/win-build-3.5.bat
@@ -18,9 +18,9 @@
@echo on
@rem create conda environment for compiling
-conda update --yes --quiet conda
+call conda update --yes --quiet conda
-conda create -n wheel-build -q -y -c conda-forge ^
+call conda create -n wheel-build -q -y -c conda-forge ^
"boost-cpp>=1.68.0" ^
"python=3.5" ^
zlib || exit /B
@@ -76,12 +76,12 @@ set ARROW_TEST_DATA=%ARROW_SRC%\testing\data
@rem test the wheel
@rem TODO For maximum reliability, we should test in a plain virtualenv instead.
-conda create -n wheel-test -c conda-forge -q -y python=3.5 || exit /B
+call conda create -n wheel-test -c conda-forge -q -y python=3.5 || exit /B
call conda.bat activate wheel-test
@rem install the built wheel
-pip install -vv %ARROW_SRC%\python\dist\pyarrow-%PYARROW_VERSION%-cp35-cp35m-win_amd64.whl || exit /B
-pip install -q -r %ARROW_SRC%\python\requirements-wheel-test.txt || exit /B
+pip install %ARROW_SRC%\python\dist\pyarrow-%PYARROW_VERSION%-cp35-cp35m-win_amd64.whl || exit /B
+pip install -r %ARROW_SRC%\python\requirements-wheel-test.txt || exit /B
@rem test the imports
python -c "import pyarrow; import pyarrow.parquet" || exit /B
diff --git a/dev/tasks/python-wheels/win-build.bat b/dev/tasks/python-wheels/win-build.bat
index 43706b4371..f26973e861 100644
--- a/dev/tasks/python-wheels/win-build.bat
+++ b/dev/tasks/python-wheels/win-build.bat
@@ -18,9 +18,9 @@
@echo on
@rem create conda environment for compiling
-conda update --yes --quiet conda
+call conda update --yes --quiet conda
-conda create -n wheel-build -q -y -c conda-forge ^
+call conda create -n wheel-build -q -y -c conda-forge ^
--file=%ARROW_SRC%\ci\conda_env_cpp.yml ^
--file=%ARROW_SRC%\ci\conda_env_gandiva.yml ^
python=%PYTHON_VERSION% || exit /B
@@ -88,12 +88,12 @@ set ARROW_TEST_DATA=%ARROW_SRC%\testing\data
@rem test the wheel
@rem TODO For maximum reliability, we should test in a plain virtualenv instead.
-conda create -n wheel-test -c conda-forge -q -y python=%PYTHON_VERSION% || exit /B
+call conda create -n wheel-test -c conda-forge -q -y python=%PYTHON_VERSION% || exit /B
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
-pip install -q -r %ARROW_SRC%\python\requirements-wheel-test.txt || exit /B
+pip install -r %ARROW_SRC%\python\requirements-wheel-test.txt || exit /B
+pip install --no-index --find-links=%ARROW_SRC%\python\dist\ pyarrow || exit /B
@rem test the imports
python -c "import pyarrow; import pyarrow.parquet; import pyarrow.flight; import pyarrow.dataset; import pyarrow.gandiva;" || exit /B