Closed mdickinson closed 2 years ago
I can reproduce the issue on my macOS / zsh machine using the following shell commands from the root of the repository:
$ python -m venv --clear ~/.venvs/envisage && source ~/.venvs/envisage/bin/activate
$ python -m pip install --upgrade pip setuptools wheel
$ python -m pip install -e .
$ mkdir testdir; cd testdir
$ python -m pip install ipykernel
$ python -m unittest discover -v envisage
On my machine, this causes 20 test failures+errors, all IPython-related. Those tests should be being skipped.
[From #448]
The IPython-related portions of Envisage currently require ipykernel < 6; changing that requires substantial effort.
To avoid this limitation holding back other users of Envisage who aren't interested in the IPython compatibility, we should ensure that Envisage and its test suite continue to function in an environment where ipykernel >= 6 is installed. In such an environment, functionality related to IPython should be disabled, and tests for that functionality should be skipped.