1818 strategy :
1919 fail-fast : false
2020 matrix :
21- python : [cp310, cp311, cp312, cp313 ]
22- os : [ubuntu-latest, windows-latest, macos-13, macos-latest, windows-11-arm ]
21+ os : [ubuntu-latest, windows-latest, macos-latest, macos-15-intel, windows-11-arm ]
22+ python : [cp310, cp311, cp312, cp313, cp314 ]
2323 python_impl : [Python]
2424 include :
2525 - python : cp312
@@ -32,13 +32,14 @@ jobs:
3232 BUILD_COMMIT : " main" # or a specific version, e.g., v0.13.1
3333 CIBW_BUILD : ${{ matrix.python }}-*
3434 CIBW_ARCHS_LINUX : " x86_64 aarch64"
35+ CIBW_ARCHS_MACOS : native
3536 # No support for pypy, musl, Win32 for 3.10+
3637 # Skip musl for 3.8 and 3.9 since no upstream wheels
3738 CIBW_SKIP : " pp* *-win32 *musllinux_aarch64*"
3839 CIBW_TEST_REQUIRES : pytest pytest-xdist
39- CIBW_TEST_COMMAND : python -c "import statsmodels; statsmodels.test(['--skip-examples ','--skip- slow','-n','2'], exit=True)"
40+ CIBW_TEST_COMMAND : python -c "import statsmodels; statsmodels.test(['-m ','(not slow and not example) ','-n','2'], exit=True)"
4041 # Avoid testing on emulated architectures and Pyodide
41- CIBW_TEST_SKIP : " *-*linux_{aarch64,ppc64le,s390x} *pyodide* *win_arm64* "
42+ CIBW_TEST_SKIP : " *-*linux_{aarch64,ppc64le,s390x} *pyodide*"
4243 CIBW_REPAIR_WHEEL_COMMAND_LINUX : ' auditwheel repair --strip -w {dest_dir} {wheel}'
4344 CIBW_BUILD_VERBOSITY : 1
4445 MULTIBUILD_WHEELS_STAGING_ACCESS : ${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }}
@@ -61,23 +62,12 @@ jobs:
6162
6263 - name : Build wheels (Default)
6364 uses : pypa/cibuildwheel@v3.2
64- if : (matrix.python_impl != 'Pyodide') && (matrix.os != 'macos-13')
65+ if : (matrix.python_impl != 'Pyodide')
6566 with :
6667 output-dir : wheelhouse
6768 package-dir : statsmodels
6869 env :
6970 CIBW_BEFORE_BUILD : ' git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
70- CIBW_ARCHS_MACOS : " arm64"
71-
72- - name : Build wheels (MacOS x86_64)
73- if : matrix.os == 'macos-13'
74- uses : pypa/cibuildwheel@v3.2
75- with :
76- output-dir : wheelhouse
77- package-dir : statsmodels
78- env :
79- CIBW_BEFORE_BUILD : ' git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
80- CIBW_ARCHS_OSX : " x86_64"
8171
8272 - name : Build Pyodide wheel
8373 if : matrix.python_impl == 'Pyodide'
0 commit comments