Skip to content

macOS wheel builds broken because of find_sources test failure #10073

@JukkaL

Description

@JukkaL

macOS wheel builds are broken because of a test failure:

...
        files = {
            "pkg/a1/b/c/d/e.py",
            "pkg/a1/b/f.py",
            "pkg/a2/__init__.py",
            "pkg/a2/b/c/d/e.py",
            "pkg/a2/b/f.py",
        }
        fscache = FakeFSCache(files)
>       assert len(find_sources(["/"], options, fscache)) == len(files)

site-packages/mypy/test/test_find_sources.py:363: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
site-packages/mypy/test/test_find_sources.py:59: in find_sources
    return normalise_build_source_list(create_source_list(paths, options, fscache))
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

>   ???
E   mypy.find_sources.InvalidSourceList: There are no .py[i] files in directory '/'

This is blocking the 0.810 release #10062.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions