Skip to content

chore(deps): bump pyo3-object_store from 0.9.0 to 0.10.0 in the non-arrow group across 1 directory #764

chore(deps): bump pyo3-object_store from 0.9.0 to 0.10.0 in the non-arrow group across 1 directory

chore(deps): bump pyo3-object_store from 0.9.0 to 0.10.0 in the non-arrow group across 1 directory #764

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
duckdb-version: "1.5.1"
jobs:
test:
name: Test
runs-on: ${{ matrix.os.runner }}
env:
DUCKDB_LIB_DIR: ${{ github.workspace }}/opt/duckdb
LD_LIBRARY_PATH: ${{ github.workspace }}/opt/duckdb
DYLD_LIBRARY_PATH: ${{ github.workspace }}/opt/duckdb
strategy:
fail-fast: false
matrix:
python-version:
- "3.11"
- "3.12"
- "3.13"
- "3.14"
os:
- runner: ubuntu-latest
duckdb-slug: linux-amd64
include:
- python-version: "3.11"
os:
runner: macos-latest
duckdb-slug: osx-universal
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: true
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
python-version: ${{ matrix.python-version }}
cache-dependency-glob: |
pyproject.toml
uv.lock
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- name: Install libduckdb
run: |
curl -L -o libduckdb-${{ matrix.os.duckdb-slug }}.zip https://github.com/duckdb/duckdb/releases/download/v${{ env.duckdb-version }}/libduckdb-${{ matrix.os.duckdb-slug }}.zip
mkdir -p ${{ github.workspace }}/opt/duckdb
unzip libduckdb-${{ matrix.os.duckdb-slug }}.zip -d ${{ github.workspace }}/opt/duckdb
- name: Install GDAL
if: runner.os == 'macOS'
run: brew install gdal
- name: Sync
run: uv sync --all-extras
- name: Lint
run: scripts/lint
- name: Test
run: scripts/test
- name: Sync w/o extras
run: uv sync
- name: Test w/o extras
run: uv run pytest
- name: Check docs
# not worth it to install cairo on macos
if: runner.os == 'ubuntu-latest'
run: uv run mkdocs build --strict
build-windows:
name: Build (Windows)
runs-on: windows-latest
env:
DUCKDB_LIB_DIR: ${{ github.workspace }}\opt\duckdb
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: true
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
with:
python-version: "3.11"
cache-dependency-glob: |
pyproject.toml
uv.lock
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- name: Install libduckdb
shell: bash
run: |
curl -L -o libduckdb-windows-amd64.zip https://github.com/duckdb/duckdb/releases/download/v${{ env.duckdb-version }}/libduckdb-windows-amd64.zip
mkdir -p opt/duckdb
unzip libduckdb-windows-amd64.zip -d opt/duckdb
echo "${{ github.workspace }}\opt\duckdb" >> "$GITHUB_PATH"
- name: Sync
run: uv sync
import:
name: Import
runs-on: ubuntu-latest
env:
DUCKDB_LIB_DIR: ${{ github.workspace }}/opt/duckdb
LD_LIBRARY_PATH: ${{ github.workspace }}/opt/duckdb
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
submodules: true
- uses: astral-sh/setup-uv@fac544c07dec837d0ccb6301d7b5580bf5edae39 # v8.2.0
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- name: Install libduckdb
run: |
wget https://github.com/duckdb/duckdb/releases/download/v${{ env.duckdb-version }}/libduckdb-linux-amd64.zip
mkdir -p ${{ github.workspace }}/opt/duckdb
unzip libduckdb-linux-amd64.zip -d ${{ github.workspace }}/opt/duckdb
- name: Import
run: uv run --no-default-groups python -c "import rustac"