From e86151213442f7522d650251f2e62b7904b2c0de Mon Sep 17 00:00:00 2001 From: Bruno Dufour Date: Fri, 6 Dec 2024 09:14:10 -0500 Subject: [PATCH] Downgrade snowpark lib until a fix is identified (#1928) --- pyproject.toml | 2 +- snyk/requirements.txt | 2 +- tests_e2e/conftest.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f9575bd907..10236d21ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ dependencies = [ "setuptools==75.3.0", 'snowflake.core==0.12.1; python_version < "3.12"', "snowflake-connector-python[secure-local-storage]==3.12.3", - 'snowflake-snowpark-python>=1.15.0;python_version < "3.12"', + 'snowflake-snowpark-python>=1.15.0,<1.26.0;python_version < "3.12"', "tomlkit==0.13.2", "typer==0.12.5", "urllib3>=1.24.3,<2.3", diff --git a/snyk/requirements.txt b/snyk/requirements.txt index 3237b573e9..2eaa4acd95 100644 --- a/snyk/requirements.txt +++ b/snyk/requirements.txt @@ -8,7 +8,7 @@ requirements-parser==0.11.0 setuptools==75.3.0 snowflake.core==0.12.1; python_version < "3.12" snowflake-connector-python[secure-local-storage]==3.12.3 -snowflake-snowpark-python>=1.15.0;python_version < "3.12" +snowflake-snowpark-python>=1.15.0,<1.26.0;python_version < "3.12" tomlkit==0.13.2 typer==0.12.5 urllib3>=1.24.3,<2.3 diff --git a/tests_e2e/conftest.py b/tests_e2e/conftest.py index 7bca4d9d1c..38bbb8327c 100644 --- a/tests_e2e/conftest.py +++ b/tests_e2e/conftest.py @@ -140,7 +140,7 @@ def _install_snowcli_with_external_plugin( ) # Required by snowpark example tests - _pip_install(python, "snowflake-snowpark-python") + _pip_install(python, "snowflake-snowpark-python[pandas]==1.25.0") def _python_path(venv_path: Path) -> Path: