-
Notifications
You must be signed in to change notification settings - Fork 386
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
Check ContentsManager
base class using inspect
#1254
Conversation
* If AsyncContentsManager is found, use jupytext contents manager. Signed-off-by: Mahendra Paipuri <mahendra.paipuri@gmail.com>
* jupytext==1.0.0 ships sync metamanager along with async. We use sync version in tests Signed-off-by: Mahendra Paipuri <mahendra.paipuri@gmail.com>
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 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1254 +/- ##
==========================================
- Coverage 97.76% 97.04% -0.72%
==========================================
Files 29 29
Lines 4468 4468
==========================================
- Hits 4368 4336 -32
- Misses 100 132 +32
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Hi @mahendrapaipuri , thank you for the PR. Yes that sounds great! And it's exactly the test that I wanted, thanks. Maybe we could also say a word about how to use Jupytext with I'm not sure what happened to the CI? In a recent run it was green but I have seen a few varying failures recently. |
Yes, I agree. I forgot about the docs part. I will update the PR with a word about it.
I think the failure is due to a bug in |
Thanks Mahendra. I can also take care of that over the week-end.
You mean in |
Yes, indeed I meant |
So, when we use Moreoever, I guess we should not "test" functionality of @mwouts What do you think? Btw, there is a PR to bump jupyter-fs version with bug fixes. Maybe we can wait until they cut a new release? |
Hi Mahendra, thank you for looking into this! I agree with your suggestion to uninstall jupyter-fs before running the UI tests. Do we need the next jupyter-fs release to make the tests pass? If we don't I would rather take your PR sooner, as I am thinking of publishing a new release. |
* jupyter-fs is overriding the browser test that check its own functionality. We should, therefore, remove it and check for jupytext's functionality Signed-off-by: Mahendra Paipuri <mahendra.paipuri@gmail.com>
Signed-off-by: Mahendra Paipuri <mahendra.paipuri@gmail.com>
@mwouts No, we dont need to wait for the release for the tests to pass. I added a comment to keep track of it in |
Thank you @mahendrapaipuri ! That looks great. I will fix the issue with the CI, take your PR (I might relax the requirement on |
That was a good idea. Cheers! |
Closes #1239
@mwouts What do you think of this change? I have bumped
jupytext
version in tests to use newSyncMetaManager