Skip to content

Commit ef87b24

Browse files
authored
chore: go back to bundling by default (#32)
1 parent b9fa9e3 commit ef87b24

File tree

6 files changed

+10
-24
lines changed

6 files changed

+10
-24
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,6 @@ jobs:
2626
- uses: actions/checkout@v4
2727
- uses: astral-sh/setup-uv@v3
2828
- uses: Swatinem/rust-cache@v2
29-
- name: Download libduckdb (macos)
30-
if: matrix.os == 'macos-latest'
31-
run: |
32-
wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/libduckdb-osx-universal.zip
33-
unzip libduckdb-osx-universal.zip -d libduckdb
34-
echo "DYLD_LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
35-
echo "LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
36-
- name: Download libduckdb (ubuntu)
37-
if: matrix.os == 'ubuntu-latest'
38-
run: |
39-
wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/libduckdb-linux-amd64.zip
40-
unzip libduckdb-linux-amd64.zip -d libduckdb
41-
echo "LD_LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
42-
echo "LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
4329
- name: Sync
4430
run: uv sync
4531
- name: Lint

.github/workflows/docs.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,6 @@ jobs:
2020
fetch-depth: 0 # to get gh-pages
2121
- uses: astral-sh/setup-uv@v3
2222
- uses: Swatinem/rust-cache@v2
23-
- name: Download libduckdb
24-
run: |
25-
wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/libduckdb-linux-amd64.zip
26-
unzip libduckdb-linux-amd64.zip -d libduckdb
27-
echo "LD_LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
28-
echo "LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
2923
- name: Sync
3024
run: uv sync
3125
- name: Deploy

.github/workflows/pypi.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
uses: PyO3/maturin-action@v1
4949
with:
5050
target: ${{ matrix.platform.target }}
51-
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10 -F duckdb/bundled
51+
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10
5252
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
5353
manylinux: ${{ matrix.platform.manylinux }}
5454
- name: Upload wheels
@@ -79,7 +79,7 @@ jobs:
7979
uses: PyO3/maturin-action@v1
8080
with:
8181
target: ${{ matrix.platform.target }}
82-
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10 -F duckdb/bundled
82+
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10
8383
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
8484
manylinux: musllinux_1_2
8585
- name: Upload wheels
@@ -107,7 +107,7 @@ jobs:
107107
# uses: PyO3/maturin-action@v1
108108
# with:
109109
# target: ${{ matrix.platform.target }}
110-
# args: --release --out dist --find-interpreter -F duckdb/bundled
110+
# args: --release --out dist --find-interpreter
111111
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
112112
# - name: Upload wheels
113113
# uses: actions/upload-artifact@v4
@@ -133,7 +133,7 @@ jobs:
133133
uses: PyO3/maturin-action@v1
134134
with:
135135
target: ${{ matrix.platform.target }}
136-
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10 -F duckdb/bundled
136+
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10
137137
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
138138
- name: Upload wheels
139139
uses: actions/upload-artifact@v4

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,3 +162,4 @@ cython_debug/
162162
# and can be added to the global gitignore or merged into this file. For a more nuclear
163163
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
164164
#.idea/
165+
.vscode/

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ publish = false
88
name = "stacrs"
99
crate-type = ["cdylib"]
1010

11+
[features]
12+
default = ["duckdb-bundled"]
13+
duckdb-bundled = ["duckdb/bundled"]
14+
1115
[dependencies]
1216
duckdb = { version = "1.1.1" }
1317
geojson = "0.24.1"

0 commit comments

Comments
 (0)