Closed
Description
PyInstaller's test-suite fails with an import error when xdist 1.26 is used, but only on Python 2.7.
xdist | Python 2.7 | Python 3.x |
---|---|---|
1.25.0 | pass | pass |
1.26.0 | fail | pass |
> ???
E ImportError: No module named makespec
PyInstaller/__main__.py:78: ImportError
- As you can see, the trace back does not show the source
PyInstaller/__main__.py:78
reads:import PyInstaller.building.makespec
.- Of course this module exists, otherwise test with other versions would fail, too.
- Diagnostic output I added shows modules like
PyInstaller.building.PyInstaller
,PyInstaller.lib.modulegraph.sys
,PyInstaller.utils.hooks.PyInstaller
and evenPyInstaller.utils.pytest
- none of which exists.
- In PyInstaller's main repo failure are different: Most tests pass, but some fail when trying to import
PyInstaller.hooks
.
I thought, this might be related to #397, but setting PYTHONPATH does not solve the issue.
Metadata
Metadata
Assignees
Labels
No labels