-
Notifications
You must be signed in to change notification settings - Fork 6
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
Deprecate "running notebooks": switching to nbval #42
base: main
Are you sure you want to change the base?
Conversation
Seem to be getting the below for all the run tests while using nbval :( Initial error?
And another while it's being handled?
Full thing:
|
…ings this project is about ;)
Apart from the issue above (which I am also having locally and on travis with nbval's own test suite, in a separate piece of work), there's another issue: nbval has its own code for interacting with the kernel, and it does not behave as I would expect. E.g. if you have some random junk magic like nbsmoke uses the jupyter org's own nbconvert, which in turns uses the jupyter org's own nbclient (originally part of nbconvert) for communicating with kernel. My next step is probably to see what the chances are of unifying things a bit more. (Would not be worth it for nbsmoke alone, but another project I use also uses parts of nbval...) |
Sounds like it would be worth filing an issue on nbval asking for it to behave like Jupyter does in other cases, to increase its value for testing purposes. |
Yes, I have a few PRs and issues open on nbval already. To summarize where they are headed (in my mind):
Regarding point 2, here's an extract copy/pasted - please say if you have a better idea/other thoughts about it:
Don't know what the options should be called yet, partly because I don't know how pytest handles arguments, plus there's backwards compatibility to consider. |
Closes #1
Closes #20
Closes #31
--nbval-lax
to replace--nbsmoke-run
.--nbval-lax
instead of--nbsmoke-run
To do:
nbval does not support config file?use pytest options/confignbval does not support skipping a notebook (except by comment on every cell)use pytest options/configAlso: