Dictionary of PyPI packages to install. Keys are package names, values are version specifiers. For example,
{"flask": ">=2.0", "requests": ""}. Mutually exclusive with requirements_file and pyproject_toml.Python version to use, such as
3.11.0. If not set, uses the Python already present in base_image and installs dependencies into it. If set, a new Python environment at that version is created inside the base image, and all dependencies are installed into it.A named tuple containing
image (the baked Docker image URL) and python_path (the path to the Python executable in the image).- ImageBakingException: If baking fails or if invalid parameters are provided.