Skip to content

Commit 006faf1

Browse files
authored
Attempt to fix MacOS builds. (#7)
This pull request updates the build workflow to improve compatibility with newer Ubuntu releases and simplifies the wheel repair steps for macOS. The most important changes are: Platform compatibility improvements: * The Linux wheel repair step now dynamically detects the glibc version from the build host (e.g., Ubuntu 24.04 uses glibc 2.39) and sets the `manylinux` platform tag accordingly, ensuring better compatibility with the system's actual environment. * The hardcoded `manylinux_2_35_x86_64` platform tag is replaced with the dynamically generated tag, reducing the risk of mismatches when updating the build host. Workflow simplification: * The macOS wheel repair step using `delocate` is removed, streamlining the workflow and reducing unnecessary complexity for macOS builds.
1 parent 99f2056 commit 006faf1

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

.github/workflows/build.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -219,15 +219,6 @@ jobs:
219219
rm -rf dist
220220
mv dist-repaired dist
221221
222-
- name: Repair wheel (macOS - delocate)
223-
if: runner.os == 'macOS'
224-
run: |
225-
pip install delocate
226-
mkdir -p dist-repaired
227-
delocate-wheel -w dist-repaired dist/*.whl
228-
rm -rf dist
229-
mv dist-repaired dist
230-
231222
# ── 10. Upload ─────────────────────────────────────────────────────────
232223
- name: Upload wheel artifact
233224
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)