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
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:
jobs:
lint:
name: Lint & Typecheck
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.14"
cache: "poetry"
Expand All @@ -27,7 +27,7 @@ jobs:
run: poetry run mypy src tests

test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
Expand All @@ -47,15 +47,15 @@ jobs:
--health-start-period 10s

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
submodules: recursive

- name: Install poetry
run: pipx install poetry

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ on:

jobs:
check:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

permissions:
contents: write
pull-requests: write

steps:
- uses: googleapis/release-please-action@v4
- uses: googleapis/release-please-action@5c625bfb5d1ff62eadeeb3772007f7f66fdcf071 # v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -29,19 +29,19 @@ jobs:

if: ${{ needs.check.outputs.release_created }}

runs-on: ubuntu-latest
runs-on: ubuntu-24.04

permissions:
contents: write
pull-requests: write
id-token: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
with:
python-version: "3.14"
- name: Install dependencies
Expand All @@ -52,4 +52,4 @@ jobs:
run: |
poetry build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1
4 changes: 2 additions & 2 deletions .github/workflows/semantic-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ permissions:
jobs:
semantic-pr:
name: Validate PR title
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Validate title
uses: amannn/action-semantic-pull-request@v5
uses: amannn/action-semantic-pull-request@e32d7e603df1aa1ba07e981f2a23455dee596825 # v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
6 changes: 5 additions & 1 deletion tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,11 @@ def test_ibis_describe_does_not_execute_data_and_preserves_query_errors(client):
ibis = pytest.importorskip("ibis")
backend = ibis.altertable.from_connection(client)

table = backend.sql("SELECT error('ibis execution failed') AS value")
# Give the always-failing expression a supported result type so execution
# reaches the remote query instead of failing local schema validation.
table = backend.sql(
"SELECT CAST(error('ibis execution failed') AS BIGINT) AS value"
)

with pytest.raises(errors.ApiError, match="ibis execution failed"):
table.execute()
Loading