You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
macOS wheel builds broken because of find_sources test failure #10073
The wheel build is still failing. I have another attempt being built, but at least if it doesn't work, I'll probably have to postpone until the next week.
We currently normalise the path for the purposes of --exclude using abspath, but maybe we should use relpath. This would make the behaviour more consistent across possible project locations (assuming that you run mypy from within the project)
Activity
JukkaL commentedon Feb 11, 2021
Actually it's unclear if this is failing on the 0.810 release branch. If it's only failing on master, this doesn't block the 0.810 release.
JukkaL commentedon Feb 11, 2021
Yes, this is failing on the 0.810 release branch, as I feared originally. I'm working on a fix.
JukkaL commentedon Feb 11, 2021
The wheel build is still failing. I have another attempt being built, but at least if it doesn't work, I'll probably have to postpone until the next week.
hauntsaninja commentedon Feb 11, 2021
Sorry for the trouble, I'm optimistic #10077 would fix.
hauntsaninja commentedon Feb 11, 2021
Your fix seems to have worked... But maybe we should change the logic a little:
mypy/mypy/modulefinder.py
Line 479 in 6bfc2db
We currently normalise the path for the purposes of
--excludeusing abspath, but maybe we should use relpath. This would make the behaviour more consistent across possible project locations (assuming that you run mypy from within the project)hauntsaninja commentedon Feb 11, 2021
I opened a PR in case you think using relpath is better: #10078
JukkaL commentedon Feb 15, 2021
@hauntsaninja Thanks, the macOS wheel builds work now.