Commit 4e17fca
CI: provision Python via setup-uv to fix macOS libintl load failure
actions/setup-python's x64 macOS builds dynamically link Homebrew's gettext
(/usr/local/opt/gettext/lib/libintl.8.dylib). That path only exists on the
Intel macos-13 image; on the Apple Silicon macos-15 runner the x64 Python
binary fails to launch with "Library not loaded: libintl.8.dylib".
Switch to astral-sh/setup-uv (python-build-standalone), which has no Homebrew
dependency, mirroring upstream pythonnet. The python-version uses the
cpython-<ver><platform-suffix> form so the right architecture build is fetched
per matrix entry. Since the uv-managed venv has no seeded pip, the dependency
and build steps now use `uv pip install`.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent bc9f28f commit 4e17fca
1 file changed
Lines changed: 13 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
36 | 41 | | |
37 | | - | |
| 42 | + | |
38 | 43 | | |
39 | | - | |
40 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | 50 | | |
44 | | - | |
45 | | - | |
| 51 | + | |
| 52 | + | |
46 | 53 | | |
47 | 54 | | |
48 | 55 | | |
49 | | - | |
| 56 | + | |
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
| |||
0 commit comments