From c54d34ffdc04f796007f58d213403984b96011e6 Mon Sep 17 00:00:00 2001 From: Kevin Sheppard Date: Mon, 20 Oct 2025 13:40:55 +0100 Subject: [PATCH 1/2] Update main --- .github/workflows/build-wheels.yml | 22 ++++++---------------- statsmodels | 2 +- 2 files changed, 7 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 6fc76a7..8568071 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -18,8 +18,8 @@ jobs: strategy: fail-fast: false matrix: - python: [cp310, cp311, cp312, cp313] - os: [ubuntu-latest, windows-latest, macos-13, macos-latest, windows-11-arm] + os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel, windows-11-arm] + python: [cp310, cp311, cp312, cp313, cp314] python_impl: [Python] include: - python: cp312 @@ -32,13 +32,14 @@ jobs: BUILD_COMMIT: "main" # or a specific version, e.g., v0.13.1 CIBW_BUILD: ${{ matrix.python }}-* CIBW_ARCHS_LINUX: "x86_64 aarch64" + CIBW_ARCHS_MACOS: native # No support for pypy, musl, Win32 for 3.10+ # Skip musl for 3.8 and 3.9 since no upstream wheels CIBW_SKIP: "pp* *-win32 *musllinux_aarch64*" CIBW_TEST_REQUIRES: pytest pytest-xdist - CIBW_TEST_COMMAND: python -c "import statsmodels; statsmodels.test(['--skip-examples','--skip-slow','-n','2'], exit=True)" + CIBW_TEST_COMMAND: python -c "import statsmodels; statsmodels.test(['-m','(not slow and not example)','-n','2'], exit=True)" # Avoid testing on emulated architectures and Pyodide - CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *pyodide* *win_arm64*" + CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *pyodide*" CIBW_REPAIR_WHEEL_COMMAND_LINUX: 'auditwheel repair --strip -w {dest_dir} {wheel}' CIBW_BUILD_VERBOSITY: 1 MULTIBUILD_WHEELS_STAGING_ACCESS: ${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }} @@ -61,23 +62,12 @@ jobs: - name: Build wheels (Default) uses: pypa/cibuildwheel@v3.2 - if: (matrix.python_impl != 'Pyodide') && (matrix.os != 'macos-13') + if: (matrix.python_impl != 'Pyodide') with: output-dir: wheelhouse package-dir: statsmodels env: CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}' - CIBW_ARCHS_MACOS: "arm64" - - - name: Build wheels (MacOS x86_64) - if: matrix.os == 'macos-13' - uses: pypa/cibuildwheel@v3.2 - with: - output-dir: wheelhouse - package-dir: statsmodels - env: - CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}' - CIBW_ARCHS_OSX: "x86_64" - name: Build Pyodide wheel if: matrix.python_impl == 'Pyodide' diff --git a/statsmodels b/statsmodels index cee5801..0847271 160000 --- a/statsmodels +++ b/statsmodels @@ -1 +1 @@ -Subproject commit cee5801ce86bb69256ad26227f6234c1d749a2ca +Subproject commit 0847271f6789d7e95341dcf6e0c19a83cd6ef3f0 From e5e58e69e729213b1b275843f3723a8872b56fbb Mon Sep 17 00:00:00 2001 From: Kevin Sheppard Date: Mon, 20 Oct 2025 13:43:22 +0100 Subject: [PATCH 2/2] Remove win arm --- .github/workflows/build-wheels.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 8568071..af7402a 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -18,16 +18,13 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel, windows-11-arm] + os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel] python: [cp310, cp311, cp312, cp313, cp314] python_impl: [Python] include: - python: cp312 os: ubuntu-latest python_impl: Pyodide - exclude: - - os: windows-11-arm - python: cp310 env: BUILD_COMMIT: "main" # or a specific version, e.g., v0.13.1 CIBW_BUILD: ${{ matrix.python }}-*