Skip to content

Bump the python-patch-and-minor group in /python-wrapper with 2 updates - #427

Merged
FlorentinD merged 1 commit into
mainfrom
dependabot/uv/python-wrapper/python-patch-and-minor-9ac4c6c5a0
Aug 14, 2026
Merged

Bump the python-patch-and-minor group in /python-wrapper with 2 updates#427
FlorentinD merged 1 commit into
mainfrom
dependabot/uv/python-wrapper/python-patch-and-minor-9ac4c6c5a0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 14, 2026

Copy link
Copy Markdown
Contributor

Bumps the python-patch-and-minor group in /python-wrapper with 2 updates: snowflake-snowpark-python and streamlit.

Updates snowflake-snowpark-python from 1.52.0 to 1.54.0

Release notes

Sourced from snowflake-snowpark-python's releases.

Release

1.54.0 (2026-07-29)

Snowpark Python API updates

New Features

  • Added ai_count_tokens function to snowflake.snowpark.functions to estimate token counts for AI function calls.
  • Added ai_multi_embed function to snowflake.snowpark.functions to generate multimodal embeddings from text, images, audio, or video files.
  • Added ai_redact function to snowflake.snowpark.functions to detect and redact personally identifiable information (PII) from text.
  • Added DataFrame.ai.multi_embed method to generate multimodal embeddings via the DataFrame API.
  • Added DataFrame.ai.redact method to detect and redact PII from text columns via the DataFrame API.
  • Added DataFrame.ai.translate method to translate text columns between languages via the DataFrame API.

Improvements

  • Removed the experimental tag from all AI SQL functions in DataFrameAIFunctions (complete, filter, agg, classify, similarity, sentiment, embed, summarize_agg, transcribe, parse_document, extract, count_tokens, split_text_markdown_header, split_text_recursive_character) and RelationalGroupedDataFrame.ai_agg.
  • Updated DataFrame.ai.count_tokens to match the standalone ai_count_tokens function: function_name is now the required first parameter, and model is optional. Also added options and return_error_details parameters.

Bug Fixes

  • Fixed DataFrame.ai.count_tokens to call the AI_COUNT_TOKENS SQL function instead of the deprecated SNOWFLAKE.CORTEX.COUNT_TOKENS. Token counts may differ slightly due to the updated tokenizer.
  • Reverted the change introduced in 1.53.0 to eliminate unnecessary SELECT * from joins, which was causing performance regressions. This has no functional impact.

Release

1.53.1 (2026-07-14)

No user-facing changes in this release.

Release

1.53.0 (2026-07-09)

Snowpark Python API Updates

New Features

  • Added the udf_init_once decorator in snowflake.snowpark.functions for marking functions to be executed once during pre-fork initialization on Snowflake workers, matching the server-side _snowflake.udf_init_once API.

Bug Fixes

  • Fixed a bug where stage paths and file format names that contain single quotes were not consistently escaped when generating SQL, which could produce malformed statements. This affects INFER_SCHEMA (used by DataFrameReader.csv/json/parquet/orc/avro) and COPY FILES (used by FileOperation.copy_files).
  • Fixed a bug where single quotes and backslashes in stage/file paths were not correctly escaped when generating COPY INTO / PUT / GET SQL, which could produce malformed statements. This affects DataFrame.write.csv/copy_into_location and the Snowpark-pandas DataFrame.to_csv stage path.
  • Fixed a bug where column names containing quote characters returned by an external database were not correctly escaped when generating the SELECT query for DataFrameReader.dbapi, which could produce malformed SQL. Embedded quote characters in identifiers are now doubled (backticks for Databricks/MySQL, double quotes for Oracle/PostgreSQL/SQL Server).
  • Fixed a bug where the destination passed to DataFrameWriter.copy_into_location (and csv/json/parquet/save) was embedded into the generated COPY INTO statement without quoting, which could produce malformed SQL for locations containing single quotes. The location is now consistently quoted and escaped, and a string that merely starts and ends with a single quote but contains unescaped interior quotes is no longer treated as an already-quoted literal; it is fully escaped so it stays a single SQL string literal.
  • Fixed a bug where UDF default argument values reconstructed from a source file in register_from_file were evaluated with eval(); they are now evaluated only against the documented set of supported default-value types, and unsupported expressions are ignored.
  • Fixed a bug where object_name, object_domain, or object_version values containing single quotes or backslashes in session.lineage.trace() caused incorrect SQL generation. These values are now properly escaped before being embedded in the SYSTEM$DGQL call.
  • Fixed a bug where single quotes and backslashes in comment (create_or_replace_view / dynamic table / save_as_table), collation specs (Column.collate), VARIANT/OBJECT subfield keys (Column[...]), and DataFrame/Session.flatten paths were not correctly escaped when generating SQL, which could produce malformed statements. Backslash sequences (e.g. \t, \n) in these values are now applied literally rather than interpreted.
  • Fixed a bug where string values in the AI functions (ai_extract, ai_classify, ai_similarity, ai_parse_document, ai_transcribe, ai_complete) configuration and response_format were not correctly escaped when generating the SQL object literal, which could produce malformed statements when a value contained single quotes or backslashes (for example, an apostrophe in a natural-language question).

Dependency Updates

... (truncated)

Changelog

Sourced from snowflake-snowpark-python's changelog.

1.54.0 (2026-07-29)

Snowpark Python API updates

New Features

  • Added ai_count_tokens function to snowflake.snowpark.functions to estimate token counts for AI function calls.
  • Added ai_multi_embed function to snowflake.snowpark.functions to generate multimodal embeddings from text, images, audio, or video files.
  • Added ai_redact function to snowflake.snowpark.functions to detect and redact personally identifiable information (PII) from text.
  • Added DataFrame.ai.multi_embed method to generate multimodal embeddings via the DataFrame API.
  • Added DataFrame.ai.redact method to detect and redact PII from text columns via the DataFrame API.
  • Added DataFrame.ai.translate method to translate text columns between languages via the DataFrame API.

Improvements

  • Removed the experimental tag from all AI SQL functions in DataFrameAIFunctions (complete, filter, agg, classify, similarity, sentiment, embed, summarize_agg, transcribe, parse_document, extract, count_tokens, split_text_markdown_header, split_text_recursive_character) and RelationalGroupedDataFrame.ai_agg.
  • Updated DataFrame.ai.count_tokens to match the standalone ai_count_tokens function: function_name is now the required first parameter, and model is optional. Also added options and return_error_details parameters.

Bug Fixes

  • Fixed DataFrame.ai.count_tokens to call the AI_COUNT_TOKENS SQL function instead of the deprecated SNOWFLAKE.CORTEX.COUNT_TOKENS. Token counts may differ slightly due to the updated tokenizer.
  • Reverted the change introduced in 1.53.0 to eliminate unnecessary SELECT * from joins, which was causing performance regressions. This has no functional impact.

1.53.1 (2026-07-14)

No user-facing changes in this release.

1.53.0 (2026-07-09)

Snowpark Python API Updates

New Features

  • Added the udf_init_once decorator in snowflake.snowpark.functions for marking functions to be executed once during pre-fork initialization on Snowflake workers, matching the server-side _snowflake.udf_init_once API.

Bug Fixes

  • Fixed a bug where stage paths and file format names that contain single quotes were not consistently escaped when generating SQL, which could produce malformed statements. This affects INFER_SCHEMA (used by DataFrameReader.csv/json/parquet/orc/avro) and COPY FILES (used by FileOperation.copy_files).
  • Fixed a bug where single quotes and backslashes in stage/file paths were not correctly escaped when generating COPY INTO / PUT / GET SQL, which could produce malformed statements. This affects DataFrame.write.csv/copy_into_location and the Snowpark-pandas DataFrame.to_csv stage path.
  • Fixed a bug where column names containing quote characters returned by an external database were not correctly escaped when generating the SELECT query for DataFrameReader.dbapi, which could produce malformed SQL. Embedded quote characters in identifiers are now doubled (backticks for Databricks/MySQL, double quotes for Oracle/PostgreSQL/SQL Server).
  • Fixed a bug where the destination passed to DataFrameWriter.copy_into_location (and csv/json/parquet/save) was embedded into the generated COPY INTO statement without quoting, which could produce malformed SQL for locations containing single quotes. The location is now consistently quoted and escaped, and a string that merely starts and ends with a single quote but contains unescaped interior quotes is no longer treated as an already-quoted literal; it is fully escaped so it stays a single SQL string literal.
  • Fixed a bug where UDF default argument values reconstructed from a source file in register_from_file were evaluated with eval(); they are now evaluated only against the documented set of supported default-value types, and unsupported expressions are ignored.
  • Fixed a bug where object_name, object_domain, or object_version values containing single quotes or backslashes in session.lineage.trace() caused incorrect SQL generation. These values are now properly escaped before being embedded in the SYSTEM$DGQL call.
  • Fixed a bug where single quotes and backslashes in comment (create_or_replace_view / dynamic table / save_as_table), collation specs (Column.collate), VARIANT/OBJECT subfield keys (Column[...]), and DataFrame/Session.flatten paths were not correctly escaped when generating SQL, which could produce malformed statements. Backslash sequences (e.g. \t, \n) in these values are now applied literally rather than interpreted.
  • Fixed a bug where string values in the AI functions (ai_extract, ai_classify, ai_similarity, ai_parse_document, ai_transcribe, ai_complete) configuration and response_format were not correctly escaped when generating the SQL object literal, which could produce malformed statements when a value contained single quotes or backslashes (for example, an apostrophe in a natural-language question).

Improvements

  • Reduced the size of generated query text for repeated join operations.

... (truncated)

Commits
  • 9d02ceb update release date
  • d361570 NO-SNOW: fix more test failures (#4299)
  • 236a30c NO-SNOW: fix release test failures (#4298)
  • 2cc5ea0 Prepare release v1.54.0
  • fb3ac1e NO-SNOW: fix test failures (#4295)
  • a85d5e8 Add missing AISQL function wrappers: ai_count_tokens, ai_multi_embed, ai_reda...
  • 1a91941 SNOW-3818475: fix RecursionError in test_read_csv_with_infer_schema_negative ...
  • cd5f5a8 SNOW-3819819: Fix df.collect() test check pattern (#4292)
  • 168e0c0 SNOW-3814745: Revert "SNOW-3485482: Eliminate unnecessary SELECT * from joins...
  • 916123d NO-SNOW: Remove experimental tag from AI SQL functions (#4263)
  • Additional commits viewable in compare view

Updates streamlit from 1.58.0 to 1.61.1

Release notes

Sourced from streamlit's releases.

1.61.1

Full Changelog: streamlit/streamlit@1.61.0...1.61.1

1.61.0

What's Changed

Breaking Changes 🛠

New Features 🎉

Bug Fixes 🐛

... (truncated)

Commits
  • cc5f10b [fix] Pin starlette below 1.4.0 (#16342)
  • 520f422 Up version to 1.61.1
  • 00096bd [fix] Accept same-window self-posts in host message guard (#16327)
  • a3cde67 [fix] Restore port auto-increment on Windows (#16315)
  • 1de3f65 [fix] st.status in an outside container blanks the app (#16316)
  • 24ecf7d Up version to 1.61.0
  • a548263 Fix st.help header showing "page.run()" in multipage apps (#16244)
  • 5f1fa80 [fix] Suppress the skills nudge when an install would only conflict, and repo...
  • b86f523 [feature] Emit a bounded failure reason on skills-install nudge telemetry (#1...
  • 1108a0e Improve tag accessibility in st.multiselect (#16200)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the python-patch-and-minor group in /python-wrapper with 2 updates: [snowflake-snowpark-python](https://github.com/snowflakedb/snowpark-python) and [streamlit](https://github.com/streamlit/streamlit).


Updates `snowflake-snowpark-python` from 1.52.0 to 1.54.0
- [Release notes](https://github.com/snowflakedb/snowpark-python/releases)
- [Changelog](https://github.com/snowflakedb/snowpark-python/blob/main/CHANGELOG.md)
- [Commits](snowflakedb/snowpark-python@v1.52.0...v1.54.0)

Updates `streamlit` from 1.58.0 to 1.61.1
- [Release notes](https://github.com/streamlit/streamlit/releases)
- [Commits](streamlit/streamlit@1.58.0...1.61.1)

---
updated-dependencies:
- dependency-name: snowflake-snowpark-python
  dependency-version: 1.54.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-patch-and-minor
- dependency-name: streamlit
  dependency-version: 1.61.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: python-patch-and-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Aug 14, 2026
@FlorentinD
FlorentinD merged commit 3c020fa into main Aug 14, 2026
8 checks passed
@dependabot
dependabot Bot deleted the dependabot/uv/python-wrapper/python-patch-and-minor-9ac4c6c5a0 branch August 14, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant