Skip to content

Commit 9625779

Browse files
refactor dependencies in pyproject.toml to streamline optional dependencies and remove unused packages
1 parent c6d8160 commit 9625779

1 file changed

Lines changed: 22 additions & 2 deletions

File tree

‎pyproject.toml‎

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,25 @@ classifiers = [
2828
]
2929
dependencies = [
3030
"networkx>=3.4.2",
31+
"pandas>=3.0.3",
3132
"pot>=0.9.5",
3233
"scikit-learn>=1.7.0",
33-
"seaborn>=0.13.2",
3434
"torch>=2.7.0",
3535
"torch-geometric>=2.6.1",
3636
"torchvision>=0.22.0",
3737
]
3838

39+
[project.optional-dependencies]
40+
lightning = [
41+
"lightning>=2.6.1",
42+
]
43+
dgl = [
44+
"dgl>=1.1,<3; python_version < '3.13'",
45+
]
46+
integrations = [
47+
"rings-evaluation[lightning,dgl]",
48+
]
49+
3950
[project.urls]
4051
Documentation = "https://aidos.group/rings/"
4152
Repository = "https://github.com/aidos-lab/rings"
@@ -59,11 +70,20 @@ build-backend = "hatchling.build"
5970
[dependency-groups]
6071
dev = [
6172
"ipykernel>=6.29.5",
62-
"lightning>=2.6.1",
6373
"pytest>=8.4.1",
6474
"pytest-cov>=6.2.1",
6575
"ruff>=0.15.13",
6676
]
77+
lightning = [
78+
"lightning>=2.6.1",
79+
]
80+
dgl = [
81+
"dgl>=1.1,<3; python_version < '3.13'",
82+
]
83+
integrations = [
84+
"lightning>=2.6.1",
85+
"dgl>=1.1,<3; python_version < '3.13'",
86+
]
6787
docs = [
6888
"furo>=2024.8.6",
6989
"sphinx>=8.2.3",

0 commit comments

Comments
 (0)