From c2a0dd38a1d72e878eacf91ede88ae1e6cb623be Mon Sep 17 00:00:00 2001 From: Lindsey Gray Date: Thu, 19 Dec 2024 10:07:17 -0600 Subject: [PATCH 1/3] chore: completely drop py3.8 --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 7e448028c..a4610360c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "coffea" description = "Basic tools and wrappers for enabling not-too-alien syntax when running columnar Collider HEP analysis." readme = "README.rst" license = {text = "BSD-3-Clause"} -requires-python = ">=3.8" +requires-python = ">=3.9" authors = [ { name = "Lindsey Gray", email = "lagray@fnal.gov" }, { name = "Nick Smith", email = "ncsmith@fnal.gov" }, From d8282f03d773337bd47174d87c6da0b9f683a814 Mon Sep 17 00:00:00 2001 From: Lindsey Gray Date: Thu, 19 Dec 2024 16:41:22 -0600 Subject: [PATCH 2/3] lint --- tests/test_jetmet_tools.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_jetmet_tools.py b/tests/test_jetmet_tools.py index 3443f4837..8af8ce596 100644 --- a/tests/test_jetmet_tools.py +++ b/tests/test_jetmet_tools.py @@ -722,8 +722,9 @@ def test_corrected_jets_factory(optimization_enabled): events = None from coffea.nanoevents import NanoEventsFactory - with Client(), dask.config.set( - {"awkward.optimization.enabled": optimization_enabled} + with ( + Client(), + dask.config.set({"awkward.optimization.enabled": optimization_enabled}), ): events = NanoEventsFactory.from_root( {os.path.abspath("tests/samples/nano_dy.root"): "Events"}, From 713ad9b450162a906c09048198c8f100397e4f0f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 21 Dec 2024 10:20:51 +0000 Subject: [PATCH 3/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_jetmet_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_jetmet_tools.py b/tests/test_jetmet_tools.py index 8af8ce596..9ba7af610 100644 --- a/tests/test_jetmet_tools.py +++ b/tests/test_jetmet_tools.py @@ -723,7 +723,7 @@ def test_corrected_jets_factory(optimization_enabled): from coffea.nanoevents import NanoEventsFactory with ( - Client(), + Client(), dask.config.set({"awkward.optimization.enabled": optimization_enabled}), ): events = NanoEventsFactory.from_root(