Skip to content

Commit fe4f08d

Browse files
committed
fix: more tries
1 parent 0bbc69c commit fe4f08d

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/pypi.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ concurrency:
1313
group: wheels
1414
cancel-in-progress: false
1515

16-
env:
17-
DUCKDB_VERSION: "1.2.0"
18-
1916
jobs:
2017
# TODO add bundled builds for platforms where we don't have pre-built libraries
2118
linux:
@@ -42,7 +39,7 @@ jobs:
4239
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
4340
manylinux: ${{ matrix.platform.manylinux }}
4441
before-script-linux: |
45-
sudo apt-get install unzip
42+
apt-get install unzip
4643
curl -L -O https://github.com/duckdb/duckdb/releases/download/v1.2.0/libduckdb-linux-${{ matrix.platform.duckdb-slug }}.zip
4744
unzip libduckdb-linux-${{ matrix.platform.duckdb-slug }}.zip -d /opt/duckdb
4845
export DUCKDB_LIB_DIR=/opt/duckdb
@@ -66,10 +63,6 @@ jobs:
6663
- uses: astral-sh/setup-uv@v5
6764
- name: Install Pythons
6865
run: uv python install 3.10
69-
- name: Install libduckdb
70-
run: |
71-
wget https://github.com/duckdb/duckdb/releases/download/v$DUCKDB_VERSION/libduckdb-linux-${{ matrix.platform.duckdb-slug }}.zip
72-
unzip libduckdb-linux-${{ matrix.platform.duckdb-slug }}.zip -d /opt/duckdb
7366
- name: Build wheels
7467
uses: PyO3/maturin-action@v1
7568
with:
@@ -78,9 +71,10 @@ jobs:
7871
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
7972
manylinux: musllinux_1_2
8073
before-script-linux: |
74+
sudo apt-get install unzip
75+
curl -L -O https://github.com/duckdb/duckdb/releases/download/v1.2.0/libduckdb-linux-${{ matrix.platform.duckdb-slug }}.zip
76+
unzip libduckdb-linux-${{ matrix.platform.duckdb-slug }}.zip -d /opt/duckdb
8177
export DUCKDB_LIB_DIR=/opt/duckdb
82-
echo $DUCKDB_LIB_DIR
83-
ls $DUCKDB_LIB_DIR
8478
- name: Upload wheels
8579
uses: actions/upload-artifact@v4
8680
with:
@@ -96,14 +90,16 @@ jobs:
9690
target: x86_64
9791
- runner: macos-14
9892
target: aarch64
93+
env:
94+
DUCKDB_VERSION: "1.2.0"
9995
steps:
10096
- uses: actions/checkout@v4
10197
- uses: astral-sh/setup-uv@v5
10298
- name: Install Python
10399
run: uv python install 3.10
104100
- name: Install libduckdb
105101
run: |
106-
wget https://github.com/duckdb/duckdb/releases/download/v1.2.0/libduckdb-osx-universal.zip
102+
wget https://github.com/duckdb/duckdb/releases/download/v${DUCKDB_VERSION}/libduckdb-osx-universal.zip
107103
mkdir -p ./opt/duckdb
108104
unzip libduckdb-osx-universal.zip -d ./opt/duckdb
109105
- name: Install delocate

0 commit comments

Comments
 (0)