-
-
Notifications
You must be signed in to change notification settings - Fork 553
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue #2457 make jupyter a dev only dependency #2846
Issue #2457 make jupyter a dev only dependency #2846
Conversation
…upyter-a-dev-only-dependency
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## develop #2846 +/- ##
========================================
Coverage 99.69% 99.69%
========================================
Files 273 273
Lines 19065 19065
========================================
Hits 19006 19006
Misses 59 59 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
@tinosulzer I have listed the packages that were dependent on Jupyter in required dependencies but now the tests are failing while running example notebooks most likely on this line - |
you should install jupyter in |
…cy' of https://github.com/arjxn-py/PyBaMM into Issue-pybamm-team#2457-Make-jupyter-a-dev-only-dependency
@tinosulzer Thankfully, almost all the tests are passing now. Though i'm not sure about the Lynchee one. |
won't jupyter install nbconvert (i.e. no need to make explicit) |
I listed it to avoid the potential risk to examples tests failing, but yes |
Co-authored-by: Saransh Chopra <[email protected]>
One of the integration test is failing but I don't think I've made any changes in that regard. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @arjxn-py! Looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you update changelog (add this as a breaking change)?
Yes i'll do that. |
Description
Made jupyter a development only dependency instead of required dependency.
Fixes #2457
Type of change
Jupyter has been moved from required dependency to development only dependency in
requirements.txt
&setup.py
and also been added as a testing dependency intox.ini
.Key checklist:
$ pre-commit run
(see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)$ python run-tests.py --all
$ python run-tests.py --doctest
You can run unit and doctests together at once, using
$ python run-tests.py --quick
.Further checks: