8000 DOC minor updates to release process (#21172) · scikit-learn/scikit-learn@8caa126 · GitHub
[go: up one dir, main page]

Skip to content

Commit 8caa126

Browse files
DOC minor updates to release process (#21172)
Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
1 parent 48d4ee9 commit 8caa126

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

doc/developers/maintainer.rst

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,12 @@ Making a release
211211

212212
https://github.com/scikit-learn/scikit-learn/actions?query=workflow%3A%22Publish+to+Pypi%22
213213

214+
4.1 You can test the conda-forge builds by submitting a PR to the feedstock
215+
repo: https://github.com/conda-forge/scikit-learn-feedstock. If you want to
216+
publish an RC release on conda-forge, the PR should target the `rc` branch
217+
as opposed to the `master` branch. The two branches need to be kept sync
218+
together otherwise.
219+
214220
5. If this went fine, you can proceed with tagging. Proceed with caution.
215221
Ideally, tags should be created when you're almost certain that the release
216222
is ready, since adding a tag to the main repo can trigger certain automated
@@ -272,11 +278,11 @@ Making a release
272278
git clone --depth 1 --no-checkout git@github.com:scikit-learn/scikit-learn.github.io.git
273279
cd scikit-learn.github.io
274280
echo stable > .git/info/sparse-checkout
275-
git checkout master
281+
git checkout main
276282
rm stable
277283
ln -s 0.999 stable
278284
sed -i "s/latestStable = '.*/latestStable = '0.999';/" versionwarning.js
279-
git add stable/ versionwarning.js
285+
git add stable versionwarning.js
280286
git commit -m "Update stable to point to 0.999"
281287
git push origin master
282288

@@ -293,14 +299,11 @@ The following GitHub checklist might be helpful in a release PR::
293299
* [ ] merge the PR with `[cd build]` commit message to upload wheels to the staging repo
294300
* [ ] upload the wheels and source tarball to https://test.pypi.org
295301
* [ ] create tag on the main github repo
296-
* [ ] upload the wheels and source tarball to PyPI
297-
* [ ] https://github.com/scikit-learn/scikit-learn/releases draft
298302
* [ ] confirm bot detected at
299303
https://github.com/conda-forge/scikit-learn-feedstock and wait for merge
304+
* [ ] upload the wheels and source tarball to PyPI
300305
* [ ] https://github.com/scikit-learn/scikit-learn/releases publish
301-
* [ ] fix the binder release version in ``.binder/requirement.txt`` (see
302-
#15847)
303-
* [ ] announce on mailing list and on twitter
306+
* [ ] announce on mailing list and on Twitter, and LinkedIn
304307

305308
Merging Pull Requests
306309
---------------------

0 commit comments

Comments
 (0)
0