Repository navigation
Open
1 / 11 of 1 issue completedLabels
Needs DecisionRequires decision
Description
Warning
This issue is not yet ready for a PR. If you are interested in contributing to scikit-learn, please have a look at our contributing guidelines, and in particular the sections for new contributors and the "Needs triage" label.
I created https://github.com/scikit-learn/scikit-learn-release/ to move wheel building out of this repo. Once it's all configure, this is what releasing will look like:
- In this repo, create a new release branch and prepare it for release. Open any PRs and merge in changes.
- Trigger the Publish sdist and wheels with the "chain" option. Also set
refto the branch name onscikit-learn/scikit-learn. - With the "chain" option, the wheels are built first and stored as artifacts. The Github UI will need a release manager to trigger the publish to
testpypi.- The "chain" will publish to
testpypifirst and thenpypiafterwards.
- The "chain" will publish to
- After testpypi publish succeeds, push a tag to
scikit-learn/scikit-learnfor the release. - In the Github UI, the release manager triggers the final publish to
pypi.
Plan
- release development wheels from scikit-learn-release. Done since August 2026 Upload development wheels scikit-learn-release#5 and CI Stop uploading nightly wheels from scikit-learn repo #34593
- release 1.9.1 from scikit-learn-release Release scikit-learn 1.9.1 from
scikit-learn-releaserepo #34898 - release 1.10.0 from scikit-learn-release scheduled around November/December 2026
- Update maintainer release instructions in scikit-learn rst files
Other things to do at one point
- Update README.md to do something similar to numpy
- Reenable CI in
scikit-learn-releaseto run all tests. I have been usingpytest --pyargs sklearn.tests.test_dummyfor a faster iteration loop. Example - In wheels.yml, add secrets for nightly uploads for
scientific-python-nightly-wheels
Reacted by Christian Lorentzen and Stefanie Senger
Sub-issues
Collapse Sub-issuesSub-issues
Loading 1 sub-issues
Metadata
Metadata
Assignees
Labels
Needs DecisionRequires decision
Activity
ogrisel commentedon Jun 19, 2026
Do we need this? Couldn't the
SOURCE_REF_TO_BUILDvalue be passed via a new input field in the manualworkflow_dispatchform instead?github-actions commentedon Jun 19, 2026
ogrisel commentedon Jun 19, 2026
In which UI does this manual operation happen?
thomasjpfan commentedon Jun 19, 2026
Good point. Yea, that works as well.
It happens in the workflow run page. There will be a "Review deployment" button to unblock the next step. For example, this is what it looks for unblock the
testpypistep:ogrisel commentedon Jun 19, 2026
TODO: document the policy (and/or a script) to update the contents of https://github.com/scikit-learn/scikit-learn-release/tree/main/requirements
For the longer term, I would rather use explicit lockfiles instead of simple requirements files. This would improve reproducibility and ease auditing in case of suspicion of malware corruption of our release supply chain. I put more detailed in this issue scikit-learn/scikit-learn-release#1. We don't need to implement it all from the start though.
ogrisel commentedon Jun 19, 2026
I think the github release artifact should also archive the resolved commit hash of
SOURCE_REF_TO_BUILDalong with the commit hash ofscikit-learn-repoat the time of the workflow execution to later allow for independent reproducibility of the build. If we implement the lockfile management, we should also archive a copy of the lock files there.ogrisel commentedon Jun 19, 2026
Note: I reordered the TODO list in the description of this issue to do things in the right order.
lesteve commentedon Sep 4, 2026
I updated the issue description to reflect the current plan:
.mdfile in scikit-learn-releasescikit-learn-releaserepo #34898[-]Path to ship wheels from scikit-learn-release[/-][+]Path to ship wheels from scikit-learn-release repo[/+]