XanaduAI / strawberryfields

Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits.
https://strawberryfields.ai
Apache License 2.0
737 stars 187 forks source link

Dependency conflicts when installing `dev_requirements.txt` #690

Open sduquemesa opened 2 years ago

sduquemesa commented 2 years ago

Before posting a bug report

Expected behavior

Installing strawberryfields for development should install all required packages and do it without dependency errors.

Actual behavior

Following the installation steps, a conflict between tensorflow and black dependencies halts the installation of the packages in dev_requirements.txt.

Reproduces how often

Every time.

System information

Not relevant.

Source code

pip install -e .
pip install -r dev_requirements.txt

Tracebacks

ERROR: Cannot install black==22.1.0 and typing-extensions==3.7.4 because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested typing-extensions==3.7.4
    black 22.1.0 depends on typing-extensions>=3.10.0.0; python_version < "3.10"

Additional information

No response