https://kedro.org/ logo
#plugins-integrations
Title
# plugins-integrations
s

Sj

12/30/2022, 3:26 PM
Does anyone know if Kedro would work with Poetry?
K 1
m

marrrcin

12/30/2022, 3:39 PM
It works well
s

Sj

12/30/2022, 3:40 PM
Do you know if there is an example somewhere? I have only seen pip being used the manage dependencies in the documentation...
m

marrrcin

12/30/2022, 3:41 PM
It works like in any other poetry-managed project, nothing special needed
👍 1
Just
poetry add kedro
, Kedro is still a pure Python package
👍 1
All of getindata’s plugins are poetry-based too, e.g. https://github.com/getindata/kedro-azureml
👍 1
s

Sj

12/30/2022, 3:45 PM
Thank you!
Kedro build-reqs seems to be expecting a requirements.txt file. If the project is managed with poetry and only has a project.toml file, how would this work?
m

marrrcin

12/30/2022, 3:47 PM
kedro build-reqs
is being deprecated
👍 1
With poetry, you will only have pyproject.toml and poetry.lock
👍 1
No need for requirements.txt / setup.py / pip compile / others
s

Sj

12/30/2022, 3:51 PM
"kedro build-reqs is being deprecated" - is there a replacement for this command?
m

marrrcin

12/30/2022, 3:52 PM
I’m not sure, someone from the Kedro team should be able to provide the answer for that
s

Sj

12/30/2022, 4:09 PM
Thank you !
d

Deepyaman Datta

12/30/2022, 4:17 PM
No, there is no replacement.
kedro build-reqs
was a simple wrapper over `pip-compile`; people should just use
pip-compile
themselves if they want the functionality. For Poetry, you'd just use their lock file creation process anyway.
🙏 1
s

Sj

12/30/2022, 4:18 PM
Thank you!
8 Views