microsoft / microsoft/azure-quantum-python
Dependency conflict of pyquil-for-azure-quantum and azure-quantum
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 160
- Forks
- 113
- Avg merge
- 6d 23h
- Merged PRs (30d)
- 1
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the linked pyquil-for-azure-quantum pull request and the dependency constraint described in this issue. Done means the latest pyquil-for-azure-quantum and azure-quantum releases can be installed together without the reported conflict.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- cloud
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100