Comments (11)
It seems that nbclient should be updated for nbconvert 6.0
@bainadeashish you should be able to work by pinning nbconvert 5.6.1
from nbclient.
@bainadeashish could you provide some more information about your environment (the output of pip list
), and a specific code to reproduce the error?
from nbclient.
Ah, it seems the issue comes from the fact that nbclient requires python 3.7 (for AsyncGenerator support), and nbconvert 6.0 now relies on nbclient for nbexecute.
We will look for a workaround to maintain some support for Python 3.6 in a patch release, but we already announced that we would be dropping Python 3.6 support in the nbconvert 6.0.
from nbclient.
I tried for python 3.8 it works but for 3.6 it fails
Any other solution apart from upgrading our project from 3.6 to latest python release?
from nbclient.
Any other solution apart from upgrading our project from 3.6 to latest python release?
You can either
- upgrade python to 3.7 or 3.8
or
- pin nbconvert to 5.6.1 (any release before 6.0) until we publish a patch release with a workaround.
from nbclient.
Hum typing.AsyncGenerator
is already defined in python 3.6.10 apparently.
from nbclient.
@bainadeashish correction: AsyncGenerator
is new in Python 3.6.1, and absent in Python 3.6.0, which you are using.
from nbclient.
@SylvainCorlay thank you downgraded version of nbclien t to 5.6.1 and that solved issue.
from nbclient.
@bainadeashish great. Btw, upgrading python from 3.6.0 to 3.6.1 or any later version would have worked. We did not catch it in our CI because our 3.6 tests run on a more recent patch version.
from nbclient.
And I don't think we'll support 3.6.0 -- that version has many missing security patches and broken functionality
from nbclient.
Agreed. Closing. I will add a comment in nbconvert's readme that 3.6.1 is required.
from nbclient.
Related Issues (20)
- 0.5.13: pytest warnings and fails HOT 3
- Question: Total notebook timeout possible? HOT 3
- Using nbclient to talk to jupyter lab running remotely HOT 10
- Renamed default branch to main
- 0.6.1: sphinx faiils because missing file HOT 2
- Background Python process after running tests
- How to reuse exsisting kernel? HOT 4
- Test failure in ipywidgets 8 HOT 2
- nbclient 0.6.6 doesn't report cell magic error properly
- Cell caching HOT 6
- just_run does not close event loop it creates HOT 2
- Project dependencies may have API risk issues HOT 2
- 0.7.1: pytest is failing because missing ` jupyter_core.utils.ensure_async` HOT 11
- jupyter_core version constraint is invalid HOT 3
- nbclient >= 0.7.1 raises ImportError when trying to open a notebook HOT 1
- AttributeError: 'KernelManager' object has no attribute 'cleanup' HOT 5
- `NotebookClient.wait_for_reply` hangs with jupyter_client 8 or later HOT 4
- Is it possible to programmatically inspect variables of a NotebookNode? HOT 5
- output of type `stream` is split over multiple cells HOT 10
- execute_cell running error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nbclient.