Skip to content

Extract names of snowflake objects to variables and add common suffix. Add cleanup.sql#48

Merged
23jura23 merged 17 commits intomainfrom
ykhudyakov/extract-name-to-variables-fully
Mar 13, 2026
Merged

Extract names of snowflake objects to variables and add common suffix. Add cleanup.sql#48
23jura23 merged 17 commits intomainfrom
ykhudyakov/extract-name-to-variables-fully

Conversation

@23jura23
Copy link
Contributor

No description provided.

23jura23 added 16 commits March 12, 2026 15:38
…versioning fallback

The Snowflake container runtime uses uv which respects workspace
resolution. With fallback-version = "0.0.0" configured in
uv-dynamic-versioning (>=0.8.0), the build should succeed even
without git installed in the container.

Made-with: Cursor
…pace build

The Snowflake container runtime has no git installed, which causes
uv-dynamic-versioning to fail during workspace package builds.
Use a static version on this branch to enable workspace resolution.

Made-with: Cursor
uv sync (used for pyproject.toml) destroys and recreates the venv,
removing Snowflake's pre-installed streamlit-runner.py script.
uv pip install (used for requirements.txt) preserves the existing venv.
This is the correct approach for Snowflake container runtimes.

Made-with: Cursor
…lake venv

When uv sync finds requires-python >= 3.11, it downloads Python 3.12
and recreates the venv from scratch, destroying Snowflake's internal
streamlit-runner.py script. Pinning to <3.12 forces uv to use the
container's pre-installed Python 3.11, preserving the existing venv.

Made-with: Cursor
The static version workaround is unnecessary since Snowflake resolves
databao from PyPI (uv pip install ignores workspace sources). Keeping
requires-python <3.12 pin to prevent venv recreation.

Made-with: Cursor
The Snowflake demo project now has its own uv.lock and pins
requires-python <3.12 independently, without constraining the root
project. This avoids the workspace intersection issue where the
example's Python pin forced the entire lockfile to 3.11.x.

Made-with: Cursor
Pin databao>=0.3.2 in example pyproject.toml so dev/pre-release
versions can be tested by bumping the specifier. Update README to
reflect the project is now standalone (not a workspace member) and
document how to update the databao dependency.

Made-with: Cursor
The DuckDB Snowflake community extension hasn't been built for v1.5.0
yet, so constrain to <1.5.0 (resolves to 1.4.4) until it catches up.

Made-with: Cursor
The databao-cli repo is now public so git credentials are no longer
needed. Also parameterize the Streamlit app name to allow creating
multiple instances from the same setup script. Prefill API key inputs
from env vars in agent settings UI.

Made-with: Cursor
…me-to-variables-fully

Made-with: Cursor

# Conflicts:
#	examples/demo-snowflake-project/README.md
#	examples/demo-snowflake-project/setup.sql
@23jura23 23jura23 requested a review from a team March 13, 2026 12:46
@23jura23 23jura23 merged commit 8475a53 into main Mar 13, 2026
4 of 5 checks passed
@23jura23 23jura23 deleted the ykhudyakov/extract-name-to-variables-fully branch March 13, 2026 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant