Skip to content

Commit 5ad4dc8

Browse files
committed
simplify dependency versions
1 parent 9fd42b9 commit 5ad4dc8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

setup.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,10 @@
7373
include_package_data=True,
7474
python_requires=">=3.9",
7575
extras_require={
76-
"cplex": ["cplex; python_version < '3.12' and platform_machine != 'arm64'"],
76+
"cplex": ["cplex; python_version < '3.13'"],
7777
"cvx": ["cvxpy"],
7878
"matplotlib": ["matplotlib"],
79-
"gurobi": [
80-
"gurobipy; platform_machine != 'arm64' or python_version >= '3.9' and platform_machine == 'arm64'"
81-
],
79+
"gurobi": ["gurobipy; python_version >= '3.9'"],
8280
},
8381
project_urls={
8482
"Bug Tracker": "https://github.com/qiskit-community/qiskit-optimization/issues",

0 commit comments

Comments
 (0)