File tree Expand file tree Collapse file tree 4 files changed +9
-6
lines changed
tests/test_core/test_figure_widget_backend Expand file tree Collapse file tree 4 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ commands:
2525 curl -LsSf https://astral.sh/uv/install.sh | sh
2626 uv venv
2727 source .venv/bin/activate
28+ uv lock --check
2829 uv sync --extra dev_core
2930 - run :
3031 name : List installed packages and python version
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ dependencies = [
4242express = [" numpy" ]
4343kaleido = [" kaleido==1.0.0rc15" ]
4444dev_core = [
45- " anywidget" ,
4645 " pytest" ,
4746 " requests" ,
4847 # pin precise version of ruff to prevent accidental reformatting in case its defaults are updated
@@ -56,6 +55,7 @@ dev_build = [
5655dev_optional = [
5756 " plotly[dev_build]" ,
5857 " plotly[kaleido]" ,
58+ " anywidget" ,
5959 " colorcet" ,
6060 # fiona>1.9.6 is not compatible with geopandas<1; geopandas>=1 is not compatible with python 3.8
6161 " fiona<=1.9.6;python_version<='3.8'" ,
@@ -101,6 +101,7 @@ plotly = [
101101 " package_data/*" ,
102102 " package_data/templates/*" ,
103103 " package_data/datasets/*" ,
104+ " validators/_validators.json"
104105]
105106
106107[tool .jupyter-packaging .builder ]
Original file line number Diff line number Diff line change 1+ # ruff: noqa: F401 F403 F405
2+
13import pytest
24
35# Use wildcard import to make sure FigureWidget is always included
4- from plotly .graph_objects import FigureWidget
6+ from plotly .graph_objects import *
7+ from plotly .missing_anywidget import FigureWidget as FigureWidgetMissingAnywidget
58
69try :
7- from plotly . missing_anywidget import FigureWidget as FigureWidgetMissingAnywidget
10+ import anywidget as _anywidget
811
912 missing_anywidget = False
1013except Exception :
You can’t perform that action at this time.
0 commit comments