Skip to content

Commit 3c5fd13

Browse files
committed
temporary update while we rewrite CONTRIBUTING.md
1 parent 1cca320 commit 3c5fd13

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ dependencies = [
4242
express = ["numpy"]
4343
kaleido = ["kaleido==1.0.0rc15"]
4444
dev_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 = [
5655
dev_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]

tests/test_core/test_figure_widget_backend/test_missing_anywidget.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
1+
# ruff: noqa: F401 F403 F405
2+
13
import 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

69
try:
7-
from plotly.missing_anywidget import FigureWidget as FigureWidgetMissingAnywidget
10+
import anywidget as _anywidget
811

912
missing_anywidget = False
1013
except Exception:

uv.lock

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)