diff --git a/CHANGELOG.md b/CHANGELOG.md index 482f9cd86e..2f30f39441 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # [Unreleased](https://github.com/pybamm-team/PyBaMM/) +# Breaking changes + +- Made `Jupyter` a development only dependency. Now `Jupyter` would not be a required dependency for users while installing `PyBaMM`. ([#2457](https://github.com/pybamm-team/PyBaMM/pull/2846)) + # [v23.3](https://github.com/pybamm-team/PyBaMM/tree/v23.3) - 2023-03-31 ## Features diff --git a/requirements.txt b/requirements.txt index b98b6576c1..665b774938 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,6 @@ autograd >= 1.2 scikit-fem >= 0.2.0 casadi >= 3.5.0 imageio>=2.9.0 -jupyter # For example notebooks pybtex>=0.24.0 sympy >= 1.8 bpx diff --git a/setup.py b/setup.py index f5aa1638a7..5d4079d062 100644 --- a/setup.py +++ b/setup.py @@ -197,7 +197,7 @@ def compile_KLU(): "scikit-fem>=0.2.0", "casadi>=3.5.0", "imageio>=2.9.0", - "jupyter", # For example notebooks + "importlib-metadata", "pybtex>=0.24.0", "sympy>=1.8", "bpx", @@ -218,6 +218,7 @@ def compile_KLU(): "dev": [ "pre-commit", # For code style checking "black", # For code style auto-formatting + "jupyter", # For example notebooks ], }, entry_points={ diff --git a/tox.ini b/tox.ini index 555a7f073b..f47e8fa1e5 100644 --- a/tox.ini +++ b/tox.ini @@ -18,6 +18,7 @@ deps = doctests: sphinx-copybutton doctests: myst-parser !windows-!mac: scikits.odes + examples: jupyter # For example notebooks commands = tests-!windows-!mac: sh -c "pybamm_install_jax" # install jax, jaxlib for ubuntu