Skip to content

Commit 02ad17d

Browse files
authored
ci: Bump vl-convert-python to 1.7.0 (#3633)
1 parent 11078c2 commit 02ad17d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Source = "https://github.com/vega/altair"
5656
[project.optional-dependencies]
5757
all = [
5858
"vega_datasets>=0.9.0",
59-
"vl-convert-python>=1.6.0",
59+
"vl-convert-python>=1.7.0",
6060
"pandas>=0.25.3",
6161
"numpy",
6262
"pyarrow>=11",
@@ -431,7 +431,6 @@ module = [
431431
"vega_datasets.*",
432432
"pyarrow.*",
433433
"yaml.*",
434-
"vl_convert.*",
435434
"pandas.lib.*",
436435
"geopandas.*",
437436
"nbformat.*",

tools/generate_schema_wrapper.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545

4646
if TYPE_CHECKING:
4747
from tools.schemapi.codegen import ArgInfo, AttrGetter
48+
from vl_convert import VegaThemes
4849

4950
SCHEMA_VERSION: Final = "v5.20.1"
5051

@@ -482,8 +483,8 @@ def download_schemafile(
482483

483484

484485
def _vega_lite_props_only(
485-
themes: dict[str, dict[str, Any]], props: SchemaProperties, /
486-
) -> Iterator[tuple[str, dict[str, Any]]]:
486+
themes: dict[VegaThemes, dict[str, Any]], props: SchemaProperties, /
487+
) -> Iterator[tuple[VegaThemes, dict[str, Any]]]:
487488
"""Removes properties that are allowed in `Vega` but not `Vega-Lite` from theme definitions."""
488489
keep = props.keys()
489490
for name, theme_spec in themes.items():

0 commit comments

Comments
 (0)