From f8496f2bc39d708b4160a96e547b887a22d57472 Mon Sep 17 00:00:00 2001 From: "Travis F. Collins" Date: Thu, 26 Sep 2024 16:50:03 -0600 Subject: [PATCH] Remove use of poetry Signed-off-by: Travis F. Collins --- noxfile.py | 8 ++------ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/noxfile.py b/noxfile.py index ceee78b..34abad4 100644 --- a/noxfile.py +++ b/noxfile.py @@ -98,14 +98,12 @@ def tests(session): args = session.posargs or ["--cov=adijif"] install_with_constraints( session, + ".[cplex,gekko]", "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", - "gekko", "numpy", - "cplex", - "docplex==2.23.222", "coverage[toml]", ) session.run("pytest", *args) @@ -118,14 +116,12 @@ def testsp(session): args = [f"-n={os.cpu_count()}"] or ["--cov=adijif"] install_with_constraints( session, + ".[cplex,gekko]", "pytest", "pytest-cov", "pytest-xdist", "pytest-mock", - "gekko", "numpy", - "cplex", - "docplex", "coverage[toml]", ) session.run("pytest", *args) diff --git a/pyproject.toml b/pyproject.toml index a3eae51..5266b37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ requires-python = ">=3.7" dependencies = ["numpy"] [project.optional-dependencies] -cplex = ["cplex", "docplex"] +cplex = ["cplex", "docplex==2.24.231"] gekko = ["gekko"] [tool.coverage.paths]