|
77 | 77 | ] |
78 | 78 | UNIT_TEST_LOCAL_DEPENDENCIES: List[str] = [] |
79 | 79 | UNIT_TEST_DEPENDENCIES: List[str] = [] |
80 | | -UNIT_TEST_EXTRAS: List[str] = ["tests"] |
| 80 | +UNIT_TEST_EXTRAS: List[str] = ["tests", "anywidget"] |
81 | 81 | UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { |
82 | | - "3.12": ["tests", "polars", "scikit-learn"], |
| 82 | + "3.12": ["tests", "polars", "scikit-learn", "anywidget"], |
83 | 83 | } |
84 | 84 |
|
85 | 85 | # 3.10 is needed for Windows tests as it is the only version installed in the |
|
106 | 106 | SYSTEM_TEST_DEPENDENCIES: List[str] = [] |
107 | 107 | SYSTEM_TEST_EXTRAS: List[str] = [] |
108 | 108 | SYSTEM_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = { |
109 | | - "3.9": ["tests"], |
| 109 | + "3.9": ["tests", "anywidget"], |
110 | 110 | "3.10": ["tests"], |
111 | | - "3.12": ["tests", "scikit-learn", "polars"], |
| 111 | + "3.12": ["tests", "scikit-learn", "polars", "anywidget"], |
112 | 112 | "3.13": ["tests", "polars"], |
113 | 113 | } |
114 | 114 |
|
@@ -276,6 +276,7 @@ def mypy(session): |
276 | 276 | "types-setuptools", |
277 | 277 | "types-tabulate", |
278 | 278 | "polars", |
| 279 | + "anywidget", |
279 | 280 | ] |
280 | 281 | ) |
281 | 282 | | set(SYSTEM_TEST_STANDARD_DEPENDENCIES) |
@@ -518,6 +519,7 @@ def docs(session): |
518 | 519 | SPHINX_VERSION, |
519 | 520 | "alabaster", |
520 | 521 | "recommonmark", |
| 522 | + "anywidget", |
521 | 523 | ) |
522 | 524 |
|
523 | 525 | shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) |
@@ -560,6 +562,7 @@ def docfx(session): |
560 | 562 | "alabaster", |
561 | 563 | "recommonmark", |
562 | 564 | "gcp-sphinx-docfx-yaml==3.0.1", |
| 565 | + "anywidget", |
563 | 566 | ) |
564 | 567 |
|
565 | 568 | shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) |
@@ -763,6 +766,7 @@ def notebook(session: nox.Session): |
763 | 766 | "google-cloud-aiplatform", |
764 | 767 | "matplotlib", |
765 | 768 | "seaborn", |
| 769 | + "anywidget", |
766 | 770 | ) |
767 | 771 |
|
768 | 772 | notebooks_list = list(pathlib.Path("notebooks/").glob("*/*.ipynb")) |
@@ -805,6 +809,9 @@ def notebook(session: nox.Session): |
805 | 809 | # continuously tested. |
806 | 810 | "notebooks/apps/synthetic_data_generation.ipynb", |
807 | 811 | "notebooks/multimodal/multimodal_dataframe.ipynb", # too slow |
| 812 | + # This anywidget notebook uses deferred execution, so it won't |
| 813 | + # produce metrics for the performance benchmark script. |
| 814 | + "notebooks/dataframes/anywidget_mode.ipynb", |
808 | 815 | ] |
809 | 816 |
|
810 | 817 | # TODO: remove exception for Python 3.13 cloud run adds a runtime for it (internal issue 333742751) |
|
0 commit comments