Repository navigation
chore(python): Test free-threaded in ci - #21914
bschoenmaeckers wants to merge 6 commits into
Conversation
ee5fd23 to
02e489e
Compare
0af294d to
25f50aa
Compare
82eaada to
ea0c7b0
Compare
71c2245 to
b80d35d
Compare
4c73b32 to
2ce2608
Compare
|
I ran the CI again but ran into issues again. Some can be compiled from source, others have have compiler errors. This is a non-exhaustive list of packages without precompiled 3.14(t) wheels.
I would like for most of these packages to have a wheel available so the CI does not have to compile everything and of course to avoid compilation errors. Which also makes debugging the this easier. I will try again when the 3.14 release is near, and most of the packages are pre-compiled. |
ddf5907 to
d0914d4
Compare
90ceb7b to
e9fce55
Compare
|
FYI: Updates:
Pandas:
|
|
FYI I've started working on a free-threaded version for fastexcel. Linked issue: ToucanToco/fastexcel#416 |
2ce2608 to
7246e9e
Compare
|
For those who want to use free threading, and don't want to compile polars from source, I've compiled 2 wheels myself for version 1.36.0. This is all you need to do in your pyproject.toml: [project]
dependencies = [
"polars==1.36.0",
"polars-runtime-32"
]
[tool.uv.sources]
polars-runtime-32 = [
{ url = "https://github.com/harshil21/polars-runtime-32-ft/raw/refs/heads/main/wheels/polars_runtime_32-1.36.0-cp314-cp314t-manylinux_2_39_aarch64.whl", marker = "platform_machine == 'aarch64'" },
{ url = "https://github.com/harshil21/polars-runtime-32-ft/raw/refs/heads/main/wheels/polars_runtime_32-1.36.0-cp314-cp314t-manylinux_2_39_x86_64.whl", marker = "platform_machine == 'x86_64'" }
]You can find the whole repository here |
python-zstandard seems to only be used for tests. I opened #26144 to remove it. |
|
I've checked again what the current status is of the test dependencies. It still looks like where are blocked by the following packages.
|
|
For zstandard, is there a reason why the standard lib zstd module can't be used instead? Thanks for summarizing! |
This has been proposed in the past: #21914 (comment) #26144 |
|
OK, I don't see any objections in that PR to adding it as a fallback if zstandard isn't available. Maybe we could try that instead. That said, the lack of an environment marker for free-threading might be annoying to deal with. I've tried to get free-threaded wheels built for zstandard for a while but it's hard to get maintainer attention there. Kumar already did a pass on connector-x and we're waiting for maintainer feedback there. I think the next project to look at is deltalake. |
No description provided.