From 56098c5e6662c855aa2227030ff41115c724edf9 Mon Sep 17 00:00:00 2001 From: Andres Rios Tascon Date: Wed, 13 Nov 2024 14:14:25 -0500 Subject: [PATCH] chore(ci): Disable RNTuple tests for now and unpin selenium version (#1334) * Skip RNTuple tests * Unpin selenium version --- pyproject.toml | 1 - tests-wasm/test_1272_basic_functionality.py | 3 +++ tests/test_0013_rntuple_anchor.py | 4 ++++ tests/test_0630_rntuple_basics.py | 4 ++++ tests/test_0662_rntuple_stl_containers.py | 4 ++++ tests/test_0705_rntuple_writing_metadata.py | 4 ++++ tests/test_0962_RNTuple_update.py | 4 ++++ tests/test_1191_rntuple_fixes.py | 4 ++++ tests/test_1223_more_rntuple_types.py | 4 ++++ tests/test_1250_rntuple_improvements.py | 4 ++++ tests/test_1285_rntuple_multicluster_concatenation.py | 6 ++++++ 11 files changed, 41 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 87b25f8fc..1c603a772 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,6 @@ test = [ ] test-pyodide = [ "pytest>=6", - "selenium<=4.25.0", # unpin once >4.26.0 is available "pytest-pyodide", "pytest-timeout", "scikit-hep-testdata" diff --git a/tests-wasm/test_1272_basic_functionality.py b/tests-wasm/test_1272_basic_functionality.py index 1cdc5163e..7d07e7722 100644 --- a/tests-wasm/test_1272_basic_functionality.py +++ b/tests-wasm/test_1272_basic_functionality.py @@ -70,6 +70,7 @@ def test_write_ttree(selenium): # Taken from test_1191_rntuple_fixes.py +@pytest.mark.skip(reason="Skipping until test files are available with RNTuple v1.0") @run_test_in_pyodide(test_file="test_ntuple_extension_columns.root") def test_read_rntuple(selenium): import uproot @@ -95,6 +96,7 @@ def test_read_rntuple(selenium): # Taken from test_0034_generic_objects_in_ttrees.py +@pytest.mark.skip(reason="Skipping until test files are available with RNTuple v1.0") @pytest.mark.network @run_test_in_pyodide(packages=["requests"]) def test_read_ttree_http(selenium): @@ -116,6 +118,7 @@ def test_read_ttree_http(selenium): # Taken from test_1191_rntuple_fixes.py +@pytest.mark.skip(reason="Skipping until test files are available with RNTuple v1.0") @pytest.mark.network @run_test_in_pyodide(packages=["requests"]) def test_read_rntuple_http(selenium): diff --git a/tests/test_0013_rntuple_anchor.py b/tests/test_0013_rntuple_anchor.py index 14133b93b..3931b5b28 100644 --- a/tests/test_0013_rntuple_anchor.py +++ b/tests/test_0013_rntuple_anchor.py @@ -10,6 +10,10 @@ import uproot +pytest.skip( + "Skipping until test files are available with RNTuple v1.0", allow_module_level=True +) + def test(): filename = skhep_testdata.data_path("uproot-ntpl001_staff.root") diff --git a/tests/test_0630_rntuple_basics.py b/tests/test_0630_rntuple_basics.py index 25cbd0283..74391022c 100644 --- a/tests/test_0630_rntuple_basics.py +++ b/tests/test_0630_rntuple_basics.py @@ -12,6 +12,10 @@ pytest.importorskip("awkward") +pytest.skip( + "Skipping until test files are available with RNTuple v1.0", allow_module_level=True +) + def test_flat(): filename = skhep_testdata.data_path("test_ntuple_int_float.root") diff --git a/tests/test_0662_rntuple_stl_containers.py b/tests/test_0662_rntuple_stl_containers.py index 557338171..6aa8130c2 100644 --- a/tests/test_0662_rntuple_stl_containers.py +++ b/tests/test_0662_rntuple_stl_containers.py @@ -12,6 +12,10 @@ ak = pytest.importorskip("awkward") +pytest.skip( + "Skipping until test files are available with RNTuple v1.0", allow_module_level=True +) + def test_rntuple_stl_containers(): filename = skhep_testdata.data_path("test_ntuple_stl_containers.root") diff --git a/tests/test_0705_rntuple_writing_metadata.py b/tests/test_0705_rntuple_writing_metadata.py index 5c652f281..609181cfe 100644 --- a/tests/test_0705_rntuple_writing_metadata.py +++ b/tests/test_0705_rntuple_writing_metadata.py @@ -13,6 +13,10 @@ ak = pytest.importorskip("awkward") +pytest.skip( + "Skipping until test files are available with RNTuple v1.0", allow_module_level=True +) + @pytest.mark.skip( reason="RNTuple writing is pending until specification 1.0.0 is released." diff --git a/tests/test_0962_RNTuple_update.py b/tests/test_0962_RNTuple_update.py index 7b73e5730..7dbdb53a4 100644 --- a/tests/test_0962_RNTuple_update.py +++ b/tests/test_0962_RNTuple_update.py @@ -6,6 +6,10 @@ import skhep_testdata import numpy as np +pytest.skip( + "Skipping until test files are available with RNTuple v1.0", allow_module_level=True +) + def test_new_support_RNTuple_split_int32_reading(): with uproot.open(skhep_testdata.data_path("test_ntuple_int_5e4.root")) as f: diff --git a/tests/test_1191_rntuple_fixes.py b/tests/test_1191_rntuple_fixes.py index 1aedf4093..4be336943 100644 --- a/tests/test_1191_rntuple_fixes.py +++ b/tests/test_1191_rntuple_fixes.py @@ -5,6 +5,10 @@ import uproot +pytest.skip( + "Skipping until test files are available with RNTuple v1.0", allow_module_level=True +) + def test_schema_extension(): filename = skhep_testdata.data_path("test_ntuple_extension_columns.root") diff --git a/tests/test_1223_more_rntuple_types.py b/tests/test_1223_more_rntuple_types.py index 686d82afb..54b269457 100644 --- a/tests/test_1223_more_rntuple_types.py +++ b/tests/test_1223_more_rntuple_types.py @@ -5,6 +5,10 @@ import uproot +pytest.skip( + "Skipping until test files are available with RNTuple v1.0", allow_module_level=True +) + def test_atomic(): filename = skhep_testdata.data_path("test_ntuple_atomic_bitset.root") diff --git a/tests/test_1250_rntuple_improvements.py b/tests/test_1250_rntuple_improvements.py index 8a169ab86..54c2c1dc1 100644 --- a/tests/test_1250_rntuple_improvements.py +++ b/tests/test_1250_rntuple_improvements.py @@ -5,6 +5,10 @@ import uproot +pytest.skip( + "Skipping until test files are available with RNTuple v1.0", allow_module_level=True +) + def test_field_class(): filename = skhep_testdata.data_path("DAOD_TRUTH3_RC2.root") diff --git a/tests/test_1285_rntuple_multicluster_concatenation.py b/tests/test_1285_rntuple_multicluster_concatenation.py index 392d33f6e..c6335f079 100644 --- a/tests/test_1285_rntuple_multicluster_concatenation.py +++ b/tests/test_1285_rntuple_multicluster_concatenation.py @@ -5,6 +5,12 @@ import uproot +import pytest + +pytest.skip( + "Skipping until test files are available with RNTuple v1.0", allow_module_level=True +) + def test_schema_extension(): filename = skhep_testdata.data_path("test_ntuple_index_multicluster.root")