From 5a90a6aed5e9cee0a62fc49f0b066a128e136946 Mon Sep 17 00:00:00 2001 From: Caleb Johnson Date: Thu, 23 May 2024 13:16:49 -0500 Subject: [PATCH] Remove cplex from package --- pyproject.toml | 8 +------- tox.ini | 2 -- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 03a0acff4..c7cc754e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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]", ] @@ -83,7 +77,7 @@ docs = [ "qiskit-sphinx-theme>=1.14.0, <2" ] notebook-dependencies = [ - "circuit-knitting-toolbox[cplex]", + "circuit-knitting-toolbox", "matplotlib", "ipywidgets", "pylatexenc", diff --git a/tox.ini b/tox.ini index d83e4eca8..6d0c4d202 100644 --- a/tox.ini +++ b/tox.ini @@ -6,7 +6,6 @@ isolated_build = True [testenv] extras = test - cplex commands = pytest {posargs} @@ -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