osprey
osprey copied to clipboard
Update to py37
- [x] Implement feature / fix bug
- [x] Add tests
- [x] Update changelog
Currently Osprey doesn't build with Python 3.7 or higher. This is due to a number of problems which this PR fixes.
- No more sklearn.externals.joblib. system joblib is imported now. Datasetsloader default is system joblib.
- MSMBuilder not compatible with py37. MSMBuilder tests are now optional. Changed build recipe to exclude MSMBuilder.
- Pandas ix is now fully deprecated. Using .loc instead.
- numpy
skipif
decorator not found. changed import statement to find it.
Also changed some other things:
- Made tests of optional packages (GPy, MSMBuilder, Hyperopt) dependent on the
try/except
pattern rather than themodule in sys.modules
pattern. - Included basic PyEMMA test.
- a test that was using MSMBuilder now uses sklearn instead.
- yaml.load requires
Loader
variable. Not essential but fixed anyway. -
check_scoring
import deprecated in next sklearn version. changed import statement to be future comptible. Not essential.