Skip to content

Commit b716245

Browse files
committed
Define cuda and cpu extras as exclusive
1 parent 72454bc commit b716245

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

poetry.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ dynamic = ["version"]
77
# TODO: this doesn't seem to match code comments
88
authors = [{ name = "Pedro Ribioro", email = "[email protected]" }]
99
readme = "README.md"
10-
#These cause tests to fail
1110
project.urls = [
1211
"https://epistasislab.github.io/tpot/",
1312
"https://github.com/EpistasisLab/tpot",
@@ -83,8 +82,8 @@ dependencies = [
8382
]
8483

8584
[project.optional-dependencies]
86-
cpu = ["xgboost-cpu>=3.0"]
87-
cuda = ["xgboost>=3.0"]
85+
cpu = ["xgboost-cpu (>=3.0) ; extra != 'cuda'"]
86+
cuda = ["xgboost (>=3.0) ; extra != 'cpu'"]
8887
nn = ["torch"]
8988
plot = ["matplotlib"]
9089

0 commit comments

Comments
 (0)