snowflakedb/snowflake-cli

SNOW-928900: Requirements with comments are not supported

Closed this issue · 0 comments

SnowCLI version

1.1.1

Python version

3.9.4

Platform

MacOS

What happened

When trying to create a procedure with requirements.txt containing commented lines the command snow snowpark procedure create fails with

Exception message:
001422 (22023): SQL compilation error:
invalid value 'toml # for local development' for property 'PACKAGES'

Console output

Exception message:
001422 (22023): SQL compilation error:
invalid value 'toml # for local development' for property 'PACKAGES'


### How to reproduce

Try to deploy procedure with requirements.txt like

snowflake-snowpark-python
toml # for local development