Manoel Pereira de Queiroz
08/01/2024, 4:48 PMpyproject.toml
for? I have been tinkering with the configuration to use Poetry instead of setuptools and it seems to be fine for running kedro package
, but my linter gives an error when I switch from one tool to another with two errors:
⢠"name" is a required property
⢠{"entry-points":{"kedro.hooks":{}}} is not valid under any of the given schemas
Could anyone help me explaining the behaviour of this line in the "vanilla" version so I can further investigate what is happening when I attempt switching to Poetry?Juan Luis
08/01/2024, 5:17 PM[tool.poetry.plugins."kedro.hooks"]
instead?Juan Luis
08/01/2024, 5:18 PMManoel Pereira de Queiroz
08/01/2024, 5:39 PMproject*.*entry-points*.*"kedro.hooks"
serve for, this way I can dig depper into Poetry configuration to come back when I get a better grasp of any problems to take the most of your time š
I'm also aware that an initiative to implement Poetry integrated with Kedro is already going forward in the project! I believe I myself commented in one issue or another in support for the feature. Love to see when it releases, keep up the good work!Juan Luis
08/01/2024, 6:08 PM[project.entry-points]
is the old entry_points
from `setup.py`: https://packaging.python.org/en/latest/specifications/pyproject-toml/#entry-points
and [project.entry-points."kedro.hooks"]
is how plugins can declare/register hooks https://docs.kedro.org/en/stable/extend_kedro/plugins.html#hooksJuan Luis
08/01/2024, 6:09 PMmarrrcin
08/02/2024, 7:06 AM