Closed astrojuanlu closed 2 months ago
For the record, despite the broken dependency requirements, Kedro-Viz 9.1.0 works with uvicorn 0.30.1 just fine:
$ uv pip freeze | grep -E 'viz|uvi'
kedro-viz==9.1.0
uvicorn==0.30.1
$ uv pip check
Checked 215 packages in 2ms
Found 1 incompatibility
The package `kedro-viz` requires `uvicorn[standard]~=0.29.0`, but `0.30.1` is installed.
$ kedro viz run
[07/04/24 09:41:40] INFO Using `conf/logging.yml` as logging configuration. You can change __init__.py:249
this by setting the KEDRO_LOGGING_CONFIG environment variable
accordingly.
Starting Kedro Viz ...
[07/04/24 09:41:42] INFO Using `conf/logging.yml` as logging configuration. You can change __init__.py:249
this by setting the KEDRO_LOGGING_CONFIG environment variable
accordingly.
Kedro Viz started successfully.
✨ Kedro Viz is running at
http://127.0.0.1:4141/
Probably after the Dependabot config is changed, some effort could be spent relaxing some of the dependency pinnings.
Description
In https://github.com/kedro-org/kedro-viz/issues/1582#issuecomment-1764451560 I wrote
Since the migration to
pyproject.toml
hasn't happened, Kedro-Viz continued to use theincrease
dependabot strategy, hence making too aggressive updates torequirements.txt
files.Context
This has caused trouble to me. Today I was trying to install Kedro-Viz alongside Prefect 3.0.0rc10, and got this error:
Kedro-Viz has such strict dependency pinnings because of Dependabot https://github.com/kedro-org/kedro-viz/pull/1839
The dependency was bumped in the
main
branch already https://github.com/kedro-org/kedro-viz/pull/1935 but since development installs are tricky https://github.com/kedro-org/kedro-viz/issues/1611 I cannot just runuv pip install "kedro-viz @ git+https://github.com/kedro-org/kedro-viz.git@main#subpackage=package"
, because that yields a broken installation:There are two solutions:
requirements.txt
for now