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

qiskit: 0.5.4 -> 0.5.5 #42901

Closed
wants to merge 2 commits into from
Closed

Conversation

pandaman64
Copy link
Contributor

Motivation for this change

upgrade qiskit.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • 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 nox --run "nox-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)
  • Fits CONTRIBUTING.md.

@Mic92
Copy link
Member

Mic92 commented Jul 3, 2018

@GrahamcOfBorg build qiskit

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: qiskit

Partial log (click to expand)

Cannot nix-instantiate `qiskit' because:
�[31;1merror:�[0m attribute 'qiskit' in selection path 'qiskit' not found

@GrahamcOfBorg
Copy link

No attempt on x86_64-linux (full log)

The following builds were skipped because they don't evaluate on x86_64-linux: qiskit

Partial log (click to expand)

Cannot nix-instantiate `qiskit' because:
error: attribute 'qiskit' in selection path 'qiskit' not found

@GrahamcOfBorg
Copy link

No attempt on aarch64-linux (full log)

The following builds were skipped because they don't evaluate on aarch64-linux: qiskit

Partial log (click to expand)

Cannot nix-instantiate `qiskit' because:
error: attribute 'qiskit' in selection path 'qiskit' not found

@Mic92
Copy link
Member

Mic92 commented Jul 3, 2018

@GrahamcOfBorg build python36Packages.qiskit

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: python36Packages.qiskit

Partial log (click to expand)

Requirement already satisfied: pycparser in /nix/store/wandhpq6zbksfr7q585axmhrdrvvmh3g-python3.6-pycparser-2.18/lib/python3.6/site-packages (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=1.3->requests-ntlm->IBMQuantumExperience>=1.9.6->qiskit==0.5.5) (2.18)
Installing collected packages: qiskit
Successfully installed qiskit-0.5.5
/build/qiskit-0.5.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/wq5iry8iqa62r96g6p6ivvxbr2ampxf6-python3.6-qiskit-0.5.5
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/wq5iry8iqa62r96g6p6ivvxbr2ampxf6-python3.6-qiskit-0.5.5/lib
patching script interpreter paths in /nix/store/wq5iry8iqa62r96g6p6ivvxbr2ampxf6-python3.6-qiskit-0.5.5
checking for references to /build in /nix/store/wq5iry8iqa62r96g6p6ivvxbr2ampxf6-python3.6-qiskit-0.5.5...

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: python36Packages.qiskit

Partial log (click to expand)

Installing collected packages: qiskit
Successfully installed qiskit-0.5.5
/build/qiskit-0.5.5
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/azav8j3a9n1kcwhlw5c2i1xr6jk3c0xl-python3.6-qiskit-0.5.5
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/azav8j3a9n1kcwhlw5c2i1xr6jk3c0xl-python3.6-qiskit-0.5.5/lib
patching script interpreter paths in /nix/store/azav8j3a9n1kcwhlw5c2i1xr6jk3c0xl-python3.6-qiskit-0.5.5
checking for references to /build in /nix/store/azav8j3a9n1kcwhlw5c2i1xr6jk3c0xl-python3.6-qiskit-0.5.5...
/nix/store/azav8j3a9n1kcwhlw5c2i1xr6jk3c0xl-python3.6-qiskit-0.5.5

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: python36Packages.qiskit

Partial log (click to expand)

Requirement already satisfied: asn1crypto>=0.21.0 in /nix/store/fh8dg5xmpgbq60n2cs5xxxjh5sx0xb3a-python3.6-asn1crypto-0.24.0/lib/python3.6/site-packages (from cryptography>=1.3->requests-ntlm->IBMQuantumExperience>=1.9.6->qiskit==0.5.5) (0.24.0)
Requirement already satisfied: pycparser in /nix/store/dvjr1rbr1nsdmglvfvzgjlfabh1smciw-python3.6-pycparser-2.18/lib/python3.6/site-packages (from cffi>=1.7; platform_python_implementation != "PyPy"->cryptography>=1.3->requests-ntlm->IBMQuantumExperience>=1.9.6->qiskit==0.5.5) (2.18)
Installing collected packages: qiskit
Successfully installed qiskit-0.5.5
/private/tmp/nix-build-python3.6-qiskit-0.5.5.drv-0/qiskit-0.5.5
post-installation fixup
strip is /nix/store/7ddbq63v97nk8gkbf7gcsfmby37h6gbl-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/kj4cw9jg2rxmwiv91a2vfmf9wq42vnfm-python3.6-qiskit-0.5.5/lib
patching script interpreter paths in /nix/store/kj4cw9jg2rxmwiv91a2vfmf9wq42vnfm-python3.6-qiskit-0.5.5
/nix/store/kj4cw9jg2rxmwiv91a2vfmf9wq42vnfm-python3.6-qiskit-0.5.5

@Mic92
Copy link
Member

Mic92 commented Jul 3, 2018

@GrahamcOfBorg build python36Packages.qasm2image

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: python36Packages.qasm2image

Partial log (click to expand)

removing build/bdist.macosx-10.6-x86_64/wheel
glibPreInstallPhase
installing
/private/tmp/nix-build-python3.6-qasm2image-0.5.0.drv-0/source/dist /private/tmp/nix-build-python3.6-qasm2image-0.5.0.drv-0/source
Processing ./qasm2image-0.5.0-py3-none-any.whl
Collecting qiskit<0.5,>=0.4.11 (from qasm2image==0.5.0)
  Could not find a version that satisfies the requirement qiskit<0.5,>=0.4.11 (from qasm2image==0.5.0) (from versions: )
No matching distribution found for qiskit<0.5,>=0.4.11 (from qasm2image==0.5.0)
builder for '/nix/store/v5gbghgkqp5nqqgm9c8p2r6lsp8khy0d-python3.6-qasm2image-0.5.0.drv' failed with exit code 1
�[31;1merror:�[0m build of '/nix/store/v5gbghgkqp5nqqgm9c8p2r6lsp8khy0d-python3.6-qasm2image-0.5.0.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: python36Packages.qasm2image

Partial log (click to expand)

/build/source/dist /build/source
Processing ./qasm2image-0.5.0-py3-none-any.whl
Requirement already satisfied: cairocffi in /nix/store/zwhkj31c6hcxg1gnx013xxk0fw6nbwx8-python3.6-cairocffi-0.8.1/lib/python3.6/site-packages (from qasm2image==0.5.0) (0.8.1)
Requirement already satisfied: cairosvg in /nix/store/ar7a2ns27ck78y8n2q9cr90nzv6q182l-python3.6-CairoSVG-2.1.3/lib/python3.6/site-packages (from qasm2image==0.5.0) (2.1.3)
Requirement already satisfied: svgwrite in /nix/store/g5lww9yy8xpvvxg95k3735w2chz4ziwg-python3.6-svgwrite-1.1.6/lib/python3.6/site-packages (from qasm2image==0.5.0) (1.1.6)
Collecting qiskit<0.5,>=0.4.11 (from qasm2image==0.5.0)
  Could not find a version that satisfies the requirement qiskit<0.5,>=0.4.11 (from qasm2image==0.5.0) (from versions: )
No matching distribution found for qiskit<0.5,>=0.4.11 (from qasm2image==0.5.0)
builder for '/nix/store/s0qz20jlibiy1wh2pxj1sfx54cblfraa-python3.6-qasm2image-0.5.0.drv' failed with exit code 1
error: build of '/nix/store/s0qz20jlibiy1wh2pxj1sfx54cblfraa-python3.6-qasm2image-0.5.0.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: python36Packages.qasm2image

Partial log (click to expand)

/build/source/dist /build/source
Processing ./qasm2image-0.5.0-py3-none-any.whl
Requirement already satisfied: cairocffi in /nix/store/q6vm60m25kf5mmyk3afzg1ycd0y7w0rf-python3.6-cairocffi-0.8.1/lib/python3.6/site-packages (from qasm2image==0.5.0) (0.8.1)
Requirement already satisfied: cairosvg in /nix/store/mfcrjdwiwsblvlkdszrw9s7phnvj2d7p-python3.6-CairoSVG-2.1.3/lib/python3.6/site-packages (from qasm2image==0.5.0) (2.1.3)
Requirement already satisfied: svgwrite in /nix/store/vhqgkv3jfsrgwcdi5n9j747wqvzqb64x-python3.6-svgwrite-1.1.6/lib/python3.6/site-packages (from qasm2image==0.5.0) (1.1.6)
Collecting qiskit<0.5,>=0.4.11 (from qasm2image==0.5.0)
  Could not find a version that satisfies the requirement qiskit<0.5,>=0.4.11 (from qasm2image==0.5.0) (from versions: )
No matching distribution found for qiskit<0.5,>=0.4.11 (from qasm2image==0.5.0)
builder for '/nix/store/58h19s38vqsv9sj3mqw2b208jkp8bs4c-python3.6-qasm2image-0.5.0.drv' failed with exit code 1
error: build of '/nix/store/58h19s38vqsv9sj3mqw2b208jkp8bs4c-python3.6-qasm2image-0.5.0.drv' failed

@Mic92
Copy link
Member

Mic92 commented Jul 3, 2018

Does qasm2image also need an update?

@pandaman64
Copy link
Contributor Author

qasm2image depends on QISKit 0.4.15, and it is unlikely to be compatible with 0.5 since 0.5 has a lot of breaking change...

@Mic92
Copy link
Member

Mic92 commented Jul 3, 2018

version 0.7 of qasm2image seems to target QISKit > 0.5:
https://github.com/nelimeee/qasm2image/blob/master/setup.py#L41
https://github.com/nelimeee/qasm2image/blob/master/setup.py#L124

Please update it.

@pandaman64
Copy link
Contributor Author

@Mic92 updated

@pandaman64 pandaman64 closed this Jul 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants