kedro micropkg pull
is slow
#3457
Labels
Issue: Feature Request
New feature or improvement to existing feature
Milestone
Description
As per title.
Context
The reason is that, to account for both
setup.py
andpyproject.toml
in a generic way, the current code builds a wheel and then extracts the metadata:kedro/kedro/framework/cli/micropkg.py
Lines 214 to 219 in fb09b32
and this can take ~5 seconds or so, more in a slower system.
This was introduced in #2614
Possible Implementation
This is a proof of concept implementation, however it only works for
pyproject.toml
projects:A backwards-compatible approach would need
build
as a dependency,pyproject.toml
and otherwise use the slow codepath, andPossible Alternatives
The text was updated successfully, but these errors were encountered: