google / google/grain

No support for python 3.13t and 3.14t

Open
#1,245 1 comment 3 reactions 0 assignees View on GitHub
type:feature
Dominant language
Python
Stars
779
Forks
86
Avg merge
2d 6h
Merged PRs (30d)
6

Description

The [changelog](https://google-grain.readthedocs.io/en/latest/changelog.html) states that `IterDataset.mp_prefetch` would use multi threading when `free-threaded Python is detected`, though there are currently no wheels available on pypi that support free threading.

If you try to create an uv project with python 3.13t or 3.14t, then you would get an error
```
error: Distribution `grain==0.2.16 @ registry+https://pypi.org/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform
```

Is there a workaround? Or are there any plans to build grain against the free threading versions of python?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.