-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into google-cloud-workload-id-federation
- Loading branch information
Showing
173 changed files
with
4,249 additions
and
3,912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,43 @@ | ||
FROM mcr.microsoft.com/vscode/devcontainers/python:3.11 | ||
FROM mcr.microsoft.com/vscode/devcontainers/python:3.13 | ||
COPY --from=ghcr.io/astral-sh/uv:0.5.11 /uv /uvx /bin/ | ||
ARG USERNAME=vscode | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends libgdal-dev | ||
apt-get install -y --no-install-recommends libgdal-dev && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
RUN python3 -m pip install pipx --no-cache-dir | ||
RUN python3 -m pipx ensurepath | ||
RUN pipx install rust-just | ||
|
||
WORKDIR /app | ||
|
||
# Enable bytecode compilation | ||
ENV UV_COMPILE_BYTECODE=1 | ||
|
||
# Copy from the cache instead of linking since it's a mounted volume | ||
ENV UV_LINK_MODE=copy | ||
|
||
COPY . /app | ||
|
||
# Install the project's dependencies using the lockfile and settings | ||
RUN --mount=type=cache,target=/root/.cache/uv \ | ||
--mount=type=bind,source=uv.lock,target=uv.lock \ | ||
--mount=type=bind,source=pyproject.toml,target=pyproject.toml \ | ||
uv venv && uv sync --group dev --group tests \ | ||
--extra duckdb --extra clickhouse --extra examples --extra geospatial | ||
|
||
ENV VENV_DIR=.venv | ||
RUN chown -R $USERNAME $VENV_DIR && chmod -R 755 $VENV_DIR | ||
|
||
ENV IBIS_PROJECT=. | ||
RUN chown -R $USERNAME $IBIS_PROJECT | ||
|
||
# Place executables in the environment at the front of the path | ||
ENV PATH="/app/.venv/bin:$PATH" | ||
|
||
SHELL ["/bin/bash", "-c", "source .venv/bin/activate"] | ||
|
||
ENTRYPOINT [] | ||
|
||
USER $USERNAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,6 @@ jobs: | |
runs-on: ubuntu-latest | ||
if: github.event.comment.body == '/take' | ||
steps: | ||
- uses: pozil/[email protected].0 | ||
- uses: pozil/[email protected].1 | ||
with: | ||
assignees: ${{ github.event.comment.user.login }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ jobs: | |
runs-on: ubuntu-latest | ||
steps: | ||
- name: Generate a GitHub token | ||
uses: actions/[email protected].0 | ||
uses: actions/[email protected].1 | ||
id: generate_token | ||
with: | ||
app-id: ${{ secrets.SQUAWK_BOT_APP_ID }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
cancel-in-progress: true | ||
if: github.event.label.name == 'docs-preview' | ||
steps: | ||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].1 | ||
id: generate_token | ||
with: | ||
app-id: ${{ secrets.DOCS_BOT_APP_ID }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
matrix: | ||
python-version: | ||
- "3.10" | ||
- "3.12" | ||
- "3.13" | ||
backend: | ||
- name: snowflake | ||
title: Snowflake | ||
|
@@ -53,7 +53,7 @@ jobs: | |
title: BigQuery | ||
extras: | ||
- --extra bigquery | ||
- python-version: "3.12" | ||
- python-version: "3.13" | ||
backend: | ||
name: bigquery | ||
title: BigQuery | ||
|
@@ -93,7 +93,7 @@ jobs: | |
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
|
||
- uses: actions/[email protected].0 | ||
- uses: actions/[email protected].1 | ||
id: generate_token | ||
with: | ||
app-id: ${{ secrets.DOCS_BOT_APP_ID }} | ||
|
@@ -113,9 +113,7 @@ jobs: | |
python-version: ${{ matrix.python-version }} | ||
|
||
- name: install uv | ||
uses: astral-sh/[email protected] | ||
with: | ||
enable-cache: true | ||
uses: astral-sh/[email protected] | ||
|
||
- name: install additional deps | ||
if: matrix.backend.key == 'snowpark' | ||
|
@@ -175,7 +173,7 @@ jobs: | |
- name: upload code coverage | ||
if: success() | ||
continue-on-error: true | ||
uses: codecov/codecov-action@v4 | ||
uses: codecov/codecov-action@v5 | ||
with: | ||
flags: backend,${{ matrix.backend.name }},${{ runner.os }},python-${{ steps.install_python.outputs.python-version }} | ||
token: ${{ secrets.CODECOV_TOKEN }} |
Oops, something went wrong.