-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
hdf5: make possible to use the v1.10 API #118454
hdf5: make possible to use the v1.10 API #118454
Conversation
@FRidh you mentioned an issue with |
This needs to target pandas segfaults in a tables test. tables is the pytables package that uses hdf5. https://hydra.nixos.org/build/140676472 |
vigra is not yet compatible with the v1.12 API [0][1]. [0] ukoethe/vigra#476 [1] ukoethe/vigra#476
b97a16a
to
2da10cd
Compare
2da10cd
to
6ef6455
Compare
It looks like this solves the issue for vigra but pandas still segfault :/ |
This comment has been minimized.
This comment has been minimized.
Good vigra is fixed. Pandas could have another cause then, or it is the update itself despite using the old api. To check, it is worthwhile building pandas against the old hdf5. |
It tried to revert the upgrade and build pandas and the segfault does not happen. I'm trying to see what's wrong with the upgrade. |
In case we won't figure out (within a day or two, so staging-next can proceed), the alternative is to keep 1.11 in just for pandas. |
This reverts commit b86327e. This is a temporary hack which can't be merged into master at some point because the package is actually broken. The real issue will likely be fixed in NixOS#118454.
6ef6455
to
abb31df
Compare
I have not made significant progress on this topic and I'm not sure I will in a timely manner. Maybe someone with more experience of the Python ecosystem/pandas could take a look and have more success than me. In the meantime to unblock the situation I have updated the PR to introduce |
Introduce hdf5_1_10 so it can be used by packages encountering issues hdf5 1.12.0.
Without that, the test suite of python3Packages.pandas segfault.
abb31df
to
50d6043
Compare
This comment has been minimized.
This comment has been minimized.
This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch). Result of 37 packages marked as broken and skipped:
18 packages failed to build and already failed to build on hydra master:
2 packages failed to build and are new build failures:
336 packages built:
the two build failures are probably not reproducible. Merging right now because I want to test home-assistant on staging/staging-next. |
Motivation for this change
hdf5 v1.12 has introduced breaking changes to the API and some dependent packages are not yet compatible with it. This contribution adds a way to build the hdf5 library with the v1.10 API.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)