Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Fix pip environment resolution #798

Merged
merged 2 commits into from
Jan 22, 2024
Merged

Commits on Jan 22, 2024

  1. Fix pip environment resolution

    Calling `pip install` multiple times can (deeply unfortunately) allow an
    environment to become out-of-sync; `pip` doesn't "remember" the
    constraints of previous installation commands.
    
    One of the largest effects here is that doing `pip install -e .`
    _followed_ by `pip install git+<qiskit>@main` installs `qiskit-terra`
    from the initial installation (via `qiskit==0.45.2`), then installs
    `qiskit==1.0.0.dev0` from Git, which is an incompatible environment.
    Doing the whole environment resolution in a single `pip install` command
    fixes this, as the `qiskit` dependency is correctly resolved to be
    _only_ the `1.0.0.dev0` version.
    jakelishman committed Jan 22, 2024
    Configuration menu
    Copy the full SHA
    a3c217b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d474de View commit details
    Browse the repository at this point in the history