Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 638208 - dev-python/nbval - A py.test plugin to validate Jupyter notebooks
Summary: dev-python/nbval - A py.test plugin to validate Jupyter notebooks
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-20 10:26 UTC by Marius Brehler
Modified: 2017-11-30 14:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Brehler 2017-11-20 10:26:42 UTC
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.


Required for >=dev-python/notebook-5.2.1.
Comment 1 Larry the Git Cow gentoo-dev 2017-11-30 14:46:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86fc237b0882e338f40a319c088f424904a73962

commit 86fc237b0882e338f40a319c088f424904a73962
Author:     Marius Brehler <marbre@linux.sungazer.de>
AuthorDate: 2017-11-20 10:24:36 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2017-11-30 14:46:17 +0000

    dev-python/nbval: new package.
    
    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: https://github.com/gentoo/gentoo/pull/6247
    Package-Manager: Portage-2.3.13, Repoman-2.3.3

 dev-python/nbval/Manifest         |  1 +
 dev-python/nbval/metadata.xml     | 31 +++++++++++++++++++++++++++++++
 dev-python/nbval/nbval-0.7.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 68 insertions(+)