This behavior change is in the 2022_07 bundle. In the 6.32 release, the bundle is disabled by default.
For the most up-to-date details about the version and date in which it will be enabled, as well as other release-related details, see the Behavior Change Log.
When adding a Python package to a Python Snowpark session, the user gets an error message if the package or its specified version is not supported by Snowflake.
The time when the error message is received has changed to be earlier:
Previously:
|
The error was received only when the user tried to register a UDF or stored procedure.
|
Pending:
|
The error occurs earlier, when add_packages is used to add the Python package.
For example, calling "session.add_packages('numpy==21.21.21')" results in "ValueError" because the package version is not valid.
|
Ref: 808