Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to py37 #256

Open
wants to merge 28 commits into
base: master
Choose a base branch
from
Open

Conversation

RobertArbon
Copy link
Contributor

@RobertArbon RobertArbon commented Nov 28, 2020

  • Implement feature / fix bug
  • Add tests
  • 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.

  1. No more sklearn.externals.joblib. system joblib is imported now. Datasetsloader default is system joblib.
  2. MSMBuilder not compatible with py37. MSMBuilder tests are now optional. Changed build recipe to exclude MSMBuilder.
  3. Pandas ix is now fully deprecated. Using .loc instead.
  4. numpy skipif decorator not found. changed import statement to find it.

Also changed some other things:

  1. Made tests of optional packages (GPy, MSMBuilder, Hyperopt) dependent on the try/except pattern rather than the module in sys.modules pattern.
  2. Included basic PyEMMA test.
  3. a test that was using MSMBuilder now uses sklearn instead.
  4. yaml.load requires Loader variable. Not essential but fixed anyway.
  5. check_scoring import deprecated in next sklearn version. changed import statement to be future comptible. Not essential.

unknown and others added 28 commits October 6, 2018 12:40
Refactor has passed all tests.  Still to fold hyperopt_tpe into new structure and to re-jig input files
Updating the latest few commits from master branch.
This makes my Development up to date with the master branch which includes my
refactor.
@RobertArbon RobertArbon marked this pull request as ready for review November 29, 2020 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant