@@ -38,7 +38,7 @@ def create_environ(python_version: str) -> Dict[str, str]:
3838 env ['CIBW_BUILD' ] = f"cp{ python_version } -*"
3939
4040 # Don't build 32-bit wheels
41- env ['CIBW_SKIP' ] = "*-manylinux_i686 *-win32"
41+ env ['CIBW_SKIP' ] = "*-manylinux_i686 *-win32 *-musllinux_* "
4242
4343 # Apple Silicon support
4444 # 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]:
8989 # pytest looks for configuration files in the parent directories of where the tests live.
9090 # since we are trying to run the tests from their installed location, we copy those into
9191 # the venv. Ew ew ew.
92- # We don't run tests that need lxml since we don't install lxml
9392 # We don't run external mypyc tests since there's some issue with compilation on the
9493 # manylinux image we use.
9594 env ['CIBW_TEST_COMMAND' ] = """
@@ -98,7 +97,7 @@ def create_environ(python_version: str) -> Dict[str, str]:
9897 && cp '{project}/mypy/pytest.ini' '{project}/mypy/conftest.py' $DIR
9998
10099 && 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
102101
103102 && MYPYC_TEST_DIR=$(python -c 'import mypyc.test; print(mypyc.test.__path__[0])')
104103 && 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]:
111110 bash -c "
112111 (
113112 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])')
115113 && 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
117117 )
118118 "
119119 """ .replace ('\n ' , ' ' )
0 commit comments