Open kilianar opened 6 months ago
Under the hood the qiskit module now also runs rust during build. https://github.com/Qiskit/qiskit/tree/main/crates
Any ideas on how to best package this in Nix?
I could not find a way to disable cargo, which will fail due to missing network connectivity.
I created https://github.com/NixOS/nixpkgs/pull/322715 with my current WIP
@b-m-f I'd like to contribute to this issue. If there's anything I can assist with, please let me know, or feel free to hand over your PR to me. Regards
@comavius feel free to open another MR. I can then close mine.
I've opened another PR #350943
Steps To Reproduce
Build log
Additional context
Regrettably,
python3Packages.qiskit
has been broken for some time now. Presently, attempts to build it result in failure due to its dependencyqiskit-aer
being marked as broken. Conversely, whenqiskit-aer
is marked as not broken, the build fails due to incompatibility ofqiskit-terra
with the current Python version, as indicated by the error message:Significant changes have occurred within the internal structure of the Qiskit project, as outlined in the release notes for version 0.46.0 and 1.0.0, along with the corresponding migration guide:
However, the updates in nixpkgs that reflect these releases merely incremented the version and hash values without adjusting the packaging itself, as evidenced by the commits 0.41.1 -> 0.45.1 and 0.45.1 -> 1.0.1.
It appears that we need to make some substantial changes to the packaging in order to align with the new structure from the upstream project.
Notify maintainers
@drewrisinger @pandaman64 @mweinelt (did the last view updates)
Add a :+1: reaction to issues you find important.