@@ -105,12 +105,12 @@ This PR will be used to push commits related to the release as explained in
105
105
:ref: `making_a_release `.
106
106
107
107
You can also create a second PR from main and targeting main to increment the
108
- ``__version__ `` variable in `sklearn/__init__.py ` and in ` pyproject.toml ` to increment
109
- the dev version. This means while we're in the release candidate period, the latest
110
- stable is two versions behind the main branch, instead of one. In this PR targeting
111
- main you should also include a new file for the matching version under the
112
- ``doc/whats_new/ `` folder so PRs that target the next version can contribute their
113
- changelog entries to this file in parallel to the release process.
108
+ ``__version__ `` variable in `sklearn/__init__.py ` to increment the dev version.
109
+ This means while we're in the release candidate period, the latest stable is
110
+ two versions behind the main branch, instead of one. In this PR targeting main
111
+ you should also include a new file for the matching version under the
112
+ ``doc/whats_new/ `` folder so PRs that target the next version can contribute
113
+ their changelog entries to this file in parallel to the release process.
114
114
115
115
Minor version release (also known as bug-fix release)
116
116
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -211,7 +211,7 @@ Making a release
211
211
enough) and to update the on-going development entry.
212
212
213
213
2. On the branch for releasing, update the version number in ``sklearn/__init__.py ``,
214
- the ``__version__ `` variable, and in ` pyproject.toml ` .
214
+ the ``__version__ `` variable.
215
215
216
216
For major releases, please add a 0 at the end: `0.99.0 ` instead of `0.99 `.
217
217
0 commit comments