azure-quantum-python icon indicating copy to clipboard operation
azure-quantum-python copied to clipboard

Dependency conflict of pyquil-for-azure-quantum and azure-quantum

Open vxfield opened this issue 2 years ago • 0 comments

Problem

When doing a pip install for both latest releases of pyquil-for-azure-quantum and azure-quantum, PIP returns this error:

pyquil-for-azure-quantum 0.0.2 requires azure-quantum<0.26.0,>=0.25.218240, but you have azure-quantum 0.27.258449 which is incompatible.

Cause

The current 0.0.2 release of pyquil-for-azure-quantum does not work with new releases of the azure-quantum package because the current dependency constraint ^0.25.218240 effectively becomes <0.26.0,>=0.25.218240 and every month Microsoft creates a new release of azure-quantum that increments the minor version.

Fix

I submitted a PR to pyquil-for-azure-quantum with a potential fix: https://github.com/rigetti/pyquil-for-azure-quantum/pull/11

Reposting it here for tracking purposes.

vxfield avatar Mar 02 '23 18:03 vxfield