From b0653d15d2a414910e594401770e4cfa3d2fe907 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomek=20Z=CC=87ukowski?= Date: Mon, 28 Sep 2020 13:13:14 +0200 Subject: [PATCH] Modify requirements --- .travis.yml | 22 +++++++++++++++++----- hello.py | 2 +- requirements.txt | 15 ++++++++++++++- 3 files changed, 32 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index b666f03..fe21c98 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,18 @@ -language: python +language: generic sudo: false -python: -- 2.7 -- 3.4 -script: py.test -v +os: osx +install: + # We do this conditionally because it saves us some downloading if the + # version is the same. + - wget https://repo.anaconda.com/archive/Anaconda3-2020.07-MacOSX-x86_64.sh -O anaconda.sh; + - bash anaconda.sh -b -p $HOME/anaconda + - source "$HOME/anaconda/etc/profile.d/conda.sh" + - hash -r + - conda config --set always_yes yes --set changeps1 no + - conda update -q conda + # Useful for debugging any issues with conda + - conda info -a + - conda init + - pip install -r requirements.txt + +script: python py.test -v diff --git a/hello.py b/hello.py index d4fb0b0..8cd9f18 100644 --- a/hello.py +++ b/hello.py @@ -3,7 +3,7 @@ def hello(what): - print('Hello, {}!'.format(what)) + print('Hello there, {}!'.format(what)) def say_what(): diff --git a/requirements.txt b/requirements.txt index e079f8a..4bfedf3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1 +1,14 @@ -pytest +pyhive[hive]==0.6.2 +grpcio==1.28.1 +google-cloud-bigquery[bqstorage,pandas,pyarrow]==1.24.0 +google-cloud-storage==1.28.0 +pandas>=1.0.3 +pydata-google-auth==1.1.0 +hmsclient==0.1.1 + +pytest==5.3.2 +pytest-integration==0.2.2 +pytest-cov==2.8.1 +pytest-mock==2.0.0 +pytest-watch==4.2.0 +pycodestyle==2.5.0