Skip to content

Conversation

hayesall
Copy link
Member

@hayesall hayesall commented Aug 14, 2020

  • Drop from sklearn.utils.fixes import np_version

What does this implement/fix? Explain your changes.

The specification for np_version changed in scikit-learn,
leading to an error when tests ran.

However, the test was whether the numpy version was less than
1.7.0, which is outside the minimum version specified in
setup.py and requirements.txt

Any other comments?

Relevant PR in scikit-learn: scikit-learn/scikit-learn#17670

Drop `from sklearn.utils.fixes import np_version`

The specification for `np_version` changed in `scikit-learn`,
leading to an error when tests ran.

However, the test was whether the `numpy` version was less than
`1.7.0`, which is outside the minimum version specified in
`setup.py` and `requirements.txt`
@hayesall hayesall changed the title 👽 Drop np_version import [MNT] 👽 Drop np_version import Aug 14, 2020
@hayesall hayesall merged commit 0acd717 into scikit-learn-contrib:master Aug 17, 2020
@hayesall hayesall deleted the np_version branch August 17, 2020 21:04
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