Commit 62cb08b
authored
Having manual calls to `pip` implies that `pip` is available. This is
not universally true; if the current `venv` and/or `tox` installation is
managed by a different tool that `tox` knows about (such as `uv`), it
will use it to create its own `venv`s, which may not have `pip`
available within them (like `uv`'s don't). Using the
`dependency-groups` feature allows us to offload all the install work to
`tox`, so it works regardless of `venv` manager.
Technically this causes the dependency groups to install before the
version of Qiskit under test, which will have the side effect of
installing an _old_ version of Qiskit first. However, `tox` will then
forcibly install the new version of Qiskit into the environment, which
is what we really want.
1 parent 490fc27 commit 62cb08b
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
94 | 95 | | |
| |||
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | | - | |
106 | | - | |
107 | 106 | | |
108 | 107 | | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
0 commit comments