diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 5d67228..07aa167 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -14,12 +14,9 @@ concurrency: env: FORCE_COLOR: 3 - CIBW_BUILD_VERBOSITY: 2 CIBW_BUILD_FRONTEND: "build" CIBW_BUILD: "cp312-*" CIBW_SKIP: "pp* *musllinux*" - CIBW_MANYLINUX_X86_64_IMAGE: "manylinux_2_28" - CIBW_MANYLINUX_AARCH64_IMAGE: "manylinux_2_28" jobs: sdist: @@ -86,6 +83,7 @@ jobs: - uses: mlugg/setup-zig@a67e68dc5c8281d9608136d3d7ca1b282213e4ac # v1.2.1 with: version: 0.13.0 + use-cache: false - name: Build binary distribution (wheel) on Windows (arm64) # We need to use cibuildwheel because it has experimental support for cross-compiling @@ -114,7 +112,7 @@ jobs: windows_i686_wheels: name: i686-windows - runs-on: windows-latest + runs-on: windows-2025 steps: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0 @@ -125,6 +123,7 @@ jobs: - uses: mlugg/setup-zig@a67e68dc5c8281d9608136d3d7ca1b282213e4ac # v1.2.1 with: version: 0.13.0 + use-cache: false # Note: cibuildwheel will manage installing 32-bit Python on Windows. We # do not need to do that manually unless we use setup-python instead. @@ -223,6 +222,10 @@ jobs: - uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 with: platforms: all + # This should be temporary + # xref https://github.com/docker/setup-qemu-action/issues/188 + # xref https://github.com/tonistiigi/binfmt/issues/215 + image: tonistiigi/binfmt:qemu-v8.1.5 - name: Build binary distribution (wheel) on Linux (s390x) uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0 @@ -232,7 +235,7 @@ jobs: env: CIBW_ARCHS_LINUX: s390x CIBW_BEFORE_ALL_LINUX: | - tarball="go1.23.5.linux-s390x.tar.gz" + tarball="go1.23.4.linux-s390x.tar.gz" curl -LJO https://golang.org/dl/$tarball mkdir $HOME/go_installed/ tar -C $HOME/go_installed/ -xzf $tarball @@ -259,6 +262,10 @@ jobs: - uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 with: platforms: all + # This should be temporary + # xref https://github.com/docker/setup-qemu-action/issues/188 + # xref https://github.com/tonistiigi/binfmt/issues/215 + image: tonistiigi/binfmt:qemu-v8.1.5 - name: Build binary distribution (wheel) on Linux (ppc64le) uses: pypa/cibuildwheel@ee63bf16da6cddfb925f542f2c7b59ad50e93969 # v2.22.0 @@ -268,7 +275,7 @@ jobs: env: CIBW_ARCHS_LINUX: ppc64le CIBW_BEFORE_ALL_LINUX: | - tarball="go1.23.5.linux-ppc64le.tar.gz" + tarball="go1.23.4.linux-ppc64le.tar.gz" curl -LJO https://golang.org/dl/$tarball mkdir $HOME/go_installed/ tar -C $HOME/go_installed/ -xzf $tarball diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8c0d622..a948521 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,6 @@ concurrency: env: FORCE_COLOR: 3 - CIBW_BUILD_VERBOSITY: 2 CIBW_SKIP: "pp* *musllinux*" CIBW_BUILD_FRONTEND: "build" @@ -79,8 +78,6 @@ jobs: experimental: needs: [style] name: zig-${{ matrix.runs-on }}-${{ matrix.architecture }}-python-${{ matrix.python-version }} - env: - CIBW_BUILD_VERBOSITY: 2 runs-on: ${{ matrix.runs-on }} strategy: fail-fast: false @@ -115,6 +112,7 @@ jobs: - uses: mlugg/setup-zig@a67e68dc5c8281d9608136d3d7ca1b282213e4ac # v1.2.1 with: version: 0.13.0 + use-cache: false - name: Restore Hugo builder cache uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 diff --git a/README.md b/README.md index e1bad91..5638218 100644 --- a/README.md +++ b/README.md @@ -124,8 +124,8 @@ A subset of the platforms supported by Hugo itself are supported by these wheels | ------------ | --------------- | -------------------------------------- | | macOS | x86_64 (Intel) | ✅ macOS 10.13 (High Sierra) and later | | macOS | arm64 (Silicon) | ✅ macOS 11.0 (Big Sur) and later | -| Linux | amd64 | ✅ glibc 2.24 and later | -| Linux | arm64 | ✅ glibc 2.24 and later | +| Linux | amd64 | ✅ glibc 2.17 and later | +| Linux | arm64 | ✅ glibc 2.17 and later | | Linux | s390x | ✅ glibc 2.17 and later | | Linux | ppc64le | ✅ glibc 2.17 and later | | Windows | x86_64 | ✅ | diff --git a/setup.py b/setup.py index ad81fd5..8b06688 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ # ------ Hugo build configuration and constants ------------------------------------ -HUGO_VERSION = "0.142.0" +HUGO_VERSION = "0.143.0" # The Go toolchain will download the tarball into the hugo_cache/ directory. # We will point the build command to that location to build Hugo from source HUGO_CACHE_DIR = "hugo_cache"