From ee03870477ed05c6fbd45436677cd0003a064b23 Mon Sep 17 00:00:00 2001 From: Alexandre Muller Date: Tue, 27 Feb 2024 11:42:39 +0100 Subject: [PATCH] helpers: remove imporlib_resources import Should have been part of commit 10d4c6d --- src/grocker/helpers.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/grocker/helpers.py b/src/grocker/helpers.py index 45c42df..ff479bf 100644 --- a/src/grocker/helpers.py +++ b/src/grocker/helpers.py @@ -10,16 +10,11 @@ import subprocess # noqa: S404 import tempfile import time +from importlib import resources import jinja2 import yaml -try: - from importlib import resources -except ImportError: - # Python<3.9: use importlib-resources package - import importlib_resources as resources # type: ignore - def deep_update(initial_mapping, updating_mapping): updated_mapping = initial_mapping.copy()