Skip to content

Commit

Permalink
ci: Bump vl-convert-python to 1.7.0 (vega#3633)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangotbanned authored Oct 6, 2024
1 parent 11078c2 commit 02ad17d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Source = "https://github.com/vega/altair"
[project.optional-dependencies]
all = [
"vega_datasets>=0.9.0",
"vl-convert-python>=1.6.0",
"vl-convert-python>=1.7.0",
"pandas>=0.25.3",
"numpy",
"pyarrow>=11",
Expand Down Expand Up @@ -431,7 +431,6 @@ module = [
"vega_datasets.*",
"pyarrow.*",
"yaml.*",
"vl_convert.*",
"pandas.lib.*",
"geopandas.*",
"nbformat.*",
Expand Down
5 changes: 3 additions & 2 deletions tools/generate_schema_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@

if TYPE_CHECKING:
from tools.schemapi.codegen import ArgInfo, AttrGetter
from vl_convert import VegaThemes

SCHEMA_VERSION: Final = "v5.20.1"

Expand Down Expand Up @@ -482,8 +483,8 @@ def download_schemafile(


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

0 comments on commit 02ad17d

Please sign in to comment.