-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
python3Packages.qiskit: 0.25.0 -> 0.26.2 #121606
Conversation
Result of 12 packages failed to build:
2 packages built successfully:
Note that build failures may predate this PR, and could be nondeterministic or hardware dependent. Result of 1 package built successfully:
|
Perhaps these should be marked as broken on aarch64. It seems unlikely that aarch64-linux is a supported platform for upstream. |
94f2904
to
a2e74e1
Compare
@rmcgibbo it is definitely supported upstream (see e.g. aarch64 wheels on https://pypi.org/project/qiskit-terra/#files), so I'm confused by these build errors. I'm leaning in favor of just disabling these tests, b/c the build for How can I get your bot to re-run aarch64 tests? I just pushed updates that should fix this. |
a2e74e1
to
9a36c86
Compare
I stand corrected.
I just did it manually, but hopefully I'll add that feature soon (rmcgibbo/r-rmcgibbo#3). Edit: the bot ran and updated the prior comment, it looks like it only built a single package... Not sure what that's all about. If the failures persist, perhaps opening an upstream for guidance would be appropriate. Or does one already exist? |
@ofborg eval |
9a36c86
to
ea8b476
Compare
Whoops, missed the stdenv import. Fixed with latest force-push. |
Labeling as ZHF b/c of the (hopefully) fixed Darwin build of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Result of nixpkgs-review pr 121606
run on x86_64-darwin 1
10 packages marked as broken and skipped:
- python38Packages.qiskit
- python38Packages.qiskit-aer
- python38Packages.qiskit-aqua
- python38Packages.qiskit-ibmq-provider
- python38Packages.qiskit-ignis
- python39Packages.qiskit
- python39Packages.qiskit-aer
- python39Packages.qiskit-aqua
- python39Packages.qiskit-ibmq-provider
- python39Packages.qiskit-ignis
6 packages built:
- python38Packages.qiskit-terra
- python38Packages.retworkx
- python38Packages.yfinance
- python39Packages.qiskit-terra
- python39Packages.retworkx
- python39Packages.yfinance
ea8b476
to
9fd346b
Compare
|
9fd346b
to
efde42b
Compare
Latest force-push ONLY updates comment on qiskit-aer patch to note that the PR was accepted. Qiskit/qiskit-aer#1250 |
I've addressed all comments and updated to the latest version of qiskit (0.26.2), as well as squashed some of the commits together. Would you prefer a force-push to this branch or a new PR? |
This comment has been minimized.
This comment has been minimized.
efde42b
to
2c65958
Compare
This comment has been minimized.
This comment has been minimized.
@dotlambda Due to your request to move
|
2c65958
to
bdffdd7
Compare
@drewrisinger No, this is not related to pybind11. Some test failed while building |
You will need to add it to qiskit's |
That doesn't make sense. Here are their setup files:
Specifically, I have a clean build via
|
So they even admit it's wrong. Please test whether the packages work as expected if you apply diff --git a/pkgs/development/python-modules/qiskit-aer/default.nix b/pkgs/development/python-modules/qiskit-aer/default.nix
index 82414b87813..550a61320ea 100644
--- a/pkgs/development/python-modules/qiskit-aer/default.nix
+++ b/pkgs/development/python-modules/qiskit-aer/default.nix
@@ -48,16 +48,20 @@ buildPythonPackage rec {
sha256 = "0ldwzxxfgaad7ifpci03zfdaj0kqj0p3h94qgshrd2953mf27p6z";
})
];
+
# Remove need for cmake python package
+ # pybind11 should not be in install_requires
postPatch = ''
substituteInPlace setup.py \
- --replace "'cmake!=3.17,!=3.17.0'," ""
+ --replace "'cmake!=3.17,!=3.17.0'," "" \
+ --replace "'pybind11>=2.6'" ""
'';
nativeBuildInputs = [
cmake
ninja
scikit-build
+ pybind11
];
buildInputs = [
@@ -73,7 +77,6 @@ buildPythonPackage rec {
cvxpy
cython # generates some cython files at runtime that need to be cython-ized
numpy
- pybind11
];
# Disable using conan for build Maybe I'm wrong and pybind11 is actually used at runtime. |
Backports changes made to retworkx in NixOS/nixpkgs#121606 to support Darwin by adding a buildInput.
Backports changes made to retworkx in NixOS/nixpkgs#121606 to support Darwin by adding a buildInput.
Backports changes made to retworkx in NixOS/nixpkgs#121606 to support Darwin by adding a buildInput.
Also fixes retworkx Darwin build. Fixes linker error for retworkx that required libiconv. Error log: error: linking with `/nix/store/47vpv5i10dwfg1cf5wca1k40f982g5fm-clang-wrapper-7.1.0/bin/cc` failed: exit code: 1 ... ld: library not found for -liconv clang-7: error: linker command failed with exit code 1 (use -v to see invocation) Also fix tests running on build, that didn't get converted when switched to the new way of running Cargo builds for python packages.
Also unbreak build on master by disabling tests that compare visual matplotlib images. Also remove force deletes from postCheck.
Use a patch submitted via PR instead of custom substitute. Remove pybind11 install requirement, as requested by @dotlambda
Backports changes made to retworkx in NixOS/nixpkgs#121606 to support Darwin by adding a buildInput.
bdffdd7
to
8cd0ba9
Compare
Also remove unused patch & unneeded docs delete (they're not in $out).
Remove unneeded docs delete, they're no longer in $out.
Add optional subpackages as arguments. Most of these are not in nixpkgs, but can be found in https://github.com/drewrisinger/nur-packages/.
8cd0ba9
to
bb6aec6
Compare
Addressed all comments in latest force-push.
|
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 16 packages built:
|
Motivation for this change
Update super-package & all subpackages to the latest version.
https://github.com/Qiskit/qiskit/releases/tag/0.25.3https://github.com/Qiskit/qiskit/releases/tag/0.26.2Things 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)