Skip to content

FIX skip external modules during all_estimators#13239

Merged
agramfort merged 1 commit intoscikit-learn:masterfrom
pierreglaser:skip-external-modules-during-all-estimators
Feb 25, 2019
Merged

FIX skip external modules during all_estimators#13239
agramfort merged 1 commit intoscikit-learn:masterfrom
pierreglaser:skip-external-modules-during-all-estimators

Conversation

@pierreglaser
Copy link
Copy Markdown
Contributor

sklearn.utils.testing.all_estimators imports the modules it fetches the estimators from. When trying to import the externals.joblib.testing module, a ModuleNotFoundError is raised if pytest is not installed.
I propose to skip the externals package, where there is no estimators.
ping @glemaitre

Copy link
Copy Markdown
Member

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @pierreglaser !

@agramfort agramfort merged commit 98c1f07 into scikit-learn:master Feb 25, 2019
@agramfort
Copy link
Copy Markdown
Member

thx @pierreglaser

xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
xhluca pushed a commit to xhluca/scikit-learn that referenced this pull request Apr 28, 2019
koenvandevelde pushed a commit to koenvandevelde/scikit-learn that referenced this pull request Jul 12, 2019
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.

4 participants