Step.required_pkgs()
Third-party packages required to run this step. Defaults to none.
Usage
Step.required_pkgs()Each entry is a requirement string, either a bare name ("numpy") or one carrying a version constraint ("scikit-learn>=1.3"). The recipe checks the declared packages with check_required_pkgs when it is fitted and when a fitted recipe transforms data, so a missing optional dependency is reported as an actionable install hint instead of an ImportError from somewhere inside the step. Only running a step needs the package; building, inspecting, and serializing a recipe do not.