Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Make local_directory None by default #114

Merged
merged 1 commit into from
Nov 29, 2023
Merged

Conversation

arnaudon
Copy link
Contributor

@arnaudon arnaudon commented Nov 23, 2023

This is to ensure that if workers are launched with dask_mpi, the local_directory can be modified via dask.config('temporary_directory').
In https://github.com/dask/distributed/blob/main/distributed/core.py#L385 it assumes None default value, not "".

@kmpaul
Copy link
Collaborator

kmpaul commented Nov 29, 2023

Thanks for the catch, @arnaudon! You are definitely correct. This puts the initialize mechanism in sync with the CLI mechanism.

Don't worry about the breaking docs test. I will fix that in a future PR.

@kmpaul kmpaul merged commit 37fd9a7 into dask:main Nov 29, 2023
6 of 7 checks passed
@arnaudon
Copy link
Contributor Author

You are welcome!

@arnaudon arnaudon deleted the fix_local_dir branch November 29, 2023 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants