File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change @@ -148,6 +148,29 @@ Run `python tools/gen_models.py` to generate test models into your virtual envir
148148 and you should be able to just run `$ pytest`.
149149
150150
151+ ### Setup gotchas
152+
153+ #### Using a system-wide `pytest` install
154+
155+ Errors like `ModuleNotFoundError: No module named typing_inspection’` can
156+ occur when using a system wide pytest installation.
157+
158+ This can be caused by having run either `pip install pytest` outside a venv
159+ or `apt install python3-pytest`.
160+
161+ If you want to keep these installations, you can still run tests locally by
162+ running `python -m pytest`.
163+
164+ #### `make clean && make` to fix binary incompatibilities
165+
166+ Errors such as:
167+ ```bash
168+ gel.protocol.protocol.ExecuteContext size changed, may indicate binary
169+ incompatibility. Expected 152 from C header, got 184 from PyObject
170+ ```
171+
172+ Indicate something has changed a ` pyx ` file. A clean rebuild is necessary.
173+
151174### Running Tests
152175
153176``` bash
You can’t perform that action at this time.
0 commit comments