diff --git a/.github/workflows/build-bermuda.yml b/.github/workflows/build-bermuda.yml index 13f84ac3ed11..d640dac36667 100644 --- a/.github/workflows/build-bermuda.yml +++ b/.github/workflows/build-bermuda.yml @@ -73,8 +73,14 @@ jobs: path: python-wheels persist-credentials: false + # Only some versions need patching (0.1.8 includes the upstream fix 0.1.7 carried), + # so a missing directory is not an error. - name: Patch bermuda source - run: git apply python-wheels/patches/bermuda/${{ env.BERMUDA_VERSION }}/*.patch + run: | + patches="$PWD/python-wheels/patches/bermuda/$BERMUDA_VERSION" + if [ -d "$patches" ]; then + git apply "$patches"/*.patch + fi - name: Build wheels uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0 diff --git a/docs/packages/bermuda.yaml b/docs/packages/bermuda.yaml index 3eb58652ea2f..3843ea5c4b06 100644 --- a/docs/packages/bermuda.yaml +++ b/docs/packages/bermuda.yaml @@ -18,3 +18,4 @@ versions: - filename: bermuda-0.1.7-cp314-cp314t-manylinux_2_34_riscv64.manylinux_2_39_riscv64.whl sha256: fb641063c4f4529dd03cafb3a4c259514cb6960ed4e0314ad9355e1c1da5a07a requires-python: '>=3.9' +- version: 0.1.8