From f85fd0d6043f04f996a01f527072be440f244eb7 Mon Sep 17 00:00:00 2001 From: Stefan Binder Date: Sat, 18 May 2024 09:25:41 +0200 Subject: [PATCH] ci: remove again geopandas pin and disable flaky test --- pyproject.toml | 2 +- tests/examples_arguments_syntax/__init__.py | 10 ++++++++-- tests/examples_methods_syntax/__init__.py | 10 ++++++++-- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fdc9704f8..057ee6c98 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -76,7 +76,7 @@ dev = [ "pandas-stubs", "types-jsonschema", "types-setuptools", - "geopandas<=0.14.3", + "geopandas", ] doc = [ "sphinx", diff --git a/tests/examples_arguments_syntax/__init__.py b/tests/examples_arguments_syntax/__init__.py index 3a7f2d486..e2fc59905 100644 --- a/tests/examples_arguments_syntax/__init__.py +++ b/tests/examples_arguments_syntax/__init__.py @@ -18,10 +18,16 @@ def iter_examples_arguments_syntax(): examples_arguments_syntax_dir = os.path.abspath(os.path.dirname(__file__)) for filename in os.listdir(examples_arguments_syntax_dir): name, ext = os.path.splitext(filename) - if name.startswith("_") or ext != ".py": + if ( + name.startswith("_") + or ext != ".py" + # Temporarily skip this test until https://github.com/vega/altair/issues/3418 + # is fixed + or name == "interval_selection_map_quakes" + ): continue yield { "name": name, "filename": os.path.join(examples_arguments_syntax_dir, filename), - "use_svg": name in SVG_EXAMPLES + "use_svg": name in SVG_EXAMPLES, } diff --git a/tests/examples_methods_syntax/__init__.py b/tests/examples_methods_syntax/__init__.py index 1ab784763..4c3774559 100644 --- a/tests/examples_methods_syntax/__init__.py +++ b/tests/examples_methods_syntax/__init__.py @@ -16,10 +16,16 @@ def iter_examples_methods_syntax(): examples_methods_syntax_dir = os.path.abspath(os.path.dirname(__file__)) for filename in os.listdir(examples_methods_syntax_dir): name, ext = os.path.splitext(filename) - if name.startswith("_") or ext != ".py": + if ( + name.startswith("_") + or ext != ".py" + # Temporarily skip this test until https://github.com/vega/altair/issues/3418 + # is fixed + or name == "interval_selection_map_quakes" + ): continue yield { "name": name, "filename": os.path.join(examples_methods_syntax_dir, filename), - "use_svg": name in SVG_EXAMPLES + "use_svg": name in SVG_EXAMPLES, }