Closed cisaacstern closed 2 years ago
Hi @cisaacstern thanks for the report.
Looks like nbclient 0.5.12 has this issue on my end.
Please could you try pip install nbclient==0.5.13
If this fixes it then I may require this version or higher.
@alex-treebeard thanks for the prompt reply.
This does solve the problem for me.
I've opened #65 for your consideration.
Describe the bug Installing
nbmake
withpip
appears to break the command line invocation ofpytest
withModuleNotFoundError: No module named 'ipython_genutils'
.To Reproduce Steps to reproduce the behavior:
1. Create and activate a new virtual environment
2. Install pytest and nbmake
output of
``` Package Version ------------------- ------- appnope 0.1.2 asttokens 2.0.5 attrs 21.4.0 backcall 0.2.0 debugpy 1.5.1 decorator 5.1.1 entrypoints 0.4 executing 0.8.3 importlib-resources 5.4.0 iniconfig 1.1.1 ipykernel 6.9.1 ipython 8.1.1 jedi 0.18.1 jsonschema 4.4.0 jupyter-client 7.1.2 jupyter-core 4.9.2 matplotlib-inline 0.1.3 nbclient 0.5.12 nbformat 5.2.0 nbmake 1.2 nest-asyncio 1.5.4 packaging 21.3 parso 0.8.3 pexpect 4.8.0 pickleshare 0.7.5 pip 20.2.3 pluggy 1.0.0 prompt-toolkit 3.0.28 ptyprocess 0.7.0 pure-eval 0.2.2 py 1.11.0 pydantic 1.9.0 Pygments 2.11.2 pyparsing 3.0.7 pyrsistent 0.18.1 pytest 7.0.1 python-dateutil 2.8.2 pyzmq 22.3.0 setuptools 49.2.1 six 1.16.0 stack-data 0.2.0 tomli 2.0.1 tornado 6.1 traitlets 5.1.1 typing-extensions 4.1.1 wcwidth 0.2.5 zipp 3.7.0 ```pip list
3. Call
pytest
which raisesExpected behavior I would expect installing nbmake via
pip
to not breakpytest
.Screenshots n/a
Desktop (please complete the following information):
Smartphone (please complete the following information): n/a
Additional context None I can think of. Happy to answer follow up questions!