File tree Expand file tree Collapse file tree 5 files changed +19
-10
lines changed Expand file tree Collapse file tree 5 files changed +19
-10
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ scikit-image==0.16.2
55pandas == 0.25.3
66sphinx-gallery == 0.5.0
77# Need to update the scikit-learn version on each 0.22 minor release
8- scikit-learn == 0.22.2
8+ scikit-learn == 0.22.2.post1
99
Original file line number Diff line number Diff line change 8787#
8888# The short X.Y version.
8989import sklearn
90- version = parse (sklearn .__version__ ). base_version
91- version = "." .join (version .split ("." )[:2 ])
90+ parsed_version = parse (sklearn .__version__ )
91+ version = "." .join (parsed_version . base_version .split ("." )[:2 ])
9292# The full version, including alpha/beta/rc tags.
93- release = sklearn .__version__
93+ # Removes post from release name
94+ if parsed_version .is_postrelease :
95+ release = parsed_version .base_version
96+ else :
97+ release = sklearn .__version__
9498
9599# The language for content autogenerated by Sphinx. Refer to documentation
96100# for a list of supported languages.
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ <h4 class="sk-landing-call-header">News</h4>
156156 < li > < strong > On-going development:</ strong >
157157 < a href ="https://scikit-learn.org/dev/whats_new.html "> < strong > What's new</ strong > (Changelog)</ a >
158158 </ li >
159- < li > < strong > February 2020.</ strong > scikit-learn 0.22.2 is available for download (< a href ="whats_new/v0.22.html#version-0-22-2 "> Changelog</ a > ).
159+ < li > < strong > March 2020.</ strong > scikit-learn 0.22.2 is available for download (< a href ="whats_new/v0.22.html#version-0-22-2 "> Changelog</ a > ).
160160 < li > < strong > January 2020.</ strong > scikit-learn 0.22.1 is available for download (< a href ="whats_new/v0.22.html#version-0-22-1 "> Changelog</ a > ).
161161 < li > < strong > December 2019.</ strong > scikit-learn 0.22 is available for download (< a href ="whats_new/v0.22.html#version-0-22-0 "> Changelog</ a > ).
162162 </ li >
Original file line number Diff line number Diff line change 44
55.. _changes_0_22_2 :
66
7- Version 0.22.2
8- ==============
7+ Version 0.22.2.post1
8+ ====================
9+
10+ **March 3 2020 **
911
10- **February 28 2020 **
12+ The 0.22.2.post1 release includes a packaging fix for the source distribution
13+ but the content of the packages is otherwise identical to the content of the
14+ wheels with the 0.22.2 version (without the .post1 suffix). Both contain the
15+ following changes.
1116
1217Changelog
1318---------
@@ -33,7 +38,7 @@ Changelog
3338 :class: `metrics.PrecisionRecallDisplay ` instead of the parameter `name `. It
3439 results in a different plot when calling
3540 :meth: `metrics.PrecisionRecallDisplay.plot ` for the subsequent times.
36- :pr: `# 16505 ` by :user: `Guillaume Lemaitre <glemaitre> `.
41+ :pr: `16505 ` by :user: `Guillaume Lemaitre <glemaitre> `.
3742
3843:mod: `sklearn.neighbors `
3944..............................
Original file line number Diff line number Diff line change 4040# Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer.
4141# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
4242#
43- __version__ = '0.22.2'
43+ __version__ = '0.22.2.post1 '
4444
4545
4646# On OSX, we can get a runtime error due to multiple OpenMP libraries loaded
You can’t perform that action at this time.
0 commit comments