diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 1a02d31803d..1efb4c69c93 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -75,6 +75,7 @@ "ms-python.pylint", "ms-python.python", "ms-python.vscode-pylance", + "ms-python.debugpy", "ms-vsliveshare.vsliveshare", "njpwerner.autodocstring", "redhat.vscode-yaml", diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 615c1a7e4a4..22524245eef 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -19,6 +19,7 @@ "ms-python.pylint", "ms-python.python", "ms-python.vscode-pylance", + "ms-python.debugpy", "ms-vscode-remote.remote-containers", "ms-vsliveshare.vsliveshare", "njpwerner.autodocstring", diff --git a/.vscode/launch.json b/.vscode/launch.json index c735e9ba788..e89739623ef 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -5,9 +5,13 @@ "version": "0.2.0", "configurations": [ { - "name": "Debug Unit Test", - "type": "python", - "request": "test", + // See Also: https://code.visualstudio.com/docs/python/testing#_debug-tests + "name": "Python: Debug Tests", + "type": "debugpy", + "request": "launch", + "program": "${file}", + "purpose": ["debug-test"], + "console": "integratedTerminal", "justMyCode": false, "env": { // When debugging tests, only run a single pytest worker instance. diff --git a/conda-envs/mlos-windows.yml b/conda-envs/mlos-windows.yml index c104376183c..2f5269d4b4c 100644 --- a/conda-envs/mlos-windows.yml +++ b/conda-envs/mlos-windows.yml @@ -17,6 +17,7 @@ dependencies: - ipykernel - nb_conda_kernels - matplotlib-base<3.9 + - scikit-learn - seaborn - pandas - pyarrow diff --git a/mlos_viz/mlos_viz/base.py b/mlos_viz/mlos_viz/base.py index a6537e82658..33975ac7c95 100644 --- a/mlos_viz/mlos_viz/base.py +++ b/mlos_viz/mlos_viz/base.py @@ -46,6 +46,16 @@ def ignore_plotter_warnings() -> None: module="seaborn", # but actually comes from pandas message="is_categorical_dtype is deprecated and will be removed in a future version.", ) + # See Also: https://github.com/mwaskom/seaborn/issues/3804 + warnings.filterwarnings( + "ignore", + category=PendingDeprecationWarning, + module="seaborn", # but actually comes from matplotlib + message=( + "vert: bool will be deprecated in a future version. " + "Use orientation: {'vertical', 'horizontal'} instead." + ), + ) def _add_groupby_desc_column( diff --git a/mlos_viz/setup.py b/mlos_viz/setup.py index c1cf74cb28a..b98baacb59f 100644 --- a/mlos_viz/setup.py +++ b/mlos_viz/setup.py @@ -83,7 +83,7 @@ def _get_long_desc_from_readme(base_url: str) -> dict: version=VERSION, install_requires=[ "mlos-bench==" + VERSION, - "dabl>=0.3.1", + "dabl>=0.3.2", "matplotlib", "seaborn>=0.12.2", ],