From 6874639728e96d1d4bd3faece902cae67619a99c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franz=20P=C3=B6schel?= Date: Tue, 12 Nov 2024 11:22:31 +0100 Subject: [PATCH] Apply patch for #1684: PYBIND11_FINDPYTHON=ON --- .github/workflows/build.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 091a69cfe5..0b06ad2645 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -87,17 +87,26 @@ jobs: python -m pip install cibuildwheel==2.21.2 # Patch: Fix versioning - - name: Download Patch 1/1 + - name: Download Patch 1/2 uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0 id: setupversion with: url: "https://github.com/openPMD/openPMD-api/pull/1680.patch" target: src/.patch/ + # Patch: PYBIND11_FINDPYTHON=ON + - name: Download Patch 2/2 + uses: suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9 # 1.6.0 + id: setupversion + with: + url: "https://github.com/openPMD/openPMD-api/pull/1684.patch" + target: src/.patch/ + - name: Apply Patches run: | cd src git apply --exclude=.github/workflows/windows.yml .patch/1680.patch + git apply .patch/1684.patch - name: Build wheel env: