datactive / bigbang

Scientific analysis of collaborative communities
http://datactive.github.io/bigbang/
MIT License
149 stars 52 forks source link

AttributeError: module 'warnings' has no attribute 'warning' #555

Closed sbenthall closed 2 years ago

sbenthall commented 2 years ago

Failing test on repo_loader importing nbformat

Made issue for this here:

https://github.com/jupyter/nbformat/issues/267

Christovis commented 2 years ago

Fixed with this PR #556 by using

import nbformat

with open(filename) as f:
nb = nbformat.read(f.read())