Skip to content

CI Add Windows free-threaded wheel - #30313

Merged
glemaitre merged 5 commits into
scikit-learn:mainfrom
lesteve:windows-free-threaded-wheels
Nov 25, 2024
Merged

glemaitre merged 5 commits into
scikit-learn:mainfrom
lesteve:windows-free-threaded-wheels

Conversation

@lesteve

@lesteve lesteve commented Nov 20, 2024 •

Copy link
Copy Markdown
Member

Seems like scipy has a free-threaded wheel in scientific-python-nightly-wheel.

As noted in #28978 (comment) the fact that we use a Windows docker image in our setup is a bit cumbersome but I am trying the easiest thing for now which is to not use a Docker image for the free-threaded build.

The alternative would be to write some powershell to install free-threaded CPython in the minimal Docker image but it seems a bit too much work for what it is worth. I would guess this is not that likely that a missing DLL would happen for free-threaded and not vanilla CPython.

Context: the reason we have this custom Docker image on Windows is to avoid missing DLLs, see #15899, #18802 and #24612 (comment).

@github-actions

github-actions Bot commented Nov 20, 2024 •

Copy link
Copy Markdown

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: f2522ef. Link to the linter CI: here

@lesteve lesteve changed the title CI Add Windows free-threaded wheels CI Add Windows free-threaded wheel Nov 20, 2024
@lesteve
lesteve marked this pull request as ready for review November 20, 2024 17:40
@lesteve

lesteve commented Nov 20, 2024

Copy link
Copy Markdown
Member Author

This seems to work fine, I think this is ready to review.

@glemaitre glemaitre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can give it a try. Let see how stable this is regarding the DLL thingy.

@ogrisel

ogrisel commented Nov 23, 2024

Copy link
Copy Markdown
Member

@glemaitre
glemaitre merged commit f54c98e into scikit-learn:main Nov 25, 2024
@glemaitre glemaitre added the To backport PR merged in master that need a backport to a release branch defined based on the milestone. label Nov 25, 2024
@glemaitre glemaitre added this to the 1.6 milestone Nov 25, 2024
@lesteve
lesteve deleted the windows-free-threaded-wheels branch November 25, 2024 16:55
@lesteve lesteve added the free-threading PRs and issues related to support for free-threaded CPython (a.k.a. nogil or no-GIL, PEP 703) label Nov 28, 2024
jeremiedbb pushed a commit to jeremiedbb/scikit-learn that referenced this pull request Dec 4, 2024
jeremiedbb pushed a commit that referenced this pull request Dec 6, 2024
virchan pushed a commit to virchan/scikit-learn that referenced this pull request Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build / CI free-threading PRs and issues related to support for free-threaded CPython (a.k.a. nogil or no-GIL, PEP 703) To backport PR merged in master that need a backport to a release branch defined based on the milestone.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants