Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 0 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,6 @@ jobs:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v3
- uses: Swatinem/rust-cache@v2
- name: Download libduckdb (macos)
if: matrix.os == 'macos-latest'
run: |
wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/libduckdb-osx-universal.zip
unzip libduckdb-osx-universal.zip -d libduckdb
echo "DYLD_LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
echo "LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
- name: Download libduckdb (ubuntu)
if: matrix.os == 'ubuntu-latest'
run: |
wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/libduckdb-linux-amd64.zip
unzip libduckdb-linux-amd64.zip -d libduckdb
echo "LD_LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
echo "LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
- name: Sync
run: uv sync
- name: Lint
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@ jobs:
fetch-depth: 0 # to get gh-pages
- uses: astral-sh/setup-uv@v3
- uses: Swatinem/rust-cache@v2
- name: Download libduckdb
run: |
wget https://github.com/duckdb/duckdb/releases/download/v1.1.3/libduckdb-linux-amd64.zip
unzip libduckdb-linux-amd64.zip -d libduckdb
echo "LD_LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
echo "LIBRARY_PATH=libduckdb" >> $GITHUB_ENV
- name: Sync
run: uv sync
- name: Deploy
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10 -F duckdb/bundled
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: ${{ matrix.platform.manylinux }}
- name: Upload wheels
Expand Down Expand Up @@ -79,7 +79,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10 -F duckdb/bundled
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: musllinux_1_2
- name: Upload wheels
Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
# uses: PyO3/maturin-action@v1
# with:
# target: ${{ matrix.platform.target }}
# args: --release --out dist --find-interpreter -F duckdb/bundled
# args: --release --out dist --find-interpreter
# sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
# - name: Upload wheels
# uses: actions/upload-artifact@v4
Expand All @@ -133,7 +133,7 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10 -F duckdb/bundled
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -162,3 +162,4 @@ cython_debug/
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.vscode/
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ publish = false
name = "stacrs"
crate-type = ["cdylib"]

[features]
default = ["duckdb-bundled"]
duckdb-bundled = ["duckdb/bundled"]

[dependencies]
duckdb = { version = "1.1.1" }
geojson = "0.24.1"
Expand Down