Question regarding kedro-viz. why is there a restr...
# questions
m
Question regarding kedro-viz. why is there a restriction on pydantic? V2 is much faster as it has been rewritten in Rust… Same for fsspec and s3fs (which is different from the requirements of kedro)
a
n
For pydantic, you can use v2 as you wish but viz itself doesn't really need the performance boost yet. There were some compatibility issue so we planned to do a bit later.
❤️ 1
j
kedro viz is pinning pydantic, so you can't install v2 if you have viz installed...
i
do you know if anybody has tested using kedro viz as an "app", so installing it through pipx or smth similar? is that even possible with how viz works?
due to the heavy deps from viz i usually have my dev venv but I create another one just for viz where i just install viz over whatever project I have installed, overriding the project's dependencies with viz's
n
@Juan Luis you are right. I was involved in the discussion and from what I remembered the decision was to use v1 api if v2 is installed. I have no idea why the pin is still there maybe I missed some follow up discussion.
From the issue, it seems like it was planned this sprint so it should be fixed very soon.
j
is that even possible with how viz works?
sadly, no. Kedro-Viz needs to
import
the pipeline code at the moment.
👍 1