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

In docs, suggest passing HDF5 module to set_preferences!() instead of UUID #1113

Merged
merged 3 commits into from
Sep 8, 2023

Conversation

johnomotani
Copy link
Contributor

In the docs, to use custom or system-provided binaries, it is currently suggested to pass the UUID for HDF5.jl to set_preferences!(). It is simpler to load the module with using HDF5, and pass HDF5 directly to set_preferences!(). Is there a reason this is a bad idea?

This PR upates the docs to suggest the method proposed above.

It is possible to pass a module to `set_preferences!()`, as an alternative to identifying the module by its UUID. This is easier to read or type, so better to suggest this method in the docs.
@JoshuaLampert
Copy link
Contributor

After providing a convenience function (#1114) this will even simplify further.

@mkitti
Copy link
Member

mkitti commented Sep 8, 2023

We should keep the UUID example as a backup.

One frustrating situation that can occur is that the misconfiguration of the libraries might prevent HDF5.jl from loading, making it difficult to pass HDF5 as an argument to remedy the situation.

@johnomotani
Copy link
Contributor Author

We should keep the UUID example as a backup.

@mkitti sounds good to me - I've put it back.

@mkitti mkitti merged commit 4762603 into JuliaIO:master Sep 8, 2023
16 checks passed
@mkitti
Copy link
Member

mkitti commented Sep 8, 2023

LGTM

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.

3 participants