Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

fix python requirement versions #1159

Merged
merged 5 commits into from
Feb 22, 2023
Merged

Conversation

kt474
Copy link
Member

@kt474 kt474 commented Feb 21, 2023

Summary

Details and comments

@kt474 kt474 merged commit 2ad2352 into Qiskit:master Feb 22, 2023
@kt474 kt474 deleted the fix-requirement-versions branch February 22, 2023 17:13
qiskit-terra>=0.18.0
requests>=2.19
requests_ntlm>=1.1.0
qiskit-terra~=0.23.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't valid (nor are most of the changes in this file). What this does in practice is prevents people from installing the qiskit-ibmq-provider and terra >0.23.0 together which will actively cause issues in the qiskit metapackage when terra 0.24.0 is released and will block the metapackage from being releasable.

Capping versions like this makes solving dependencies much harder and it should only be done if there are specific incompatibilities which are known.

mtreinish added a commit to mtreinish/qiskit-ibmq-provider that referenced this pull request Mar 3, 2023
This reverts commit 2ad2352. The
changes made to the requirements list in that commit were not valid and
actively prevent users from installing the qiskit-ibmq-provider with any
version of qiskit-terra other than the 0.23.x release series. Similarly
the caps set on every dependency are overly restrictive and will cause
compatibility issues with other packages, especially if there are shared
dependencies between multiple packages. This commit reverts these
changes to prevent issues and this needs to be released as part as
0.20.2 to unblock a future qiskit metapackage release.
kt474 added a commit that referenced this pull request Mar 7, 2023
* Revert "fix python requirement versions (#1159)"

This reverts commit 2ad2352. The
changes made to the requirements list in that commit were not valid and
actively prevent users from installing the qiskit-ibmq-provider with any
version of qiskit-terra other than the 0.23.x release series. Similarly
the caps set on every dependency are overly restrictive and will cause
compatibility issues with other packages, especially if there are shared
dependencies between multiple packages. This commit reverts these
changes to prevent issues and this needs to be released as part as
0.20.2 to unblock a future qiskit metapackage release.

* pin ntlm package

---------

Co-authored-by: kevin-tian <kevin.tian@ibm.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants