Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade snowpark lib until a fix is identified #1928

Merged
merged 2 commits into from
Dec 6, 2024

Conversation

sfc-gh-bdufour
Copy link
Contributor

@sfc-gh-bdufour sfc-gh-bdufour commented Dec 6, 2024

Pre-review checklist

  • I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
  • I've added or updated automated unit tests to verify correctness of my new code.
  • I've added or updated integration tests to verify correctness of my new code.
  • I've confirmed that my changes are working by executing CLI's commands manually on MacOS.
  • I've confirmed that my changes are working by executing CLI's commands manually on Windows.
  • I've confirmed that my changes are up-to-date with the target branch.
  • I've described my changes in the release notes.
  • I've described my changes in the section below.

Changes description

Snowpark 1.26.0 breaks native app's snowpark integration. It looks like a new piece of logic was introduced that incorrectly assumes that Snowpark has a valid session, which is not the case when we execute Snowpark in the CLI sandbox. NADE will need to work with the Snowpark team on the fix or workaround, until then we shouldn't use the buggy library.

@@ -35,7 +35,7 @@ dependencies = [
"setuptools==75.6.0",
'snowflake.core==1.0.2; 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"',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not entirely sure why the context.py alone wasn't sufficient, but I had to do this too for E2E to pass.

@sfc-gh-bdufour sfc-gh-bdufour marked this pull request as ready for review December 6, 2024 14:02
@sfc-gh-bdufour sfc-gh-bdufour requested review from a team as code owners December 6, 2024 14:02
@sfc-gh-bdufour sfc-gh-bdufour merged commit 4e0c73c into main Dec 6, 2024
20 checks passed
@sfc-gh-bdufour sfc-gh-bdufour deleted the bdufour-fix-e2e branch December 6, 2024 14:14
sfc-gh-pczajka added a commit that referenced this pull request Dec 12, 2024
* Bump version

* Downgrade snowpark lib until a fix is identified (#1928)

* update release notes

* update snapshot

---------

Co-authored-by: Bruno Dufour <[email protected]>
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.

3 participants