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

python3Packages.qiskit: 0.19.1 -> 0.19.6 #91941

Merged
merged 10 commits into from Jul 1, 2020

Conversation

drewrisinger
Copy link
Contributor

Motivation for this change

Update to latest version of qiskit. https://github.com/Qiskit/qiskit/releases. Update associated/component packages.
Unbreaks the packages. There were some issues caused by the update to python38 as default interpreter that I apparently didn't handle properly in python38Packages.retworkx.

NOTE: I generally update to the latest in my NUR channel within a few days, but the nixpkgs version lags a little.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.

Fix issue with hash lookup that failed on python3.8.
Newly breaking due to changes in pytest-flake8, resolved with upstream
patch.

Took the opportunity to clean up the package a little bit too, remove
unnecessary patch.
Imports were out of date. v0.3.0 no longer supports python2.
Reasons: Last update was Oct 2018 (no activity on GitHub since), failed
tests don't error out the build (i.e. failed build can still succeed),
and this package has not been kept updated to reflect the changing
python3Packages.qiskit API.
@drewrisinger
Copy link
Contributor Author

@GrahamcOfBorg eval
@GrahamcOfBorg build python37Packages.qiskit python38Packages.qiskit

@drewrisinger
Copy link
Contributor Author

Result of nix-review pr 91941:

https://github.com/NixOS/nixpkgs/pull/91941
29 packages built:
python37Packages.cairosvg python37Packages.cssselect2 python37Packages.pygal python37Packages.qasm2image python37Packages.qiskit python37Packages.qiskit-aer python37Packages.qiskit-aqua python37Packages.qiskit-ibmq-provider python37Packages.qiskit-ignis python37Packages.qiskit-terra python37Packages.retworkx python37Packages.tinycss2 python37Packages.weasyprint python37Packages.xml2rfc python38Packages.cairosvg python38Packages.cssselect2 python38Packages.pygal python38Packages.qasm2image python38Packages.qiskit python38Packages.qiskit-aer python38Packages.qiskit-aqua python38Packages.qiskit-ibmq-provider python38Packages.qiskit-ignis python38Packages.qiskit-terra python38Packages.retworkx python38Packages.tinycss2 python38Packages.weasyprint xml2rfc sourcehut.metasrht

@drewrisinger drewrisinger marked this pull request as ready for review July 1, 2020 17:10
Copy link
Contributor

@jonringer jonringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Result of nixpkgs-review pr 91941 1

29 packages marked as broken and skipped: - digitalbitbox - gdata-sharp - glibcCross - iterm2 - linuxPackages_4_4.evdi - linuxPackages_hardkernel_4_14.bcc - linuxPackages_hardkernel_4_14.bpftrace - linuxPackages_hardkernel_4_14.can-isotp - linuxPackages_hardkernel_4_14.chipsec - linuxPackages_hardkernel_4_14.digimend - linuxPackages_hardkernel_4_14.evdi - linuxPackages_hardkernel_4_14.mba6x_bl - linuxPackages_hardkernel_4_14.nvidia_x11 - linuxPackages_hardkernel_4_14.nvidia_x11_legacy390 - linuxPackages_hardkernel_4_14.nvidiabl - muslCross - newlibCross - php73Packages.phpmd - php74Extensions.pcs - php74Extensions.pthreads - python27Packages.caffe - python27Packages.libmodulemd - python37Packages.nixpart - python37Packages.notify - python37Packages.qasm2image - python38Packages.libselinux - python38Packages.nixpart - python38Packages.notify - python38Packages.qasm2image
27 packages built: - python37Packages.cairosvg - python37Packages.cssselect2 - python37Packages.pygal - python37Packages.qiskit - python37Packages.qiskit-aer - python37Packages.qiskit-aqua - python37Packages.qiskit-ibmq-provider - python37Packages.qiskit-ignis - python37Packages.qiskit-terra - python37Packages.retworkx - python37Packages.tinycss2 - python37Packages.weasyprint - python37Packages.xml2rfc - python38Packages.cairosvg - python38Packages.cssselect2 - python38Packages.pygal - python38Packages.qiskit - python38Packages.qiskit-aer - python38Packages.qiskit-aqua - python38Packages.qiskit-ibmq-provider - python38Packages.qiskit-ignis - python38Packages.qiskit-terra - python38Packages.retworkx - python38Packages.tinycss2 - python38Packages.weasyprint - xml2rfc (python38Packages.xml2rfc) - sourcehut.metasrht

@jonringer jonringer merged commit 08df77d into NixOS:master Jul 1, 2020
@drewrisinger drewrisinger deleted the dr-pr-qiskit-bump branch July 1, 2020 19:13
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.

None yet

2 participants