Skip to content

Commit

Permalink
Remove cplex from package
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb-johnson committed May 23, 2024
1 parent 7bcc21a commit 5a90a6a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 1 addition & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,6 @@ dependencies = [
]

[project.optional-dependencies]
cplex = [
# We use the same restrictions in both of the following lines, as there
# is no reason for us to install docplex without cplex.
"docplex>=2.23.222; python_version < '3.12' and platform_machine != 'arm64'",
"cplex>=22.1.0.0; python_version < '3.12' and platform_machine != 'arm64'",
]
dev = [
"circuit-knitting-toolbox[test,nbtest,lint]",
]
Expand Down Expand Up @@ -83,7 +77,7 @@ docs = [
"qiskit-sphinx-theme>=1.14.0, <2"
]
notebook-dependencies = [
"circuit-knitting-toolbox[cplex]",
"circuit-knitting-toolbox",
"matplotlib",
"ipywidgets",
"pylatexenc",
Expand Down
2 changes: 0 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ isolated_build = True
[testenv]
extras =
test
cplex
commands =
pytest {posargs}

Expand Down Expand Up @@ -47,7 +46,6 @@ deps =
coverage>=5.5
extras =
test
cplex
commands =
coverage3 run --source circuit_knitting --parallel-mode -m pytest --run-slow test/ --coverage {posargs}
coverage3 combine
Expand Down

0 comments on commit 5a90a6a

Please sign in to comment.