Skip to content

Commit 7bee647

Browse files
Federico De Ponteclaude
andcommitted
fix: Fix macOS CI cairo library loading
The macOS GitHub Actions runners weren't finding the cairo library even after installation. This fix adds proper environment variables: - PKG_CONFIG_PATH for pkg-config to find cairo - DYLD_LIBRARY_PATH for runtime library loading This should resolve the import errors on macOS CI runs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 93e7fae commit 7bee647

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
- name: Install system dependencies (macOS)
3333
if: runner.os == 'macOS'
3434
run: |
35-
brew install cairo
35+
brew install cairo pkg-config
36+
echo "PKG_CONFIG_PATH=$(brew --prefix)/lib/pkgconfig" >> $GITHUB_ENV
37+
echo "DYLD_LIBRARY_PATH=$(brew --prefix)/lib:$DYLD_LIBRARY_PATH" >> $GITHUB_ENV
3638
3739
- name: Install Python dependencies
3840
run: |

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.1.2] - 2025-11-22
11+
12+
### Fixed
13+
- Fixed macOS CI cairo library loading by adding PKG_CONFIG_PATH and DYLD_LIBRARY_PATH
14+
- Applied black code formatting to all Python files
15+
1016
## [0.1.1] - 2025-11-22
1117

1218
### Fixed

0 commit comments

Comments
 (0)