# questions

Matthias Roels

02/08/2024, 8:29 AM
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)

Ahdra Merali

02/08/2024, 9:31 AM

Nok Lam Chan

02/08/2024, 10:38 AM
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

Juan Luis

02/08/2024, 11:06 AM
kedro viz is pinning pydantic, so you can't install v2 if you have viz installed...

Iñigo Hidalgo

02/08/2024, 11:16 AM
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

Nok Lam Chan

02/08/2024, 11:19 AM
@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.

Juan Luis

02/08/2024, 11:54 AM
is that even possible with how viz works?
sadly, no. Kedro-Viz needs to
the pipeline code at the moment.
👍 1