You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add SOURCE_REF_TO_BUILD rather than manual input field? #13
I think it's simpler to stay close to numpy while we are still getting to know this new release procedure.
I can see a few advantages to having SOURCE_REF_TO_BUILD in the yaml rather than a manual input field:
harder to mess up, it's set once in a release branch rather than having to type it manually a few times
audatibility. Right now nothing in the log is telling you what the input field was. If it's in the repo and an environment variable it's probably in the CI log.
I could not find more details by looking in numpy and numpy-release. The context around not using it in scikit-learn is in scikit-learn/scikit-learn#34320 (comment).
Also once it is set in a release branch you don't have to think too much about it, rather than typing a few times during the release process.
I think we could also set SOURCE_BUILD_REF to refs/pull/<pr_number>/merge as we did if we want to test on a scikit-learn PR, which did for 1.9.1 since this is part of our release process.
Note that numpy has an issue about this numpy/numpy-release#13, not sure if I am missing something or they haven't realized they can set it to a PR merge ref.
I don't think that we have to follow numpy on this. We don't have the same release workflow, and they probably need a lot more flexibility than us.
Having maintenance branches on scikit-learn_release is only useful if we need different versions of the wheels config between main and the maintenance branches. But
we add wheels for the newest Python versions as soon as we can, even in presumably bug-fix releases (see 1.9.1)
we never update the min dependencies until after the last bug-fix release before the next major
So given our current release workflow and dependency management, we can work with a single config in main as far as I can tell.
Activity
jeremiedbb commentedon Sep 16, 2026
I don't think that we have to follow numpy on this. We don't have the same release workflow, and they probably need a lot more flexibility than us.
Having maintenance branches on
scikit-learn_releaseis only useful if we need different versions of the wheels config between main and the maintenance branches. ButSo given our current release workflow and dependency management, we can work with a single config in
mainas far as I can tell.jeremiedbb commentedon Sep 16, 2026
with the workflow I'm proposing in #16, it should not happen. We manually run the wheel builder workflow only once.