-
Notifications
You must be signed in to change notification settings - Fork 392
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
Keep using jupytext.json for configuring the extensions #1186
Conversation
Thank you for making this pull request. Did you know? You can try it on Binder: or . Also, the version of Jupytext developed in this PR can be installed with
(this requires |
@mahendrapaipuri I would prefer to keep the setting files unchanged, to avoid getting in trouble with e.g. older configuration files left behind. Can you have a quick look at this PR and let me know what you think? Thanks! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1186 +/- ##
=======================================
Coverage 97.73% 97.73%
=======================================
Files 29 29
Lines 4456 4456
=======================================
Hits 4355 4355
Misses 101 101
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
e4b9d30
to
f19a18c
Compare
When we reorganized the repository, we made a decision to split core But the issue you raised in #1185 is a valid one. What we can do is add a build hook that cleans up the previous extension config file. As you mentioned in the issue, the error is non fatal. Jupyter server is simply trying to load a non existent extension. So, this is not a real blocker for the users. Is this sort of solution you are willing to accept? If so, I can try to draft a quick PR. |
I guess there is even a simpler solution to this. We can rename jupyterlab-jupytext.json file to |
Oh yes, that would be a nice way to do it! I will give it a try tomorrow. Thanks! |
f19a18c
to
28665a8
Compare
Hey @mahendrapaipuri , just to double check, is this new change what you suggested above ? Thanks ! |
@mwouts Exactly. This will overwrite existing config file (if any) in the current env. |
Closes #1185