@@ -18,27 +18,25 @@ jobs:
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 ]
22+ python : [cp310, cp311, cp312, cp313, cp314 ]
2323 python_impl : [Python]
2424 include :
2525 - python : cp312
2626 os : ubuntu-latest
2727 python_impl : Pyodide
28- exclude :
29- - os : windows-11-arm
30- python : cp310
3128 env :
3229 BUILD_COMMIT : " main" # or a specific version, e.g., v0.13.1
3330 CIBW_BUILD : ${{ matrix.python }}-*
3431 CIBW_ARCHS_LINUX : " x86_64 aarch64"
32+ CIBW_ARCHS_MACOS : native
3533 # No support for pypy, musl, Win32 for 3.10+
3634 # Skip musl for 3.8 and 3.9 since no upstream wheels
3735 CIBW_SKIP : " pp* *-win32 *musllinux_aarch64*"
3836 CIBW_TEST_REQUIRES : pytest pytest-xdist
39- CIBW_TEST_COMMAND : python -c "import statsmodels; statsmodels.test(['--skip-examples ','--skip- slow','-n','2'], exit=True)"
37+ CIBW_TEST_COMMAND : python -c "import statsmodels; statsmodels.test(['-m ','(not slow and not example) ','-n','2'], exit=True)"
4038 # Avoid testing on emulated architectures and Pyodide
41- CIBW_TEST_SKIP : " *-*linux_{aarch64,ppc64le,s390x} *pyodide* *win_arm64* "
39+ CIBW_TEST_SKIP : " *-*linux_{aarch64,ppc64le,s390x} *pyodide*"
4240 CIBW_REPAIR_WHEEL_COMMAND_LINUX : ' auditwheel repair --strip -w {dest_dir} {wheel}'
4341 CIBW_BUILD_VERBOSITY : 1
4442 MULTIBUILD_WHEELS_STAGING_ACCESS : ${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }}
@@ -61,23 +59,12 @@ jobs:
6159
6260 - name : Build wheels (Default)
6361 uses : pypa/cibuildwheel@v3.2
64- if : (matrix.python_impl != 'Pyodide') && (matrix.os != 'macos-13')
62+ if : (matrix.python_impl != 'Pyodide')
6563 with :
6664 output-dir : wheelhouse
6765 package-dir : statsmodels
6866 env :
6967 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"
8168
8269 - name : Build Pyodide wheel
8370 if : matrix.python_impl == 'Pyodide'
0 commit comments