Skip to content

xdist v1.26 breaks PyInstaller's test suite for Python 2.7 #414

Closed
@htgoebel

Description

@htgoebel

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 even PyInstaller.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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions