Skip to content

Commit 656cffa

Browse files
authored
Merge pull request #110 from xylar/fix_importlib_resources
Fix importlib.resources constraints
2 parents 476b148 + 0497cca commit 656cffa

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mache/machine_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from lxml import etree
88

9-
if TYPE_CHECKING or sys.version_info > (3, 8, 0):
9+
if TYPE_CHECKING or sys.version_info >= (3, 9, 0):
1010
from importlib import resources as importlib_resources
1111
else:
1212
# python <= 3.8

mache/spack/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from jinja2 import Template
77

8-
if TYPE_CHECKING or sys.version_info > (3, 8, 0):
8+
if TYPE_CHECKING or sys.version_info >= (3, 9, 0):
99
from importlib import resources as importlib_resources
1010
else:
1111
# python <= 3.8

0 commit comments

Comments
 (0)