micropkg
cannot package modules that are not directly under the src/<project_name>/
directory
#2200
Labels
Community
Issue/PR opened by the open-source community
Description
micropkg
cannot package sub-folders that are more than 1 level below thesrc/<project_name>/
folder. This has renderedmicropkg
unusable for pipelines (if you follow the standard folder structure of Kedro).Steps to Reproduce
Here was my
src
folder structure:Under the
[tool.kedro.micropkg.package]
spec ofpyproject.toml
, I had:Then, I executed
kedro micropkg package --all
.Expected Result
Both the
io
and thepipelines.clean_data
modules should be packaged without problems.Actual Result
Only the
io
module was packaged successfully.Packaging the
pipelines.clean_data
module raised the following error:My Environment
Important Note
To make
micropkg
works on Kedro 0.18.4, I have manually fixed the bug #2119 on my local environment (by following what @merelcht has described in the bug report). Without this step,micropkg
would not work at all.The text was updated successfully, but these errors were encountered: