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
Per [Discussion: Python 3.14 Free-Threading
Support](duckdb#40), this
is the first step / pre-requisite for free-threading work.
This PR adds Python 3.14 & 3.14t (rc2) builds, with a test change to
handle not-yet-available dependencies.
#### Free Threading is not enabled by this
Free threading is **not** implemented here. If DuckDB is imported in
3.14t, the GIL is enabled with the following warning:
> `<frozen importlib._bootstrap>:491: RuntimeWarning: The global
interpreter lock (GIL) has been enabled to load module '_duckdb', which
has not declared that it can run safely without the GIL. To override
this behavior and keep the GIL disabled (at your own risk), run with
PYTHON_GIL=0 or -Xgil=0.`
#### Timeline
- Python 3.14 is scheduled to release on 2025-10-07: [PEP 745 – Python
3.14 Release Schedule](https://peps.python.org/pep-0745/)
- In 3.14, [PEP 779: Free-threaded Python is officially
supported](https://docs.python.org/3.14/whatsnew/3.14.html#pep-779-free-threaded-python-is-officially-supported)
#### Changes
- Update uv to 0.8.16 and cibuilwheel to 3.1.x: needed for the latest
Python builds
- Added Windows specific build flags for 3.14t
- Add markers to disable dependencies that don't yet support 3.14
#### Notes:
- Windows + 3.14t is excluded: tests fail in the CI workflow, yet work
locally & in a modified workflow. Root cause is unknown.
- Marked xfailed duckdb#48
0 commit comments