Skip to content

Commit f434760

Browse files
authored
Merge pull request #193 from bashtage/rel-py314-v2
Build for py314
2 parents 4819686 + 9d05b30 commit f434760

File tree

2 files changed

+10
-21
lines changed

2 files changed

+10
-21
lines changed

.github/workflows/build-wheels.yml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ jobs:
1616
strategy:
1717
fail-fast: false
1818
matrix:
19-
python: [cp39, cp310, cp311, cp312, cp313]
20-
os: [ubuntu-latest, windows-latest, macos-13, macos-latest]
19+
os: [ubuntu-latest, windows-latest, macos-latest, macos-15-intel]
20+
python: [cp39, cp310, cp311, cp312, cp313, cp314]
2121
python_impl: [Python]
2222
include:
2323
- python: cp312
@@ -27,24 +27,24 @@ jobs:
2727
BUILD_COMMIT: "v0.14.5" # or a specific version, e.g., v0.13.1
2828
CIBW_BUILD: ${{ matrix.python }}-*
2929
CIBW_ARCHS_LINUX: "x86_64 aarch64"
30+
CIBW_ARCHS_MACOS: native
3031
# No support for pypy, musl, Win32 for 3.10+
3132
# Skip musl for 3.8 and 3.9 since no upstream wheels
3233
CIBW_SKIP: "pp* *-win32 cp38-musllinux* cp39-musllinux* *musllinux_aarch64*"
3334
CIBW_TEST_REQUIRES: pytest pytest-xdist
34-
CIBW_TEST_COMMAND: python -c "import statsmodels; statsmodels.test(['--skip-examples','--skip-slow','-n','2'], exit=True)"
35+
CIBW_TEST_COMMAND: python -c "import statsmodels; statsmodels.test(['-m','(not slow and not example)','-n','2'], exit=True)"
3536
# Avoid testing on emulated architectures and Pyodide
3637
CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *pyodide*"
3738
CIBW_REPAIR_WHEEL_COMMAND_LINUX: 'auditwheel repair --strip -w {dest_dir} {wheel}'
3839
CIBW_BUILD_VERBOSITY: 1
39-
CIBW_PRERELEASE_PYTHONS: True
4040
MULTIBUILD_WHEELS_STAGING_ACCESS: ${{ secrets.MULTIBUILD_WHEELS_STAGING_ACCESS }}
4141
SCIENTIFIC_PYTHON_NIGHTLY_WHEELS: ${{ secrets.SCIENTIFIC_PYTHON_NIGHTLY_WHEELS }}
4242
MKL_NUM_THREADS: 1
4343
OMP_NUM_THREADS: 1
4444
OPENLAS_NUM_THREADS: 1
4545

4646
steps:
47-
- uses: actions/checkout@v4
47+
- uses: actions/checkout@v5
4848
with:
4949
submodules: recursive
5050
fetch-depth: 0
@@ -56,28 +56,17 @@ jobs:
5656
platforms: all
5757

5858
- name: Build wheels (Default)
59-
uses: pypa/cibuildwheel@v3.0
60-
if: (matrix.python_impl != 'Pyodide') && (matrix.os != 'macos-13')
59+
uses: pypa/cibuildwheel@v3.2
60+
if: (matrix.python_impl != 'Pyodide')
6161
with:
6262
output-dir: wheelhouse
6363
package-dir: statsmodels
6464
env:
6565
CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
66-
CIBW_ARCHS_MACOS: "arm64"
67-
68-
- name: Build wheels (MacOS x86_64)
69-
if: matrix.os == 'macos-13'
70-
uses: pypa/[email protected]
71-
with:
72-
output-dir: wheelhouse
73-
package-dir: statsmodels
74-
env:
75-
CIBW_BEFORE_BUILD: 'git submodule foreach git checkout ${{ env.BUILD_COMMIT }}'
76-
CIBW_ARCHS_OSX: "x86_64"
7766

7867
- name: Build Pyodide wheel
7968
if: matrix.python_impl == 'Pyodide'
80-
uses: pypa/cibuildwheel@v3.0
69+
uses: pypa/cibuildwheel@v3.2
8170
with:
8271
output-dir: wheelhouse
8372
package-dir: statsmodels
@@ -103,7 +92,7 @@ jobs:
10392
fi
10493
10594
# Used to ensure python is available for wheel upload
106-
- uses: actions/setup-python@v5
95+
- uses: actions/setup-python@v6
10796
with:
10897
python-version: '3.x'
10998

statsmodels

Submodule statsmodels updated 1032 files

0 commit comments

Comments
 (0)