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

Upgrade nbconvert #1567

Merged
merged 6 commits into from
May 4, 2022
Merged

Upgrade nbconvert #1567

merged 6 commits into from
May 4, 2022

Conversation

brichet
Copy link
Contributor

@brichet brichet commented May 3, 2022

This PR upgrades dependencies to nbconvert>=6 ,and jinja2>=3.

  • preprocessing cell is now done with the native nbclient method (instead of overriding the nbconvert<6 one)
  • feedback and formgrade templates are now using the nbconvert>6 template system
  • uses ClearMetadataPreprocessor in exporter when running tests to remove the new execution which which was breaking comparison tests

Closes #1373, #1382

Thanks @davidbrochart for nbclient adaptation

Nicolas Brichet added 4 commits May 3, 2022 11:09
…to remove 'execution' part of cell metadata which does not allow comparison between Notebook files after execution
…re but use the one from nbclient, checking the execute_reply after execution
@BertR
Copy link
Contributor

BertR commented May 3, 2022

Thanks for this PR @brichet

Nicolas Brichet added 2 commits May 3, 2022 16:31
… browser to english language to be able to reach menu item by 'data-name' and (2) changes the way date are inserted in form to avoid error on date format
@brichet
Copy link
Contributor Author

brichet commented May 3, 2022

@BertR I made some changes to fix nbextensions errors, and also to avoid errors with date format and language in test browser (my locales are not English, so some tests were failing).

@BertR
Copy link
Contributor

BertR commented May 4, 2022

Great stuff!

@BertR BertR merged commit b2b663c into jupyter:master May 4, 2022
@brichet
Copy link
Contributor Author

brichet commented May 4, 2022

Thanks @BertR

@brichet brichet deleted the upgrade_nbconvert branch May 5, 2022 07:25
@jhamrick jhamrick added this to the 0.7.0 milestone May 5, 2022
@jhamrick
Copy link
Member

jhamrick commented May 5, 2022

Does this supersede #1421?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants