-
Notifications
You must be signed in to change notification settings - Fork 394
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
pre-commit hook : nbformat is inconsistent locally and on CI #715
Comments
Hi @jturner65 , well I was glad to learn about the new I agree with you, using Is it an option for you to use Also cc @Skylion007 as he knows the Habitat project better than me. |
Oh I do have the same issue on my recent PR, cf. #709 for instance |
Do you think this might be something with python 3.8.x? |
The Jupytext plan that fails uses
This is the version that introduces the nbformat version 4.5, cf. https://nbformat.readthedocs.io/en/latest/changelog.html So probably the quickest fix here will be to require |
This is going to cause issues with #698 |
Since the suggestion offered seems to have addressed the issue, I'll close this. Thanks a lot folks! 👍 |
Hello
I am a developer on Habitat-Sim. I have just started having this problem (yesterday everything was working properly). When I run pre-commit locally on our codebase via :
pre-commit run jupytext-sync --all-files
all colabs in the project pass, but when I run it on CI, it seems to be attempting to upgrade the nbformat minor version from 4 to 5, and inserting synthesied v4.5-compatible ID values in each cell.
Here's a link to the CI with the error.
I am using jupytext 1.6.0 and on my local python is 3.8.5.
The text was updated successfully, but these errors were encountered: