diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index be4a2ef..73d1a6c 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -16,8 +16,8 @@ jobs: strategy: fail-fast: false matrix: - python: [cp39, cp310, cp311, cp312, cp313] - os: [ubuntu-latest, windows-latest, macos-13, macos-latest] + os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel] + python: [cp39, cp310, cp311, cp312, cp313, cp314] python_impl: [Python] include: - python: cp312 @@ -27,16 +27,16 @@ jobs: BUILD_COMMIT: "v0.14.5" # 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 cp38-musllinux* cp39-musllinux* *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*" CIBW_REPAIR_WHEEL_COMMAND_LINUX: 'auditwheel repair --strip -w {dest_dir} {wheel}' CIBW_BUILD_VERBOSITY: 1 - CIBW_PRERELEASE_PYTHONS: True MULTIBUILD_WHEELS_STAGING_ACCESS: ${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }} SCIENTIFIC_PYTHON_NIGHTLY_WHEELS: ${{ secrets.SCIENTIFIC_PYTHON_NIGHTLY_WHEELS }} MKL_NUM_THREADS: 1 @@ -44,7 +44,7 @@ jobs: OPENLAS_NUM_THREADS: 1 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v5 with: submodules: recursive fetch-depth: 0 @@ -56,28 +56,17 @@ jobs: platforms: all - name: Build wheels (Default) - uses: pypa/cibuildwheel@v3.0 - if: (matrix.python_impl != 'Pyodide') && (matrix.os != 'macos-13') + uses: pypa/cibuildwheel@v3.2 + 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.0 - 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' - uses: pypa/cibuildwheel@v3.0 + uses: pypa/cibuildwheel@v3.2 with: output-dir: wheelhouse package-dir: statsmodels @@ -103,7 +92,7 @@ jobs: fi # Used to ensure python is available for wheel upload - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.x' diff --git a/statsmodels b/statsmodels index cee5801..1fbab87 160000 --- a/statsmodels +++ b/statsmodels @@ -1 +1 @@ -Subproject commit cee5801ce86bb69256ad26227f6234c1d749a2ca +Subproject commit 1fbab87f7cbea33c2caff3209631a959aedc99dc