Skip to content

Commit 1872555

Browse files
committed
Merge branch 'master' of https://github.com/biocore/qiita into cart
2 parents 58b28cd + 1a6d125 commit 1872555

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed

.travis.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,13 @@ before_install:
1414
# Update conda itself
1515
- conda update --yes conda
1616
install:
17-
- conda create --yes -n env_name python=$PYTHON_VERSION pip nose openpyxl=1.8.2 pandas>=0.15 pyzmq flake8
18-
- conda install --yes -n env_name python=$PYTHON_VERSION h5py>=2.3.1
17+
# install a few of the dependencies that pip would otherwise try to install
18+
# when intalling scikit-bio
19+
- conda create --yes -n env_name python=$PYTHON_VERSION pip nose flake8 pyzmq networkx pyparsing natsort mock 'pandas>=0.15' 'matplotlib>=1.1.0' 'scipy>0.13.0' 'numpy>= 1.7' 'h5py>=2.3.1' 'future==0.13.0'
1920
- source activate env_name
20-
- pip install coveralls cogent burrito qcli burrito-fillings ipython[all]==2.4.1
21+
- pip install coveralls ipython[all]==2.4.1
2122
- pip install https://github.com/biocore/mustached-octo-ironman/archive/master.zip
22-
- pip install https://github.com/biocore/qiime/archive/master.zip --no-deps
2323
- pip install .
24-
# upgrade click, older versions of click do not have __version__
25-
- pip install -U click
2624
script:
2725
- export MOI_CONFIG_FP=`pwd`/qiita_core/support_files/config_test.txt
2826
- ipython profile create qiita_general --parallel
@@ -32,9 +30,6 @@ script:
3230
- if [ ${TEST_ADD_STUDIES} == "False" ]; then qiita_test_install ; fi
3331
- if [ ${TEST_ADD_STUDIES} == "False" ]; then nosetests --with-doctest --with-coverage ; fi
3432
- if [ ${TEST_ADD_STUDIES} == "False" ]; then flake8 qiita_* setup.py scripts/qiita scripts/qiita_env scripts/qiita_test_install ; fi
35-
# we need to run the test suite from setup.py for coveralls to grab the info
36-
# - coverage run setup.py test
37-
# - coverage report -m
3833
services:
3934
- redis-server
4035
after_success:

qiita_pet/handlers/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get(self):
5959

6060
# Pull a random public study from the database
6161
public_studies = Study.get_by_status('public')
62-
study = Study(choice(public_studies)) if public_studies else None
62+
study = Study(choice(list(public_studies))) if public_studies else None
6363
if study is None:
6464
random_study_info = None
6565
random_study_title = None

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
scripts=glob('scripts/*'),
7676
extras_require={'test': ["nose >= 0.10.1", "pep8", 'mock'],
7777
'doc': ["Sphinx >= 1.2.2", "sphinx-bootstrap-theme"]},
78-
install_requires=['psycopg2', 'click == 1.0', 'future==0.13.0',
78+
install_requires=['psycopg2', 'click >= 3.3', 'future==0.13.0',
7979
'bcrypt', 'pandas >= 0.15', 'numpy >= 1.7',
8080
'tornado==3.1.1', 'toredis', 'redis',
8181
'ipython[all] >= 2.4.1, < 2.5', 'pyparsing',

0 commit comments

Comments
 (0)