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

[MRG] Release 0.20.4 #14443

Merged
merged 32 commits into from Jul 29, 2019
Merged

[MRG] Release 0.20.4 #14443

merged 32 commits into from Jul 29, 2019

Conversation

jnothman
Copy link
Member

@jnothman jnothman commented Jul 23, 2019

Not to be squashed.

This takes the PRs from https://github.com/scikit-learn/scikit-learn/milestone/30?closed=1, constructs a change log for them, upgrades vendored Joblib from 0.13.0 to 0.13.2, proposes a release date of 29 July (the coming Monday) and bumps the version.

I would aim to synchronise release with 0.21.3 (#14188), but this one is good to go (pending CI and review) as far as I'm concerned.

TODO after approval:

qinhanmin2014 and others added 11 commits July 23, 2019 13:03
…ifiedKFold (scikit-learn#13124)

* Enable StratifiedKFold to produce different splits

* what's new

* redundant statement

* update what's new

* redundant comment

* add a test

* move what's new entry

* review comment

* review comment
scikit-learn#14237)

* FIX Raise error on reordered columns in ColumnTransformer with remainder

* FIX Check for different length of X.columns to avoid exception

* FIX linter, line too long

* FIX import _check_key_type from its new location utils

* ENH Adjust doc, allow added columns

* Fix comment typo as suggested, remove non-essential exposition in doc

* Add PR 14237 to what's new

* Avoid AttributeError in favor of ValueError "column names only for DF"

* ENH Add check for n_features_ for array-likes and DataFrames

* Rename self.n_features to self._n_features

* Replaced backslash line continuation with parenthesis

* Style changes
@jnothman
Copy link
Member Author

AppVeyor does not appear to be running. Have we disabled it?

@jnothman
Copy link
Member Author

Conda is throwing PackageNotFoundErrors that I'm not sure how to resolve.

@jnothman
Copy link
Member Author

The last commit has strangely not appeared here.

@jnothman jnothman closed this Jul 23, 2019
@jnothman jnothman reopened this Jul 23, 2019
@codecov
Copy link

codecov bot commented Jul 23, 2019

Codecov Report

Merging #14443 into 0.20.X will decrease coverage by 1.54%.
The diff coverage is 52.94%.

Impacted file tree graph

@@            Coverage Diff             @@
##           0.20.X   #14443      +/-   ##
==========================================
- Coverage   93.13%   91.59%   -1.55%     
==========================================
  Files         433      423      -10     
  Lines       75144    73552    -1592     
==========================================
- Hits        69987    67367    -2620     
- Misses       5157     6185    +1028
Impacted Files Coverage Δ
sklearn/feature_selection/rfe.py 97.67% <ø> (ø) ⬆️
...ternals/joblib/externals/loky/backend/reduction.py 71.31% <ø> (-5.74%) ⬇️
sklearn/model_selection/_search.py 98.96% <ø> (-0.35%) ⬇️
sklearn/model_selection/_validation.py 97.35% <ø> (ø) ⬆️
sklearn/model_selection/_split.py 99.17% <100%> (ø) ⬆️
sklearn/cluster/dbscan_.py 100% <100%> (ø) ⬆️
sklearn/cluster/k_means_.py 95.96% <100%> (-1.79%) ⬇️
sklearn/neighbors/tests/test_kde.py 99.28% <100%> (ø) ⬆️
sklearn/model_selection/tests/test_split.py 92.5% <100%> (+0.06%) ⬆️
sklearn/externals/joblib/__init__.py 100% <100%> (ø) ⬆️
... and 97 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b136e9...c4d6722. Read the comment docs.

@jnothman
Copy link
Member Author

Finally it's green!

@amueller
Copy link
Member

amueller commented Jul 23, 2019

Should this be included? #13995, #14114?
Don't have a strong opinion though.

@jnothman
Copy link
Member Author

Neither has until now been proposed for a patch release as far as I know, not for 0.20 nor for 0.21

@jnothman
Copy link
Member Author

Could core devs please review and approve release? Thanks

@adrinjalali
Copy link
Member

Should we fix, or open an issue for some the commits you have here, like 7b0b97b (sorry if that's done and I've missed them)?

@jnothman
Copy link
Member Author

I am pretty sure they are covered elsewhere. Some things like warnings in tests have quick fixes in the patch branch because their fix in master was more substantial or depended on other changes.

@jnothman
Copy link
Member Author

@adrinjalali, for that specific issue see #14125

@jnothman
Copy link
Member Author

Are you fine with this one too, @qinhanmin2014?

Copy link
Member

@qinhanmin2014 qinhanmin2014 left a comment

Choose a reason for hiding this comment

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

CIs are green and the diff seems reasonable, so LGTM and thanks for making this happen.
Though personally I'm not a big fan of 0.20.X, backporting is time-consuming and I guess it's impossible to backport all the bug fixes (only backporting selected bug fixes seems strange). If users want to avoid bugs, they should turn to python3.X.

..............................

- |Fix| Fixed a bug in :class:`cluster.KMeans` where KMeans++ initialisation
could rarely result in an IndexError. :issue:`11756` by `Joel Nothman`_.
Copy link
Member

Choose a reason for hiding this comment

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

this entry is not included in master (and 0.21.3)?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ahh, true. It's now included in the 0.20.4 section in master at least...

Copy link
Member Author

Choose a reason for hiding this comment

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

Sorry for missing it.

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

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

Also, would be happy to give a hand on the task list you have on each release.

@jnothman
Copy link
Member Author

jnothman commented Jul 29, 2019 via email

Copy link
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 for doing the release work @jnothman ! The list of commits and the release notes LGTM.

@jnothman jnothman merged commit c0bd85f into scikit-learn:0.20.X Jul 29, 2019
@jnothman
Copy link
Member Author

Building wheels at https://travis-ci.org/MacPython/scikit-learn-wheels/builds/564977472

@qinhanmin2014
Copy link
Member

Thanks. In case you missed some emails, my review is silently ignored (#14443 (comment)), but that's trivial.

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.

None yet

10 participants