Skip to content

[WIP] Replace externals.six.integer_types with int - #13342

Merged
qinhanmin2014 merged 2 commits into
scikit-learn:masterfrom
jrbourbeau:remove-six-reference
Mar 1, 2019
Merged

qinhanmin2014 merged 2 commits into
scikit-learn:masterfrom
jrbourbeau:remove-six-reference

Conversation

@jrbourbeau

Copy link
Copy Markdown
Contributor

Reference Issues/PRs

six dependencies were removed in #12639 and the use of externals.six was deprecated in #12916

What does this implement/fix? Explain your changes.

This PR replaces references to externals.six.integer_types with int in order to avoid raising a DeprecationWarning

Any other comments?

@ogrisel ogrisel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM as well, just a nitpick otherwise it would have been too easy :)

Comment thread sklearn/neighbors/nca.py Resolved
@qinhanmin2014
qinhanmin2014 merged commit a547311 into scikit-learn:master Mar 1, 2019
@jrbourbeau
jrbourbeau deleted the remove-six-reference branch March 1, 2019 00:48
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