-
Notifications
You must be signed in to change notification settings - Fork 2k
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
dev-python/nbval: A py.test plugin to validate Jupyter notebook #6247
Conversation
Pull Request assignment Areas affected: ebuilds dev-python/nbval: @gentoo/proxy-maint (new package) Bugs linked: 638208 |
dev-python/nbval/nbval-0.7.ebuild
Outdated
dev-python/sympy[${PYTHON_USEDEP}] | ||
dev-python/matplotlib[${PYTHON_USEDEP}] | ||
dev-python/pytest-cov[${PYTHON_USEDEP}] | ||
sys-devel/make |
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.
no need to add make to dependencies
dev-python/nbval/nbval-0.7.ebuild
Outdated
" | ||
|
||
python_test() { | ||
make test |
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.
never use naked make
, always emake
The plugin adds functionality to py.test to recognise and collect Jupyter notebooks. The intended purpose of the tests is to determine whether execution of the stored inputs match the stored outputs of the .ipynb file. Whilst also ensuring that the notebooks are running without errors. The tests were designed to ensure that Jupyter notebooks (especially those for reference and documentation), are executing consistently. Each cell is taken as a test, a cell that doesn't reproduce the expected output will fail. Bug: https://bugs.gentoo.org/638208 Package-Manager: Portage-2.3.13, Repoman-2.3.3
@SoapGentoo Thanks for the annotations. All done. |
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.
Same deal here wrt proxy-maint not added to the metadata.xml file. Will fix that.
nbval is a py.test plugin to validate Jupyter notebook. The plugin adds functionality to py.test to recognise and collect Jupyter notebooks. The intended purpose of the tests is to determine whether execution of the stored inputs match the stored outputs of the .ipynb file. Whilst also ensuring that the notebooks are running without errors. The tests were designed to ensure that Jupyter notebooks (especially those for reference and documentation), are executing consistently. Each cell is taken as a test, a cell that doesn't reproduce the expected output will fail. Closes: https://bugs.gentoo.org/638208 Closes: gentoo#6247 Package-Manager: Portage-2.3.13, Repoman-2.3.3
The plugin adds functionality to py.test to recognise and collect Jupyter notebooks.
The intended purpose of the tests is to determine whether execution of the stored
inputs match the stored outputs of the .ipynb file. Whilst also ensuring that the
notebooks are running without errors.
The tests were designed to ensure that Jupyter notebooks (especially those for reference
and documentation), are executing consistently.
Each cell is taken as a test, a cell that doesn't reproduce the expected output will fail.
Bug: https://bugs.gentoo.org/638208
Package-Manager: Portage-2.3.13, Repoman-2.3.3