Skip to content

Avoid fork method in dask tests#901

Open
TomAugspurger wants to merge 3 commits intorapidsai:mainfrom
TomAugspurger:tom/dask-forkserver
Open

Avoid fork method in dask tests#901
TomAugspurger wants to merge 3 commits intorapidsai:mainfrom
TomAugspurger:tom/dask-forkserver

Conversation

@TomAugspurger
Copy link
Contributor

@TomAugspurger TomAugspurger commented Mar 4, 2026

This change lets use multiprocessing's forkserver method, the new default in 3.14 on posix systems.

We needed to move the closure to a top-level function and add a __init__.py to our test directory so that _connect_from_subprocess could be imported in the new process.

Closes #899

@TomAugspurger TomAugspurger requested a review from a team as a code owner March 4, 2026 14:12
@TomAugspurger TomAugspurger added non-breaking Introduces a non-breaking change improvement Improves an existing functionality labels Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Avoid fork in test_dask.py

2 participants