The function utils._ensure_shallow_copy makes a direct import of the package packaging.
However, the packaging package is not listed in mlforecast python dependencies.
This causes the preprocessing to raise an import error in a minimal working virtual environment where packaging is not already installed.
Expected behavior:
No import error in a minimally working virtual environment.
What happened + What you expected to happen
Bug:
The function
utils._ensure_shallow_copy
makes a direct import of the packagepackaging
. However, thepackaging
package is not listed inmlforecast
python dependencies.This causes the preprocessing to raise an import error in a minimal working virtual environment where
packaging
is not already installed.Expected behavior:
Versions / Dependencies
Reproduction script
Script to check the issue:
Output:
Issue Severity
Low: It annoys or frustrates me.