-
Notifications
You must be signed in to change notification settings - Fork 125
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
Fixes for new nbconvert versions (v6.22) #603
Fixes for new nbconvert versions (v6.22) #603
Conversation
…otebooks An update of nbconvert to v6.X caused a new field "execution" to appear in the metadata section of code cells, seen in the conda nightly builds: https://lcgapp-services.cern.ch/root-jenkins/view/conda/job/conda-nightlies/136/testReport/junit/projectroot.python/JupyROOT/roottest_python_JupyROOT_importROOT_notebook/ Such "execution" field contains timestamps that make the notebook comparison fail. This commit filters out the metadata section of the notebooks, not relevant for the comparison, so that the timestamps don't interfere.
After an update of nbconvert to v6.X, it was observed that the "execution_count" field of the cell "outputs" section of an ipynb file is no longer equivalent to the "execution_count" field that appears one level up, which corresponds to the sequence order in which cells were executed. Seen in the conda builds: https://lcgapp-services.cern.ch/root-jenkins/view/conda/job/conda-nightlies/136/testReport/junit/projectroot.python/JupyROOT/roottest_python_JupyROOT_simpleCppMagic_notebook/ Since this makes the notebook comparison fail and the aforementioned field is not relevant for the comparison, this commit filters it out.
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 @eguiraud !
@phsft-bot build |
Starting build on |
Build failed on windows10/cxx14. Errors:
And 11 more |
No description provided.