Apache DataFusion SQL Query Engine
ARROW-4045: [Packaging/Python] Add hypothesis test dependency to wheel crossbow tests
Krisztián Szűcs91034f114c87
diff --git a/dev/release/rat_exclude_files.txt b/dev/release/rat_exclude_files.txtindex e274d97548..f2e3f164fa 100644--- a/dev/release/rat_exclude_files.txt+++ b/dev/release/rat_exclude_files.txt@@ -130,6 +130,7 @@ python/pyarrow/includes/__init__.pxdpython/pyarrow/tests/__init__.pypython/requirements.txtpython/requirements-test.txt+python/requirements-wheel.txtpax_global_headerMANIFEST.in__init__.pxddiff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.shindex 45404b03df..71324ec12f 100755--- a/dev/release/verify-release-candidate.sh+++ b/dev/release/verify-release-candidate.sh@@ -189,7 +189,7 @@ test_and_install_cpp() {test_python() {pushd python- pip install -r requirements-test.txt+ pip install -r requirements.txt -r requirements-test.txtpython setup.py build_ext --inplace --with-parquet --with-plasmapy.test pyarrow -v --pdbdiff --git a/dev/tasks/python-wheels/appveyor.yml b/dev/tasks/python-wheels/appveyor.ymlindex 016041a6c6..c220f922bc 100644--- a/dev/tasks/python-wheels/appveyor.yml+++ b/dev/tasks/python-wheels/appveyor.yml@@ -20,7 +20,7 @@ os: Visual Studio 2015environment:ARCH: "64"GENERATOR: Visual Studio 14 2015 Win64- NUMPY: "{{ numpy_version }}"+ NUMPY: "1.14.5"PYTHON: "{{ python_version }}"MSVC_DEFAULT_OPTIONS: ONARROW_SRC: C:\apache-arrowdiff --git a/dev/tasks/python-wheels/linux-test.sh b/dev/tasks/python-wheels/linux-test.shindex 163730a9f3..234ce8d561 100755--- a/dev/tasks/python-wheels/linux-test.sh+++ b/dev/tasks/python-wheels/linux-test.sh@@ -30,5 +30,5 @@ python -c "import pyarrow.parquet"python -c "import pyarrow.plasma"# Run pyarrow tests-pip install pytest pandas+pip install -r /arrow/python/requirements-test.txtpytest --pyargs pyarrowdiff --git a/dev/tasks/python-wheels/osx-build.sh b/dev/tasks/python-wheels/osx-build.shindex 5c69904ff4..22c44c1573 100755--- a/dev/tasks/python-wheels/osx-build.sh+++ b/dev/tasks/python-wheels/osx-build.sh@@ -99,9 +99,8 @@ function build_wheel {# build will also work with newer NumPy versions.export ARROW_HOME=`pwd`/arrow-distexport PARQUET_HOME=`pwd`/arrow-dist- if [ -n "$BUILD_DEPENDS" ]; then- pip install $(pip_opts) $BUILD_DEPENDS- fi++ pip install $(pip_opts) -r python/requirements-wheel.txt cythonpushd cppmkdir build@@ -161,10 +160,6 @@ function install_run {wheelhouse="$PWD/python/dist"- # Install test dependencies and built wheel- if [ -n "$TEST_DEPENDS" ]; then- pip install $(pip_opts) $TEST_DEPENDS- fi# Install compatible wheelpip install $(pip_opts) \$(python $multibuild_dir/supported_wheels.py $wheelhouse/*.whl)@@ -179,7 +174,8 @@ function install_run {python -c "import pyarrow.plasma"# Run pyarrow tests- pip install pytest pytest-faulthandler+ pip install $(pip_opts) -r python/requirements-test.txt+py.test --pyargs pyarrowpopddiff --git a/dev/tasks/python-wheels/travis.linux.yml b/dev/tasks/python-wheels/travis.linux.ymlindex 9a8f804d1c..17888ccc9f 100644--- a/dev/tasks/python-wheels/travis.linux.yml+++ b/dev/tasks/python-wheels/travis.linux.yml@@ -42,7 +42,6 @@ script:- docker run --shm-size=2g-e SETUPTOOLS_SCM_PRETEND_VERSION={{ arrow.version }}-e PYTHON_VERSIONS="{{ python_version }},{{ unicode_width }}"- -e WHEEL_VERSION={{ wheel_version }}-v $PWD:/io-v $PWD/../../:/arrowquay.io/xhochy/arrow_manylinux1_x86_64_base:latest /io/build_arrow.shdiff --git a/dev/tasks/python-wheels/travis.osx.yml b/dev/tasks/python-wheels/travis.osx.ymlindex 2f0d168a3f..c6bd010da4 100644--- a/dev/tasks/python-wheels/travis.osx.yml+++ b/dev/tasks/python-wheels/travis.osx.yml@@ -29,8 +29,6 @@ env:- PYARROW_VERSION={{ arrow.version }}- PYARROW_BUILD_VERBOSE=1- MB_PYTHON_VERSION={{ python_version }}- - BUILD_DEPENDS="wheel=={{ wheel_version }} numpy=={{ numpy_version }} cython==0.27.3 six"- - TEST_DEPENDS="numpy=={{ numpy_version }} pandas=={{ pandas_version }} six"before_install:- git clone https://github.com/matthew-brett/multibuild # TODO pin itdiff --git a/dev/tasks/python-wheels/win-build.bat b/dev/tasks/python-wheels/win-build.batindex 22e306ab1f..f85c8e8b74 100644--- a/dev/tasks/python-wheels/win-build.bat+++ b/dev/tasks/python-wheels/win-build.bat@@ -82,7 +82,7 @@ popd@rem test the wheelcall deactivateconda create -n wheel-test -q -y python=%PYTHON% ^- numpy=%NUMPY% pandas pytest+ numpy=%NUMPY% pandas pytest hypothesiscall activate wheel-testpip install --no-index --find-links=%ARROW_SRC%\python\dist\ pyarrowdiff --git a/dev/tasks/tasks.yml b/dev/tasks/tasks.ymlindex bd49616f6b..ea104d507e 100644--- a/dev/tasks/tasks.yml+++ b/dev/tasks/tasks.yml@@ -146,7 +146,6 @@ tasks:platform: linuxtemplate: python-wheels/travis.linux.ymlparams:- wheel_version: 0.31.1python_version: 2.7unicode_width: 16test_docker_images: []@@ -157,7 +156,6 @@ tasks:platform: linuxtemplate: python-wheels/travis.linux.ymlparams:- wheel_version: 0.31.1python_version: 2.7unicode_width: 32test_docker_images:@@ -169,7 +167,6 @@ tasks:platform: linuxtemplate: python-wheels/travis.linux.ymlparams:- wheel_version: 0.31.1python_version: 3.5unicode_width: 16test_docker_images:@@ -181,7 +178,6 @@ tasks:platform: linuxtemplate: python-wheels/travis.linux.ymlparams:- wheel_version: 0.31.1python_version: 3.6unicode_width: 16test_docker_images:@@ -193,7 +189,6 @@ tasks:platform: linuxtemplate: python-wheels/travis.linux.ymlparams:- wheel_version: 0.31.1python_version: 3.7unicode_width: 16test_docker_images:@@ -207,10 +202,7 @@ tasks:platform: osxtemplate: python-wheels/travis.osx.ymlparams:- numpy_version: 1.14.5- pandas_version: 0.23.0python_version: 2.7- wheel_version: 0.31.1artifacts:- pyarrow-{version}-cp27-cp27m-macosx_10_6_intel.whl@@ -218,10 +210,7 @@ tasks:platform: osxtemplate: python-wheels/travis.osx.ymlparams:- numpy_version: 1.14.5- pandas_version: 0.23.0python_version: 3.5- wheel_version: 0.31.1artifacts:- pyarrow-{version}-cp35-cp35m-macosx_10_6_intel.whl@@ -229,10 +218,7 @@ tasks:platform: osxtemplate: python-wheels/travis.osx.ymlparams:- numpy_version: 1.14.5- pandas_version: 0.23.0python_version: 3.6- wheel_version: 0.31.1artifacts:- pyarrow-{version}-cp36-cp36m-macosx_10_6_intel.whl@@ -240,10 +226,7 @@ tasks:platform: osxtemplate: python-wheels/travis.osx.ymlparams:- numpy_version: 1.14.5- pandas_version: 0.23.0python_version: 3.7- wheel_version: 0.31.1artifacts:- pyarrow-{version}-cp37-cp37m-macosx_10_6_intel.whl@@ -253,7 +236,6 @@ tasks:platform: wintemplate: python-wheels/appveyor.ymlparams:- numpy_version: 1.14.5python_version: 3.5artifacts:- pyarrow-{version}-cp35-cp35m-win_amd64.whl@@ -262,7 +244,6 @@ tasks:platform: wintemplate: python-wheels/appveyor.ymlparams:- numpy_version: 1.14.5python_version: 3.6artifacts:- pyarrow-{version}-cp36-cp36m-win_amd64.whl@@ -271,7 +252,6 @@ tasks:platform: wintemplate: python-wheels/appveyor.ymlparams:- numpy_version: 1.14.5python_version: 3.7artifacts:- pyarrow-{version}-cp37-cp37m-win_amd64.whl