From 7d4ea6bf56e690208ea450364682cdd5f0795bc7 Mon Sep 17 00:00:00 2001 From: Earle Lowe <30607889+emlowe@users.noreply.github.com> Date: Fri, 24 Oct 2025 12:02:44 -0700 Subject: [PATCH 1/2] Modify Python versions and cibuildwheel settings Updated Python versions and cibuildwheel specifications in the CI configuration. --- .github/workflows/build.yml | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8bcd3e7..1a6346d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,26 +45,31 @@ jobs: runs-on: intel: [windows-latest] python: - - major-dot-minor: '3.9' - cibw-build: 'cp39-*' - manylinux: manylinux_2_28 - matrix: '3.9' - major-dot-minor: '3.10' cibw-build: 'cp310-*' manylinux: manylinux_2_28 matrix: '3.10' + cibuildwheel: 'cibuildwheel==2.23.3' - major-dot-minor: '3.11' cibw-build: 'cp311-*' manylinux: manylinux_2_28 matrix: '3.11' + cibuildwheel: 'cibuildwheel==3.2.1' - major-dot-minor: '3.12' cibw-build: 'cp312-*' manylinux: manylinux_2_28 matrix: '3.12' + cibuildwheel: 'cibuildwheel==3.2.1' - major-dot-minor: '3.13' cibw-build: 'cp313-*' manylinux: manylinux_2_28 matrix: '3.13' + cibuildwheel: 'cibuildwheel==3.2.1' + - major-dot-minor: '3.14' + cibw-build: 'cp314-*' + manylinux: manylinux_2_28 + matrix: '3.14' + cibuildwheel: 'cibuildwheel==3.2.1' arch: - name: ARM matrix: arm @@ -107,7 +112,7 @@ jobs: CIBW_BUILD_VERBOSITY_LINUX: 0 CIBW_BUILD_VERBOSITY_WINDOWS: 0 CIBW_BUILD: ${{ matrix.python.cibw-build }} - CIBW_SKIP: '*-manylinux_i686 *-win32 *-musllinux_*' + CIBW_SKIP: 'cp31?t-* *-manylinux_i686 *-win32 *-musllinux_*' CIBW_MANYLINUX_AARCH64_IMAGE: ${{ matrix.python.manylinux }} CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.python.manylinux }} CIBW_BEFORE_ALL_LINUX: > @@ -122,7 +127,7 @@ jobs: CIBW_TEST_REQUIRES: pytest CIBW_TEST_COMMAND: py.test -v {project}/tests run: - pipx run --spec='cibuildwheel==2.21.3' cibuildwheel --output-dir dist 2>&1 + pipx run --spec=${{ matrix.python.cibuildwheel }} cibuildwheel --output-dir dist 2>&1 - name: Upload artifacts uses: actions/upload-artifact@v4 @@ -143,8 +148,8 @@ jobs: arm: [Linux, ARM64] intel: [ubuntu-latest] python: - - major-dot-minor: '3.10' - matrix: '3.10' + - major-dot-minor: '3.12' + matrix: '3.12' arch: - name: Intel matrix: intel @@ -186,8 +191,8 @@ jobs: arm: [Linux, ARM64] intel: [ubuntu-latest] python: - - major-dot-minor: '3.10' - matrix: '3.10' + - major-dot-minor: '3.12' + matrix: '3.12' arch: - name: Intel matrix: intel @@ -232,8 +237,8 @@ jobs: arm: [Linux, ARM64] intel: [ubuntu-latest] python: - - major-dot-minor: '3.10' - matrix: '3.10' + - major-dot-minor: '3.12' + matrix: '3.12' arch: - name: Intel matrix: intel From 4605ce5f54e05ec2878ac891204bced193e52857 Mon Sep 17 00:00:00 2001 From: Earle Lowe Date: Fri, 24 Oct 2025 15:37:13 -0700 Subject: [PATCH 2/2] Make sure to not try sys/endian.h on apple --- src/compat/endian.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compat/endian.h b/src/compat/endian.h index c5cf7a4..d25f0c1 100644 --- a/src/compat/endian.h +++ b/src/compat/endian.h @@ -15,7 +15,7 @@ #if defined(HAVE_ENDIAN_H) #include -#elif defined(HAVE_SYS_ENDIAN_H) +#elif defined(HAVE_SYS_ENDIAN_H) && !defined(__APPLE__) #include #endif