File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626# provided versions
2727conda create -n testenv --yes python=$PYTHON_VERSION pip
2828source activate testenv
29- pip install scikit-learn==$SKLEARN_VERSION
3029
3130python --version
3231pip install -e ' .[test]'
4544if [[ " $RUN_FLAKE8 " == " true" ]]; then
4645 pip install flake8 mypy
4746fi
47+
48+ # Install scikit-learn last to make sure the openml package installation works
49+ # from a clean environment without scikit-learn.
50+ pip install scikit-learn==$SKLEARN_VERSION
Original file line number Diff line number Diff line change 66with open ("openml/__version__.py" ) as fh :
77 version = fh .readlines ()[- 1 ].split ()[- 1 ].strip ("\" '" )
88
9+ # Using Python setup.py install will try to build numpy which prone to failure and
10+ # very time consuming anyway.
911if len (sys .argv ) > 1 and sys .argv [1 ] == 'install' :
1012 print ('Please install this package with pip: `pip install -e .` '
1113 'Installation requires pip>=10.0.' )
You can’t perform that action at this time.
0 commit comments