Skip to content

Commit 48332e3

Browse files
build: Move notebook dependency to 'notebook' extra
* As sbi does not have any use of the notebook library itself it should not be a required dependency. Remove it from 'dependencies' and create a 'notebook' extra instead.
1 parent 3316888 commit 48332e3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ dependencies = [
3232
"arviz",
3333
"joblib>=1.0.0",
3434
"matplotlib",
35-
"notebook <= 6.4.12",
3635
"numpy",
3736
"pillow",
3837
"pyknos>=0.16.0",
@@ -48,7 +47,9 @@ dependencies = [
4847
]
4948

5049
[project.optional-dependencies]
50+
notebook = ["notebook<=6.4.12"]
5151
doc = [
52+
"sbi[notebook]",
5253
# Documentation
5354
"ipython <= 8.9.0",
5455
"jupyter_contrib_nbextensions",

0 commit comments

Comments
 (0)