Closed mdickinson closed 3 years ago
This should really have a test, in the form of a GitHub Actions workflow that runs the test suite after a pip install .[ipython]
.
Right now, even after that pip install
, IPython-related tests are still skipped, because ipykernel
depends on ipython_genutils
but doesn't declare that dependence.
because
ipykernel
depends onipython_genutils
but doesn't declare that dependence.
Hmm. The PyPI page for ipython_genutils says I'm supposed to pretend it doesn't exist. That's a bit awkward here.
What seems to be happening:
The result is that as of right now, if you do a pip install 'ipykernel<6'
into a clean venv and then try to import ipykernel
, that import fails:
Given that we're supposed to pretend that ipython_genutils doesn't exist, it looks as though the right thing to do may be to restrict the version of traitlets we're using to a version that still requires ipython_genutils.
I opened an upstream issue for the ipython_genutils problem: https://github.com/ipython/ipykernel/issues/759
For cleanliness, I've extracted the new workflow into its own PR: #450.
Envisage doesn't currently work with ipykernel 6.0 and later, and it looks as though substantial effort is required to make it work; see #448.
In the meantime, we should make sure that a
pip install envisage[ipython]
avoidsipykernel
version 6 and later.