Skip to content

Commit

Permalink
Remove unused dependency from vizro_ai (#544)
Browse files Browse the repository at this point in the history
  • Loading branch information
lingyielia authored Jun 24, 2024
1 parent 6500f59 commit f81b55d
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!--
A new scriv changelog fragment.
Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Highlights ✨
- A bullet item for the Highlights ✨ category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Removed
- A bullet item for the Removed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Added
- A bullet item for the Added category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Changed
- A bullet item for the Changed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Deprecated
- A bullet item for the Deprecated category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Fixed
- A bullet item for the Fixed category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
<!--
### Security
- A bullet item for the Security category with a link to the relevant PR at the end of your entry, e.g. Enable feature XXX ([#1](https://github.com/mckinsey/vizro/pull/1))
-->
3 changes: 2 additions & 1 deletion vizro-ai/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ dependencies = [
"toml",
"nbformat>=4.2.0",
"pyhamcrest",
"jupyter"
"jupyter",
"langchain_community"
]

[envs.default.env-vars]
Expand Down
1 change: 0 additions & 1 deletion vizro-ai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ dependencies = [
"ipython>=8.10.0", # not directly required, pinned by Snyk to avoid a vulnerability: https://app.snyk.io/vuln/SNYK-PYTHON-IPYTHON-3318382
"urllib3>=2.0.7", # not directly required, pinned by Snyk to avoid a vulnerability: https://security.snyk.io/vuln/SNYK-PYTHON-URLLIB3-6002459
"aiohttp>=3.9.2", # not directly required, pinned by Snyk to avoid a vulnerability: https://security.snyk.io/vuln/SNYK-PYTHON-AIOHTTP-6209407
"langchain-community>=0.0.27", # not directly required, pinned by Snyk to avoid a vulnerability: https://security.snyk.io/vuln/SNYK-PYTHON-LANGCHAINCOMMUNITY-6421036
"langchain-core>=0.1.31" # not directly required, pinned by Snyk to avoid a vulnerability: https://security.snyk.io/vuln/SNYK-PYTHON-LANGCHAINCORE-6370598
]
description = "Vizro-AI is a tool for generating data visualizations"
Expand Down
1 change: 0 additions & 1 deletion vizro-ai/snyk/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@ vizro>=0.1.4
ipython>=8.10.0
urllib3>=2.0.7
aiohttp>=3.9.2
langchain-community>=0.0.27
langchain-core>=0.1.31
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pandas as pd
import pytest
from langchain.llms.fake import FakeListLLM
from langchain_community.llms.fake import FakeListLLM
from vizro_ai.components import GetChartSelection


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from langchain.llms.fake import FakeListLLM
from langchain_community.llms.fake import FakeListLLM
from vizro_ai.components import GetDebugger


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from langchain.llms.fake import FakeListLLM
from langchain_community.llms.fake import FakeListLLM
from vizro_ai.components import GetCustomChart


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pandas as pd
import pytest
from langchain.llms.fake import FakeListLLM
from langchain_community.llms.fake import FakeListLLM
from vizro_ai.components import GetDataFrameCraft


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from langchain.llms.fake import FakeListLLM
from langchain_community.llms.fake import FakeListLLM
from vizro_ai.components import GetCodeExplanation


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from langchain.llms.fake import FakeListLLM
from langchain_community.llms.fake import FakeListLLM
from vizro_ai.components import GetVisualCode


Expand Down

0 comments on commit f81b55d

Please sign in to comment.