Skip to content

Apache DataFusion SQL Query Engine

ARROW-2624: [Python] Random schema generator for Arrow conversion and Parquet testing

Krisztián Szűcsfeae92ecd1f4
diff --git a/ci/appveyor-cpp-build.bat b/ci/appveyor-cpp-build.bat
index 91212a63fe..b8e4316132 100644
--- a/ci/appveyor-cpp-build.bat
+++ b/ci/appveyor-cpp-build.bat
@@ -91,7 +91,7 @@ if "%JOB%" == "Build_Debug" (
conda create -n arrow -q -y ^
python=%PYTHON% ^
- six pytest setuptools numpy pandas cython ^
+ six pytest setuptools numpy pandas cython hypothesis ^
thrift-cpp=0.11.0 boost-cpp ^
-c conda-forge
diff --git a/ci/conda_env_python.yml b/ci/conda_env_python.yml
index 429851eb2f..c187155275 100644
--- a/ci/conda_env_python.yml
+++ b/ci/conda_env_python.yml
@@ -16,6 +16,8 @@
# under the License.
cython
+cloudpickle
+hypothesis
nomkl
numpy
pandas
diff --git a/ci/cpp-msvc-build-main.bat b/ci/cpp-msvc-build-main.bat
index ef961b2e0f..7349f8d3ac 100644
--- a/ci/cpp-msvc-build-main.bat
+++ b/ci/cpp-msvc-build-main.bat
@@ -112,6 +112,6 @@ pip install %WHEEL_PATH% || exit /B
python -c "import pyarrow" || exit /B
python -c "import pyarrow.parquet" || exit /B
-pip install pandas pickle5 pytest pytest-faulthandler || exit /B
+pip install pandas pickle5 pytest pytest-faulthandler hypothesis || exit /B
py.test -r sxX --durations=15 --pyargs pyarrow.tests || exit /B
diff --git a/ci/travis_script_python.sh b/ci/travis_script_python.sh
index e4290ed8ee..b316c81f3b 100755
--- a/ci/travis_script_python.sh
+++ b/ci/travis_script_python.sh
@@ -51,13 +51,11 @@ if [ $ARROW_TRAVIS_PYTHON_JVM == "1" ]; then
CONDA_JVM_DEPS="jpype1"
fi
-conda install -y -q pip \
- nomkl \
- cloudpickle \
+conda install -y -q \
+ --file $TRAVIS_BUILD_DIR/ci/conda_env_python.yml \
+ pip \
numpy=1.13.1 \
- ${CONDA_JVM_DEPS} \
- pandas \
- cython
+ ${CONDA_JVM_DEPS}
if [ "$ARROW_TRAVIS_PYTHON_DOCS" == "1" ] && [ "$PYTHON_VERSION" == "3.6" ]; then
# Install documentation dependencies
diff --git a/dev/release/rat_exclude_files.txt b/dev/release/rat_exclude_files.txt
index 0baf29edd8..e274d97548 100644
--- a/dev/release/rat_exclude_files.txt
+++ b/dev/release/rat_exclude_files.txt
@@ -129,6 +129,7 @@ python/MANIFEST.in
python/pyarrow/includes/__init__.pxd
python/pyarrow/tests/__init__.py
python/requirements.txt
+python/requirements-test.txt
pax_global_header
MANIFEST.in
__init__.pxd
diff --git a/dev/release/verify-release-candidate.sh b/dev/release/verify-release-candidate.sh
index 5b666630d1..57b1850337 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.txt
+ pip install -r requirements-test.txt
python setup.py build_ext --inplace --with-parquet --with-plasma
py.test pyarrow -v --pdb