Skip to content

Commit 4b71d44

Browse files
committed
fix: macos wheels
1 parent d6b3c48 commit 4b71d44

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/pypi.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,18 @@ jobs:
9696
steps:
9797
- uses: actions/checkout@v4
9898
- uses: astral-sh/setup-uv@v5
99-
- name: Install Pythons
99+
- name: Install Python
100100
run: uv python install 3.10
101+
- name: Install libduckdb
102+
run: |
103+
wget https://github.com/duckdb/duckdb/releases/download/v1.2.0/libduckdb-osx-universal.zip
104+
unzip libduckdb-osx-universal.zip -d /opt/duckdb
101105
- name: Install delocate
102-
run: uv pip install delocate
106+
run: uv pip install --system delocate
103107
- name: Build wheels
104108
uses: PyO3/maturin-action@v1
109+
env:
110+
DUCKDB_LIB_DIR: /opt/duckdb
105111
with:
106112
target: ${{ matrix.platform.target }}
107113
args: --release --out dist -i 3.10

0 commit comments

Comments
 (0)