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

SNOW-1650685: snow snowpark package create generates empty .zip archive #1535

Closed
patawan opened this issue Sep 4, 2024 · 1 comment · Fixed by #1541
Closed

SNOW-1650685: snow snowpark package create generates empty .zip archive #1535

patawan opened this issue Sep 4, 2024 · 1 comment · Fixed by #1541
Labels

Comments

@patawan
Copy link

patawan commented Sep 4, 2024

SnowCLI version

2.8.0

Python version

3.11.5

Platform

Linux-5.15.133.1-microsoft-standard-WSL2-x86_64-with-glibc2.35

What happened

While attempting to generate a .zip archive to upload to snowflake for use in a Python worksheet, the command snow snowpark package create CausalPy generates a .zip archive that contains no files.

Console output

Package CausalPy.zip created. You can now upload it to a stage using
snow snowpark package upload -f CausalPy.zip -s <stage-name>
and reference it in your procedure or function.
Remember to add it to imports in the procedure or function definition.

How to reproduce

execute the command
snow snowpark package create CausalPy.

I have also tried passing multiple flags to the command and they all yield the same result:[

  • snow snowpark package create CausalPy --ignore-anaconda
  • snow snowpark package create CausalPy --ignore anaconda --allow-shared-libraries
  • snow snowpark package create CausalPy --ignore anaconda --allow-shared-libraries --index-url https://pypi.python.org/simple
@github-actions github-actions bot changed the title snow snowpark package create generates empty .zip archive SNOW-1650685: snow snowpark package create generates empty .zip archive Sep 4, 2024
@sfc-gh-jsikorski
Copy link
Collaborator

Issue was fixed in https://github.com/snowflakedb/snowflake-cli/releases/tag/v2.8.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants