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

Commit

Permalink
Revert "fix python requirement versions (#1159)" (#1162)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
mtreinish and kt474 authored Mar 7, 2023
1 parent eeeb426 commit ec247ec
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
18 changes: 9 additions & 9 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
qiskit-terra~=0.23.0
requests~=2.28.0
requests_ntlm~=1.1.0
qiskit-terra>=0.18.0
requests>=2.19
requests_ntlm<=1.1.0
numpy<1.24
urllib3~=1.26.0
python-dateutil~=2.8.0
websocket-client~=1.5.1
websockets~=10.0; python_version >= '3.7'
websockets~=9.1; python_version < '3.7'
dataclasses~=0.8; python_version < '3.7'
urllib3>=1.21.1
python-dateutil>=2.8.0
websocket-client>=1.5.1
websockets>=10.0; python_version >= '3.7'
websockets>=9.1; python_version < '3.7'
dataclasses>=0.8; python_version < '3.7'
18 changes: 9 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@
from setuptools import setup

REQUIREMENTS = [
"qiskit-terra~=0.23.0",
"requests~=2.28.0",
"requests-ntlm~=1.1.0",
"qiskit-terra>=0.18.0",
"requests>=2.19",
"requests-ntlm<=1.1.0",
"numpy<1.24",
"urllib3~=1.26.0",
"python-dateutil~=2.8.0",
"websocket-client~=1.5.1",
"websockets~=10.0 ; python_version>='3.7'",
"websockets~=9.1 ; python_version<'3.7'",
"dataclasses~=0.8 ; python_version<'3.7'"
"urllib3>=1.21.1",
"python-dateutil>=2.8.0",
"websocket-client>=1.5.1",
"websockets>=10.0 ; python_version>='3.7'",
"websockets>=9.1 ; python_version<'3.7'",
"dataclasses>=0.8 ; python_version<'3.7'"
]

# Handle version.
Expand Down

0 comments on commit ec247ec

Please sign in to comment.