jupyter / nbformat

Reference implementation of the Jupyter Notebook format

Home Page:http://nbformat.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nbformat/validator.py:315: Passing a schema to Validator.iter_errors is deprecated

drernie opened this issue · comments

/Users/nauto/homebrew/lib/python3.10/site-packages/nbformat/validator.py:315: DeprecationWarning:
Passing a schema to Validator.iter_errors is deprecated and will be removed in a future release.
Call validator.evolve(schema=new_schema).iter_errors(...) instead.

Got this with nbformat 5.1.3

we probably will need to support both, there: the suggested .evolve replacement wasn't available to ~3.1, and we're still claiming compatibility back to 2.4.