Skip to content

Commit 35540f6

Browse files
committed
Don't install (nor run) mypy on PyPy (librt build failures)
1 parent 8f3d95e commit 35540f6

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,9 @@ enabler = [
6363

6464
type = [
6565
# upstream
66-
"pytest-mypy >= 1.0.1",
67-
68-
## workaround for python/mypy#20454
69-
"mypy < 1.19; python_implementation == 'PyPy'",
66+
# static type checking doesn't need to be run on PyPy.
67+
# This also prevents sudden unexpected failure from incompatibilities
68+
"pytest-mypy >= 1.0.1; platform_python_implementation != 'PyPy'",
7069

7170
# local
7271
]

0 commit comments

Comments
 (0)