Skip to content

Commit

Permalink
urllib3==1.26.19
Browse files Browse the repository at this point in the history
  • Loading branch information
l0uden committed Aug 6, 2024
1 parent 9c49c90 commit b2e7a74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion vizro-ai/hatch.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ dependencies = [
"jupyter",
"langchain_community",
"dash[testing]",
"chromedriver-autoinstaller>=0.6.4"
"chromedriver-autoinstaller>=0.6.4",
"urllib3==1.26.19"
]

[envs.default.env-vars]
Expand Down
2 changes: 1 addition & 1 deletion vizro-ai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = [
"python-dotenv>=1.0.0", # TODO decide env var management to see if we need this
"vizro>=0.1.4", # TODO set upper bound later
"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
# "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-core>=0.1.31" # not directly required, pinned by Snyk to avoid a vulnerability: https://security.snyk.io/vuln/SNYK-PYTHON-LANGCHAINCORE-6370598
]
Expand Down
4 changes: 2 additions & 2 deletions vizro-ai/tests/integration/test_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def setup_test_environment():

@pytest.mark.filterwarnings("ignore::langchain_core._api.beta_decorator.LangChainBetaWarning")
@pytest.mark.filterwarnings("ignore::UserWarning")
@pytest.mark.filterwarnings("ignore::DeprecationWarning")
@pytest.mark.filterwarnings("ignore:HTTPResponse.getheader()")
def test_simple_dashboard(dash_duo):
input_text = """
I need a page with 1 table.
Expand All @@ -48,6 +48,6 @@ def test_simple_dashboard(dash_duo):
"""

dashboard = vizro_ai.dashboard([df1, df2], input_text)
app = Vizro().build(dashboard).run()
app = Vizro().build(dashboard).dash
dash_duo.start_server(app)
assert dash_duo.get_logs() == []

0 comments on commit b2e7a74

Please sign in to comment.