-
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
v1.16.3 breaks *.py notebooks #1260
Comments
Hi @st-bender, thank you for reporting this! In
Also could I see what Jupyter package you have in your env? Mine are
(If you don't mind, can you keep this env untouched so that we can test an update in your env?) A last thing that would help, would be to print the value of
Thanks! |
@mahendrapaipuri , thinking of this, I am wondering if instead of checking the parent class, we should test whether the Let me know what you think of #1261 ! |
@st-bender would you mind giving a try at the associated PR? It's either
or, if you don't have
(but the second one won't give you the Jupytext Menu) |
Yes, your suggestion is more robust and simple. I think it we should figure out the cause of this error. Hopefully @st-bender can post more details about his environment and logs. |
Looks like those lines are absent with v1.16.3, they are there with v1.16.2.
Sure:
That I can try early next week, hope the environment is good enough for your testing for now. Cheers. |
Thanks for the options, I'll get around trying them out early next week. In the meantime I hope you can replicate the issue with the environment I posted. I noticed that some packages I have are on a newer version. Cheers. |
Cheers @st-bender for the details. @mwouts I think the issue comes from the outdated I think we need to update the method signatures and add tests to test the overloaded methods from base |
Thanks for digging. This sounds indeed like the cause. In that case could you simply use |
I can confirm that #1261 fixes it for me. Hope this helps, cheers. |
Hi @st-bender , @mahendrapaipuri , thank you both for your feedback! Since the PR appears to solve that problem, I've merged it and released Re the Possibly we see the error with Also the above did not confirm it, but possibly the detection of the sync contents manager failed here because the parent class was something else than |
Hi @mahendrapaipuri , I see that the publish action failed. It's the second time I see this, so I was thinking of going back to a simpler publish action (i.e. just publish, don't run any tests), would that be fine with you? |
Yeah, I think that was some sort of edge case that trigged the error. Anyways #1261 is more reliable way to detect the contents manager and I think we should be ok with that.
Yes, we can do that. Anyways, we need to add |
Hi @mwouts Thanks a lot, much appreciated. OT: Wrt the hash stuff, there are some methods how to combine hashes "properly". If you find the time, maybe check the responses in Cheers. |
Hi,
It looks like v1.16.3 has trouble opening text (.py) notebooks, failing with "Unreadable notebook". Downgrading to v1.16.2 solves it for me.
Edit: More details, all packages installed via conda/mamba, and opening in jupyterlab fails. Looks like the content manager ist not activated.
Some console output that might be relevant:
The text was updated successfully, but these errors were encountered: