-
Notifications
You must be signed in to change notification settings - Fork 391
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
Incompatibility with jupyter_server 2.11.0 #1165
Comments
Might be a bit edge-case, but just limiting jupyter-server to <2.11 might not be enough since the script code generated by jupytext and the original ipynb file can get out of sync and throws an error
|
I opened an issue upstream - don't work yet to a fix because there is a high chance that version will get yanked... |
Thanks @LoicGrobol for the detailed report. Very helpful ! Thanks also @fcollonval for the update, I will wait for further news then. Also right now we are in the middle of a big update so it might take me/us one week or more before we can release a fix. |
Sorry for the breaking changes to the API. I have created jupyter-server/jupyter_server#1367 to fix this. |
I saw jupyter-server 2.11.1 was released a few hours ago and I no longer get jupytext errors when launching Jupyter lab with it. This appears to be resolved. |
|
Yes! Please leave this issue open, I will look into this. If I read the code correctly, the Also thanks for adding the downstream test against Jupytext! I have a quick question about that. We have a release candidate |
I don't think this is possible as I don't see an option in the action used: https://github.com/jupyterlab/maintainer-tools/blob/main/.github/actions/downstream-test/action.yml You could open an issue there to see if it is possible. |
Thanks for checking! No problem at all - I was just a little worried to break that test with the recent release of |
Description
jupyter_server
version 2.11.0 brokeJupytextContentsManager
, making jupytext unusable.Reproduce
jupytext
andjupyter_server==2.11.0
jupyter lab
(the issue also occurs with notebook though)TypeError: build_jupytext_contents_manager_class.<locals>.JupytextContentsManager.get() got an unexpected keyword argument 'md5'
This is most likely caused by the API change in jupyter-server/jupyter_server#1363 which made
md5
part of the expected arguments to the contents managersget
hook. A proper fix would be to updateJupytextContentsManager
accordingly, but in the meantime a hotfix would be to pinjupyter_server
to<2.11
.The text was updated successfully, but these errors were encountered: