@@ -38,7 +38,7 @@ def create_environ(python_version: str) -> Dict[str, str]:
38
38
env ['CIBW_BUILD' ] = f"cp{ python_version } -*"
39
39
40
40
# Don't build 32-bit wheels
41
- env ['CIBW_SKIP' ] = "*-manylinux_i686 *-win32"
41
+ env ['CIBW_SKIP' ] = "*-manylinux_i686 *-win32 *-musllinux_* "
42
42
43
43
# Apple Silicon support
44
44
# When cross-compiling on Intel, it is not possible to test arm64 and
@@ -89,7 +89,6 @@ def create_environ(python_version: str) -> Dict[str, str]:
89
89
# pytest looks for configuration files in the parent directories of where the tests live.
90
90
# since we are trying to run the tests from their installed location, we copy those into
91
91
# the venv. Ew ew ew.
92
- # We don't run tests that need lxml since we don't install lxml
93
92
# We don't run external mypyc tests since there's some issue with compilation on the
94
93
# manylinux image we use.
95
94
env ['CIBW_TEST_COMMAND' ] = """
@@ -98,7 +97,7 @@ def create_environ(python_version: str) -> Dict[str, str]:
98
97
&& cp '{project}/mypy/pytest.ini' '{project}/mypy/conftest.py' $DIR
99
98
100
99
&& MYPY_TEST_DIR=$(python -c 'import mypy.test; print(mypy.test.__path__[0])')
101
- && MYPY_TEST_PREFIX='{project}/mypy' pytest $MYPY_TEST_DIR -k 'not (reports.test or testreports)'
100
+ && MYPY_TEST_PREFIX='{project}/mypy' pytest $MYPY_TEST_DIR
102
101
103
102
&& MYPYC_TEST_DIR=$(python -c 'import mypyc.test; print(mypyc.test.__path__[0])')
104
103
&& MYPY_TEST_PREFIX='{project}/mypy' pytest $MYPYC_TEST_DIR -k 'not test_external'
@@ -111,9 +110,10 @@ def create_environ(python_version: str) -> Dict[str, str]:
111
110
bash -c "
112
111
(
113
112
DIR=$(python -c 'import mypy, os; dn = os.path.dirname; print(dn(dn(mypy.__path__[0])))')
114
- && TEST_DIR=$(python -c 'import mypy.test; print(mypy.test.__path__[0])')
115
113
&& cp '{project}/mypy/pytest.ini' '{project}/mypy/conftest.py' $DIR
116
- && MYPY_TEST_PREFIX='{project}/mypy' pytest $TEST_DIR/testcheck.py
114
+
115
+ && MYPY_TEST_DIR=$(python -c 'import mypy.test; print(mypy.test.__path__[0])')
116
+ && MYPY_TEST_PREFIX='{project}/mypy' pytest $MYPY_TEST_DIR/testcheck.py
117
117
)
118
118
"
119
119
""" .replace ('\n ' , ' ' )
0 commit comments