Skip to content
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

MissingIDFieldWarning in Tutorial 18 #80

Open
bilgeyucel opened this issue Nov 29, 2022 · 0 comments
Open

MissingIDFieldWarning in Tutorial 18 #80

bilgeyucel opened this issue Nov 29, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@bilgeyucel
Copy link
Contributor

Describe the issue
When generate_markdowns.py script is run, Tutorial 18 gives this warning:

/opt/homebrew/Caskroom/miniforge/base/lib/python3.10/site-packages/nbformat/__init__.py:92: MissingIDFieldWarning: Code cell is missing an id field, this will become a hard error in future nbformat versions. You may want to use `normalize()` on your notebooks before validations (available since nbformat 5.1.4). Previous versions of nbformat are fixing this issue transparently, and will stop doing so in the future.
  validate(nb)

I encountered this only with Tutorial 18.

To Reproduce
Run python scripts/generate_markdowns.py --index index.toml --notebooks tutorials/18_GPL.ipynb --output markdowns/

Expected behavior
Although I couldn't figure out why this happens, this warning might be something important. We should check it.

What environment did you try to run the tutorial on?:

  • OS: macOS, VSCode terminal
  • pip install --upgrade pip and pip install -r requirements.txt are run
@bilgeyucel bilgeyucel added the bug Something isn't working label Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant