Skip to content

Commit 6d21e3e

Browse files
sfc-gh-stakedaankit-bhatnagar167
authored andcommitted
SNOW-119802: upgrade pyarrow to 0.15.1 for Travis
1 parent 3f1ed6e commit 6d21e3e

File tree

2 files changed

+7
-15
lines changed

2 files changed

+7
-15
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ matrix:
1313
python: '3.7'
1414
- os: osx
1515
language: generic
16-
env: PYTHON_VERSION=3.6.7
16+
env: PYTHON_VERSION=3.7.5
1717
- os: linux
1818
python: '3.7'
1919
env: SNOWFLAKE_AZURE=true

scripts/install.sh

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,11 @@ set -o pipefail
77
THIS_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
88

99
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
10-
brew update
11-
brew install openssl readline sqlite3 xz zlib
12-
brew outdated pyenv || brew upgrade pyenv
13-
brew install pyenv-virtualenv
14-
pyenv install ${PYTHON_VERSION}
15-
export PYENV_VERSION=$PYTHON
16-
export PATH="${HOME}/.pyenv/shims:${PATH}"
17-
if [[ $PYTHON_VERSION == "2.7"* ]]; then
18-
pip install -U virtualenv
19-
python -m virtualenv venv
20-
else
21-
python3 -m venv venv
22-
fi
10+
curl -O https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VERSION}-macosx10.9.pkg
11+
sudo installer -pkg python-${PYTHON_VERSION}-macosx10.9.pkg -target /
12+
which python3
13+
python3 --version
14+
python3 -m venv venv
2315
else
2416
sudo apt-get update
2517
pip install -U virtualenv
@@ -43,7 +35,7 @@ fi
4335
if [ "$TRAVIS_OS_NAME" == "osx" ]; then
4436
export ENABLE_EXT_MODULES=true
4537
cd $THIS_DIR/..
46-
pip install Cython pyarrow==0.14.1 wheel
38+
pip install Cython pyarrow==0.15.1 wheel
4739
python setup.py bdist_wheel
4840
unset ENABLE_EXT_MODULES
4941
CONNECTOR_WHL=$(ls $THIS_DIR/../dist/snowflake_connector_python*.whl | sort -r | head -n 1)

0 commit comments

Comments
 (0)