Skip to content

Fixes # nbformat to 5.2.0 to cell None type#770

Merged
rgbkrk merged 1 commit into
nteract:mainfrom
kks32:main
Jan 25, 2024
Merged

Fixes # nbformat to 5.2.0 to cell None type#770
rgbkrk merged 1 commit into
nteract:mainfrom
kks32:main

Conversation

@kks32
Copy link
Copy Markdown
Contributor

@kks32 kks32 commented Jan 20, 2024

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

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)`
Copy link
Copy Markdown
Member

@rgbkrk rgbkrk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@rgbkrk rgbkrk enabled auto-merge (squash) January 25, 2024 03:45
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 25, 2024

Codecov Report

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

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

@rgbkrk rgbkrk merged commit 9964964 into nteract:main Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nbformat 5.1.2 and 5.1.3 cause AttributeError: 'NoneType' object has no attribute 'cells'

2 participants