Skip to content

Commit

Permalink
Merge pull request #2846 from arjxn-py/Issue-#2457-Make-jupyter-a-dev…
Browse files Browse the repository at this point in the history
…-only-dependency

Issue #2457 make jupyter a dev only dependency
  • Loading branch information
valentinsulzer committed Apr 3, 2023
2 parents 08dc8f7 + ba89a07 commit 87c0696
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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={
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 87c0696

Please sign in to comment.