Skip to content

Commit d688f0b

Browse files
authored
deps: patch duckdb
1 parent 4a6f511 commit d688f0b

File tree

4 files changed

+758
-661
lines changed

4 files changed

+758
-661
lines changed

.github/workflows/labels.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Labels
2+
3+
on:
4+
pull_request:
5+
types:
6+
- labeled
7+
8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
build-bundled-duckdb:
14+
name: Build w/ bundled DuckDB
15+
if: ${{ github.event.label.name == '[build] bundled-duckdb' }}
16+
runs-on: ubuntu-latest
17+
env:
18+
UV_NO_SYNC: true
19+
steps:
20+
- uses: actions/checkout@v4
21+
- uses: astral-sh/setup-uv@v3
22+
- uses: Swatinem/rust-cache@v2
23+
- name: Install dev deps
24+
run: uv sync --no-install-project --only-group dev
25+
- name: Build
26+
run: uv run maturin build -F duckdb-bundled
27+
- name: Install
28+
run: uv pip install target/wheels/*.whl
29+
- name: Test
30+
run: uv run pytest

Cargo.lock

Lines changed: 47 additions & 49 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
@@ -39,3 +39,7 @@ stac-cli = { git = "https://github.com/stac-utils/stac-rs", features = [
3939
stac-duckdb = { git = "https://github.com/stac-utils/stac-rs" }
4040
thiserror = "2.0.11"
4141
tokio = { version = "1.43.0", features = ["rt-multi-thread"] }
42+
43+
[patch.crates-io]
44+
duckdb = { git = "https://github.com/duckdb/duckdb-rs", rev = "5eeb1f01c278790ce1e2d24045f0096e9e2528e4" }
45+
libduckdb-sys = { git = "https://github.com/duckdb/duckdb-rs", rev = "5eeb1f01c278790ce1e2d24045f0096e9e2528e4" }

0 commit comments

Comments
 (0)