Thoughts on monorepos (dependency isolation) #4147
Replies: 6 comments 4 replies
-
One request that comes up from time to time is "1 Kedro project, different groups of dependencies". At the moment, 1 Kedro project = 1 Python package, therefore having completely disjoint dependencies is not possible. There are several possible solutions:
|
Beta Was this translation helpful? Give feedback.
-
Beyond the "different groups of dependencies" use case, today a user asked about having different packages under
I tried this with both setuptools and PDM build backends and it worked like a charm (hatchling on the other hand chocked). Sample
However, I'm sure Kedro has some hardcoded logic that looks into a specific path inside |
Beta Was this translation helpful? Give feedback.
-
To note, PEP 735 (Dependency Groups) is now accepted. https://peps.python.org/pep-0735/ |
Beta Was this translation helpful? Give feedback.
-
Useful ecosystem overview of how other languages do this https://gist.github.com/konstin/6d04f111563641beb10facb617fe0eb3 |
Beta Was this translation helpful? Give feedback.
-
Yet another user concerned about the 1 Kedro pipeline = 1 set of requirements https://kedro.hall.community/evaluating-kedro-for-data-engineering-processes-qFYCwWk5VKQh |
Beta Was this translation helpful? Give feedback.
-
Originally posted by @deepyaman in #4319 (comment) |
Beta Was this translation helpful? Give feedback.
-
With the deprecation of micropackaging #3854, it would be good to explore monorepo approaches. What "monorepo" actually means depends on the use case.
Beta Was this translation helpful? Give feedback.
All reactions