mirror of https://github.com/Qiskit/qiskit.git
Fix asv installation command (#11758)
The nightly benchmarking runs haven't been running recently due to failures to import Qiskit. This happened immediately after the import poisoning. The problem appears to be because the `all` extra in the metadata references the `qiskit` package by name, since this is how we avoid repeating ourselves in the definition of the extra. However, as we note in `pyproject.toml`, when called on a local wheel file, this causes the resoution to install `qiskit` from PyPI, which means overwriting the package with a different version. We don't actually need everything installed for the benchmarks, so we can just set the rule to install only what is needed.
This commit is contained in:
parent
3892871ac7
commit
98aac2844e
|
@ -4,7 +4,7 @@
|
|||
"project_url": "https://qiskit.org",
|
||||
"repo": ".",
|
||||
"install_command": [
|
||||
"in-dir={env_dir} python -m pip install {wheel_file}[all] python-constraint"
|
||||
"in-dir={env_dir} python -m pip install {wheel_file}[csp-layout-pass]"
|
||||
],
|
||||
"uninstall_command": [
|
||||
"return-code=any python -m pip uninstall -y qiskit qiskit-terra"
|
||||
|
|
Loading…
Reference in New Issue