From f03b3b60ad581157d7e5babaf672fb99470efa71 Mon Sep 17 00:00:00 2001 From: Chris Barker Date: Thu, 11 Apr 2024 18:50:24 -0700 Subject: [PATCH] using importlib_metadata for 3.10_ only --- compliance_checker/suite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compliance_checker/suite.py b/compliance_checker/suite.py index fd29af1b..ec3631d0 100644 --- a/compliance_checker/suite.py +++ b/compliance_checker/suite.py @@ -23,7 +23,7 @@ from netCDF4 import Dataset from owslib.sos import SensorObservationService from owslib.swe.sensor.sml import SensorML -if sys.version_info >= (3, 9): +if sys.version_info >= (3, 10): import importlib.metadata as impmd else: import importlib_metadata as impmd