Skip to content

Python package and CLI 1.0.2

PyRel 1.0.2 deprecates raiconfig.toml in favor of raiconfig.yaml, and Snowflake stored procedures that relied on implicit config loading must now pass an explicit Config.

How to install this version

Review the changes below before installing. To install this version, activate a compatible Python virtual environment and run:

Terminal window
python -m pip install "relationalai==1.0.2"

For the latest installation instructions, see Start building with PyRel.

  • raiconfig.toml is deprecated, and PyRel now reliably emits a visible warning when it loads a raiconfig.toml config. The warning points you to rai init to migrate or create a raiconfig.yaml.

  • Fixed an issue in Snowflake stored procedures where importing your package could fail or behave unexpectedly if it triggered config auto-discovery at import time. This could attempt to read config files in a restricted runtime, and raise errors such as ConfigFileNotFoundError.

    If your code relied on implicit config loading, update it to construct a Config explicitly and pass it into the SDK objects you create. For example: cfg = create_config(...). In stored procedures, prefer creating the config inside the stored procedure handler rather than at module import time.

    See create_config() for the supported config sources and defaults.