client-superstaq icon indicating copy to clipboard operation
client-superstaq copied to clipboard

version conflicts when installing checks-superstaq and cirq-superstaq in series

Open perlinm opened this issue 1 year ago • 2 comments

What is happening?

I get a pip warning when trying to install checks-superstaq and cirq-superstaq in series from a fresh environment:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
referencing 0.30.2 requires attrs>=22.2.0, but you have attrs 21.4.0 which is incompatible.

How can we reproduce the issue?

From a fresh python environment:

pip install checks-superstaq
pip install cirq-superstaq

This command ends with the above pip error, after which

$ pip check
referencing 0.30.2 has requirement attrs>=22.2.0, but you have attrs 21.4.0.

NOTE: there is NO ERROR if I instead run

pip install checks-superstaq cirq-superstaq

so we can plausibly declare this to be an issue with pip...

What should happen?

Everything should install without version conflicts

Environment

Fresh (empty) conda environment:

conda create --name test python=3.11
conda activate test

Any additional context?

No response

perlinm avatar Nov 01 '23 19:11 perlinm