nteract / papermill

📚 Parameterize, execute, and analyze notebooks
http://papermill.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
5.99k stars 428 forks source link

Fixes # nbformat to 5.2.0 to cell None type #770

Closed kks32 closed 10 months ago

kks32 commented 10 months ago

Upgrading nbformat, as nbformat==5.1.2 and 5.1.3 causes "AttributeError: 'NoneType' object has no attribute 'cells'" due to upgrading nbformat to v4 nb = nbformat.v4.upgrade(nb)

What does this PR do?

Sets nbformat to a minimum version of 5.2.0 to avoid no attribute 'cells'"

Fixes #769

codecov[bot] commented 10 months ago

Codecov Report

Merging #770 (df6cbec) into main (9bb03b6) will not change coverage. The diff coverage is n/a.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #770 +/- ## ======================================= Coverage 91.54% 91.54% ======================================= Files 17 17 Lines 1621 1621 ======================================= Hits 1484 1484 Misses 137 137 ```