diff --git a/pyproject.toml b/pyproject.toml index 689e03ff0..a64aff860 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -38,7 +38,7 @@ classifiers = [ ] dependencies = [ "awkward>=2.4.6", - "uproot>=5.1.1", + "uproot>=5.1.2", "dask[array]>=2023.4.0", "dask-awkward>=2023.10.0", "dask-histogram>=2023.10.0", diff --git a/tests/test_nanoevents.py b/tests/test_nanoevents.py index ba62178ce..9bfcdd6b9 100644 --- a/tests/test_nanoevents.py +++ b/tests/test_nanoevents.py @@ -170,3 +170,12 @@ def test_missing_eventIds_warning(): NanoAODSchema.error_missing_event_ids = False factory = NanoEventsFactory.from_root(path, schemaclass=NanoAODSchema) factory.events() + + +def test_missing_eventIds_warning_dask(): + path = os.path.abspath("tests/samples/missing_luminosityBlock.root") + ":Events" + NanoAODSchema.error_missing_event_ids = False + events = NanoEventsFactory.from_root( + path, schemaclass=NanoAODSchema, permit_dask=True + ).events() + events.Muon.pt.compute(scheduler="processes")