microsoft / microsoft/azure-quantum-python

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

Open
#422 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

azure-quantum
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.