From 091a5823b7de5df2b5210a9bbcc5aabb36261e3b Mon Sep 17 00:00:00 2001 From: nadijagraca Date: Tue, 5 Nov 2024 12:08:49 +0100 Subject: [PATCH] remove unnecessary requirements and small css fix --- .../dashboard_ui/assets/custom_css.css | 2 +- .../examples/dashboard_ui/requirements.in | 3 +- .../examples/dashboard_ui/requirements.txt | 311 ++---------------- 3 files changed, 23 insertions(+), 293 deletions(-) diff --git a/vizro-ai/examples/dashboard_ui/assets/custom_css.css b/vizro-ai/examples/dashboard_ui/assets/custom_css.css index 9975cbf52..cd9c92d14 100644 --- a/vizro-ai/examples/dashboard_ui/assets/custom_css.css +++ b/vizro-ai/examples/dashboard_ui/assets/custom_css.css @@ -26,7 +26,7 @@ background-color: inherit; border: 1px solid var(--border-subtle-alpha-01); color: var(--text-primary); - min-height: 120px; + min-height: 13.5vh; padding: 8px; width: 100%; } diff --git a/vizro-ai/examples/dashboard_ui/requirements.in b/vizro-ai/examples/dashboard_ui/requirements.in index 643d53eeb..c4ac937ee 100644 --- a/vizro-ai/examples/dashboard_ui/requirements.in +++ b/vizro-ai/examples/dashboard_ui/requirements.in @@ -1,7 +1,6 @@ gunicorn -vizro-ai>=0.2.1 +vizro-ai>=0.3.0 black -jupyter openpyxl langchain_anthropic langchain_mistralai diff --git a/vizro-ai/examples/dashboard_ui/requirements.txt b/vizro-ai/examples/dashboard_ui/requirements.txt index 1763c8929..59fd17ba6 100644 --- a/vizro-ai/examples/dashboard_ui/requirements.txt +++ b/vizro-ai/examples/dashboard_ui/requirements.txt @@ -14,37 +14,19 @@ anyio==4.4.0 # via # anthropic # httpx - # jupyter-server # openai -appnope==0.1.4 - # via ipykernel -argon2-cffi==23.1.0 - # via jupyter-server -argon2-cffi-bindings==21.2.0 - # via argon2-cffi -arrow==1.3.0 - # via isoduration -asttokens==2.4.1 - # via stack-data -async-lru==2.0.4 - # via jupyterlab async-timeout==4.0.3 # via # aiohttp # langchain attrs==24.2.0 - # via - # aiohttp - # jsonschema - # referencing -babel==2.16.0 - # via jupyterlab-server -beautifulsoup4==4.12.3 - # via nbconvert + # via aiohttp +autoflake==2.3.1 + # via vizro-ai black==24.8.0 - # via -r requirements.in -bleach==6.1.0 - # via nbconvert + # via + # -r requirements.in + # vizro-ai blinker==1.8.2 # via flask cachelib==0.9.0 @@ -54,18 +36,12 @@ certifi==2024.8.30 # httpcore # httpx # requests -cffi==1.17.1 - # via argon2-cffi-bindings charset-normalizer==3.3.2 # via requests click==8.1.7 # via # black # flask -comm==0.2.2 - # via - # ipykernel - # ipywidgets dash==2.18.1 # via # dash-ag-grid @@ -83,14 +59,8 @@ dash-mantine-components==0.12.1 # via vizro dash-table==5.0.0 # via dash -debugpy==1.8.5 - # via ipykernel -decorator==5.1.1 - # via ipython defusedxml==0.7.1 - # via - # langchain-anthropic - # nbconvert + # via langchain-anthropic distro==1.9.0 # via # anthropic @@ -98,13 +68,7 @@ distro==1.9.0 et-xmlfile==1.1.0 # via openpyxl exceptiongroup==1.2.2 - # via - # anyio - # ipython -executing==2.1.0 - # via stack-data -fastjsonschema==2.20.0 - # via nbformat + # via anyio filelock==3.16.1 # via huggingface-hub flask==3.0.3 @@ -113,8 +77,6 @@ flask==3.0.3 # flask-caching flask-caching==2.3.0 # via vizro -fqdn==1.5.1 - # via jsonschema frozenlist==1.4.1 # via # aiohttp @@ -132,7 +94,6 @@ httpcore==1.0.5 httpx==0.27.2 # via # anthropic - # jupyterlab # langchain-mistralai # langsmith # openai @@ -144,107 +105,24 @@ idna==3.8 # via # anyio # httpx - # jsonschema # requests # yarl importlib-metadata==8.5.0 # via # dash # flask - # jupyter-client - # jupyter-lsp - # jupyterlab - # jupyterlab-server - # nbconvert -ipykernel==6.29.5 - # via - # jupyter - # jupyter-console - # jupyterlab -ipython==8.18.1 - # via - # ipykernel - # ipywidgets - # jupyter-console -ipywidgets==8.1.5 - # via jupyter -isoduration==20.11.0 - # via jsonschema itsdangerous==2.2.0 # via flask -jedi==0.19.1 - # via ipython jinja2==3.1.4 - # via - # flask - # jupyter-server - # jupyterlab - # jupyterlab-server - # nbconvert + # via flask jiter==0.5.0 # via # anthropic # openai -json5==0.9.25 - # via jupyterlab-server jsonpatch==1.33 # via langchain-core jsonpointer==3.0.0 - # via - # jsonpatch - # jsonschema -jsonschema==4.23.0 - # via - # jupyter-events - # jupyterlab-server - # nbformat -jsonschema-specifications==2023.12.1 - # via jsonschema -jupyter==1.1.1 - # via -r requirements.in -jupyter-client==8.6.2 - # via - # ipykernel - # jupyter-console - # jupyter-server - # nbclient -jupyter-console==6.6.3 - # via jupyter -jupyter-core==5.7.2 - # via - # ipykernel - # jupyter-client - # jupyter-console - # jupyter-server - # jupyterlab - # nbclient - # nbconvert - # nbformat -jupyter-events==0.10.0 - # via jupyter-server -jupyter-lsp==2.2.5 - # via jupyterlab -jupyter-server==2.14.2 - # via - # jupyter-lsp - # jupyterlab - # jupyterlab-server - # notebook - # notebook-shim -jupyter-server-terminals==0.5.3 - # via jupyter-server -jupyterlab==4.2.5 - # via - # jupyter - # notebook -jupyterlab-pygments==0.3.0 - # via nbconvert -jupyterlab-server==2.27.3 - # via - # jupyterlab - # notebook -jupyterlab-widgets==3.0.13 - # via ipywidgets + # via jsonpatch langchain==0.2.16 # via vizro-ai langchain-anthropic==0.1.23 @@ -267,7 +145,9 @@ langchain-text-splitters==0.2.4 langgraph==0.2.16 # via vizro-ai langgraph-checkpoint==1.0.9 - # via langgraph + # via + # langgraph + # vizro-ai langsmith==0.1.119 # via # langchain @@ -275,41 +155,15 @@ langsmith==0.1.119 markupsafe==2.1.5 # via # jinja2 - # nbconvert # werkzeug -matplotlib-inline==0.1.7 - # via - # ipykernel - # ipython -mistune==3.0.2 - # via nbconvert multidict==6.1.0 # via # aiohttp # yarl mypy-extensions==1.0.0 # via black -nbclient==0.10.0 - # via nbconvert -nbconvert==7.16.4 - # via - # jupyter - # jupyter-server -nbformat==5.10.4 - # via - # jupyter-server - # nbclient - # nbconvert nest-asyncio==1.6.0 - # via - # dash - # ipykernel -notebook==7.2.2 - # via jupyter -notebook-shim==0.2.4 - # via - # jupyterlab - # notebook + # via dash numpy==1.26.4 # via # langchain @@ -322,54 +176,23 @@ openpyxl==3.1.5 # via -r requirements.in orjson==3.10.7 # via langsmith -overrides==7.7.0 - # via jupyter-server packaging==24.1 # via # black # gunicorn # huggingface-hub - # ipykernel - # jupyter-server - # jupyterlab - # jupyterlab-server # langchain-core - # nbconvert # plotly pandas==2.2.2 # via # vizro # vizro-ai -pandocfilters==1.5.1 - # via nbconvert -parso==0.8.4 - # via jedi pathspec==0.12.1 # via black -pexpect==4.9.0 - # via ipython platformdirs==4.3.2 - # via - # black - # jupyter-core + # via black plotly==5.24.1 # via dash -prometheus-client==0.20.0 - # via jupyter-server -prompt-toolkit==3.0.47 - # via - # ipython - # jupyter-console -psutil==6.0.0 - # via ipykernel -ptyprocess==0.7.0 - # via - # pexpect - # terminado -pure-eval==0.2.3 - # via stack-data -pycparser==2.22 - # via cffi pydantic==2.9.1 # via # anthropic @@ -380,90 +203,46 @@ pydantic==2.9.1 # vizro pydantic-core==2.23.3 # via pydantic -pygments==2.18.0 - # via - # ipython - # jupyter-console - # nbconvert +pyflakes==3.2.0 + # via autoflake python-dateutil==2.9.0.post0 - # via - # arrow - # jupyter-client - # pandas + # via pandas python-dotenv==1.0.1 # via vizro-ai -python-json-logger==2.0.7 - # via jupyter-events pytz==2024.2 # via pandas pyyaml==6.0.2 # via # huggingface-hub - # jupyter-events # langchain # langchain-core -pyzmq==26.2.0 - # via - # ipykernel - # jupyter-client - # jupyter-console - # jupyter-server -referencing==0.35.1 - # via - # jsonschema - # jsonschema-specifications - # jupyter-events regex==2024.9.11 # via tiktoken requests==2.32.3 # via # dash # huggingface-hub - # jupyterlab-server # langchain # langsmith # tiktoken retrying==1.3.4 # via dash -rfc3339-validator==0.1.4 - # via - # jsonschema - # jupyter-events -rfc3986-validator==0.1.1 - # via - # jsonschema - # jupyter-events -rpds-py==0.20.0 - # via - # jsonschema - # referencing ruff==0.6.4 # via vizro -send2trash==1.8.3 - # via jupyter-server setuptools==74.1.2 - # via - # dash - # jupyterlab + # via dash six==1.16.0 # via - # asttokens - # bleach # python-dateutil # retrying - # rfc3339-validator sniffio==1.3.1 # via # anthropic # anyio # httpx # openai -soupsieve==2.6 - # via beautifulsoup4 sqlalchemy==2.0.34 # via langchain -stack-data==0.6.3 - # via ipython tabulate==0.9.0 # via vizro-ai tenacity==8.5.0 @@ -471,61 +250,27 @@ tenacity==8.5.0 # langchain # langchain-core # plotly -terminado==0.18.1 - # via - # jupyter-server - # jupyter-server-terminals tiktoken==0.7.0 # via langchain-openai -tinycss2==1.3.0 - # via nbconvert tokenizers==0.20.1 # via # anthropic # langchain-mistralai tomli==2.0.1 # via + # autoflake # black - # jupyterlab -tornado==6.4.1 - # via - # ipykernel - # jupyter-client - # jupyter-server - # jupyterlab - # notebook - # terminado tqdm==4.66.5 # via # huggingface-hub # openai -traitlets==5.14.3 - # via - # comm - # ipykernel - # ipython - # ipywidgets - # jupyter-client - # jupyter-console - # jupyter-core - # jupyter-events - # jupyter-server - # jupyterlab - # matplotlib-inline - # nbclient - # nbconvert - # nbformat -types-python-dateutil==2.9.0.20240906 - # via arrow typing-extensions==4.12.2 # via # anthropic # anyio - # async-lru # black # dash # huggingface-hub - # ipython # langchain-core # multidict # openai @@ -534,30 +279,16 @@ typing-extensions==4.12.2 # sqlalchemy tzdata==2024.1 # via pandas -uri-template==1.3.0 - # via jsonschema urllib3==2.2.3 # via requests vizro==0.1.23 # via vizro-ai -vizro-ai==0.2.3 +vizro-ai==0.3.0 # via -r requirements.in -wcwidth==0.2.13 - # via prompt-toolkit -webcolors==24.8.0 - # via jsonschema -webencodings==0.5.1 - # via - # bleach - # tinycss2 -websocket-client==1.8.0 - # via jupyter-server werkzeug==3.0.4 # via # dash # flask -widgetsnbextension==4.0.13 - # via ipywidgets wrapt==1.16.0 # via vizro yarl==1.11.1