-
Notifications
You must be signed in to change notification settings - Fork 141
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
OrderedCollections, an implicit dependency #1046
Comments
Interesting, so how again does this crop up? |
We probably want to wait until glue packages in Julia 1.9 come around to really fix this. |
I think the issue is that the code is included only if both FileIO and OrderedCollections are loaded, simply having FileIO only is insufficient. It is only required because of this line: Lines 15 to 16 in 9a90e4e
I think we can work around this |
Oh I see it, right, if you want to use FileIO and HDF5 together, since HDF5 needs OrderedCollections the end user needs to import it first or that |
First, thank you for this important package.
I'd like to use FileIO load function with HDF5 file. I ]add and import HDF5 and FileIO packages.
Because of the following lines I need to add and also import (due to lazy loading) OrderedCollections package.
Unless this is done, I receive somewhat cryptic error messages:
which give no hints about OrderedCollections. After this package is added and imported, the error goes away.
Since neither HDF5.jl nor FileIO.jl depend on OrderedCollections and, on the other hand, the package involved is rather small and has no dependencies itself, I suggest making it an explicit and unconditional dependency of HDF5.jl. Or at least please warn users about the problem.
With best regards,
Vadim Zborovskii
The text was updated successfully, but these errors were encountered: