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
[SPARK-51755][INFRA][PYTHON] Set up a scheduled builder for free-threaded Python 3.13
### What changes were proposed in this pull request?
Set up a scheduled (every 3 days) builder for free-threaded Python 3.13
### Why are the changes needed?
https://docs.python.org/3/howto/free-threading-python.html
since 3.13, Python supports free-threaded execution, in which GIL is optional.
Test againt this latest feature.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
PR builder with
```
default: '{"PYSPARK_IMAGE_TO_TEST": "python-313-nogil", "PYTHON_TO_TEST": "python3.13t", "PYTHON_GIL": "0" }'
```
see https://github.com/zhengruifeng/spark/actions/runs/14355716572/job/40244827286
[PYTHON_GIL=0](https://docs.python.org/3/using/cmdline.html#envvar-PYTHON_GIL) is to forces the GIL off
- For PySpark Classic, some streaming test and ml tests are skipped;
- For PySpark Connect, it is not supported at all (one blocker is [GRPC](grpc/grpc#38762) which is not compatible), so **ALL** tests are skipped
### Was this patch authored or co-authored using generative AI tooling?
no
Closes#50534 from zhengruifeng/infra_py313_nogil.
Authored-by: Ruifeng Zheng <[email protected]>
Signed-off-by: Ruifeng Zheng <[email protected]>
0 commit comments