Skip to content

Commit 09e1114

Browse files
committed
Fix importlib_resources backport support
1 parent 31d8c9c commit 09e1114

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

checkdmarc/bimi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
from importlib.resources import files
1818
except ImportError:
1919
# Try backported to PY<3 `importlib_resources`
20-
from importlib.resources import files
20+
from importlib_resources import files
2121

2222

2323
import dns

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ dependencies = [
4040
"requests>=2.25.0",
4141
"timeout-decorator>=0.4.1",
4242
"xmltodict>=0.14.2",
43+
"importlib-resources>=6.5.2",
4344
]
4445

4546
[project.optional-dependencies]

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ pyleri>=1.3.2
77
publicsuffixlist>=0.10.0
88
requests>=2.25.0
99
xmltodict>=0.14.2
10+
importlib-resources>=6.5.2
1011
timeout-decorator>=0.5.0
1112
flake8>=3.8.4
1213
sphinx>=3.3.1

0 commit comments

Comments
 (0)