File tree Expand file tree Collapse file tree 4 files changed +12
-4
lines changed
playwright/deploys/plotly Expand file tree Collapse file tree 4 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ test = [
7575 " seaborn" ,
7676 " plotnine" ,
7777 " plotly" ,
78+ " anywidget" ,
7879 " duckdb" ,
7980 " holoviews" ,
8081 " bokeh" ,
@@ -116,6 +117,11 @@ dev = [
116117 " anthropic" ,
117118 " google-generativeai;python_version>='3.9'" ,
118119 " langchain_core" ,
120+ # langsmith (needed for langchain_core) versions >= 0.3
121+ # (up to at least 0.3.2 as of 2025-01-29)
122+ # cause an `argparse.ArgumentError` when running `pytest`.
123+ # https://github.com/posit-dev/py-shiny/issues/1829
124+ " langsmith<0.3" ,
119125 " openai" ,
120126 " ollama" ,
121127 " tokenizers" ,
Original file line number Diff line number Diff line change @@ -251,7 +251,6 @@ async def process_request(
251251 status_code = http .HTTPStatus .MOVED_PERMANENTLY ,
252252 reason_phrase = "Moved Permanently" ,
253253 headers = websockets .Headers (Location = app_url ),
254- body = None ,
255254 )
256255 else :
257256 return None
Original file line number Diff line number Diff line change 11pandas
22plotly
3+ anywidget
34htmltools
45git+https://github.com/posit-dev/py-shinywidgets.git#egg=shinywidgets
56
Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ def test_google_normalization():
206206 if sys .version_info < (3 , 9 ):
207207 return
208208
209- from google .generativeai import ( # pyright: ignore[reportMissingTypeStubs]
209+ from google .generativeai . generative_models import ( # pyright: ignore[reportMissingTypeStubs]
210210 GenerativeModel ,
211211 )
212212
@@ -382,7 +382,7 @@ def test_as_google_message():
382382 if sys .version_info < (3 , 9 ):
383383 return
384384
385- from google .generativeai import ( # pyright: ignore[reportMissingTypeStubs]
385+ from google .generativeai . generative_models import ( # pyright: ignore[reportMissingTypeStubs]
386386 GenerativeModel ,
387387 )
388388
@@ -403,7 +403,9 @@ def test_as_google_message():
403403
404404
405405def test_as_langchain_message ():
406- from langchain_core .language_models .base import LanguageModelInput
406+ from langchain_core .language_models .base import (
407+ LanguageModelInput ,
408+ )
407409 from langchain_core .language_models .base import (
408410 Sequence as LangchainSequence , # pyright: ignore[reportPrivateImportUsage]
409411 )
You can’t perform that action at this time.
0 commit comments