Skip to content

Dependency conflicts when installing dev_requirements.txt #690

@sduquemesa

Description

@sduquemesa

Before posting a bug report

  • I have searched exisisting GitHub issues to make sure the issue does not already exist.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions