Skip to content

Commit

Permalink
Remove use of poetry
Browse files Browse the repository at this point in the history
Signed-off-by: Travis F. Collins <[email protected]>
  • Loading branch information
tfcollins committed Sep 26, 2024
1 parent 2fe5ae7 commit f8496f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit f8496f2

Please sign in to comment.