Skip to content

Commit

Permalink
use backport package importlib-resources
Browse files Browse the repository at this point in the history
  • Loading branch information
empiriker committed Sep 16, 2023
1 parent 83cd656 commit dea4648
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ dependencies = [
"lxml",
"psutil",
"requests",
"importlib_resources"
]

[project.optional-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion wikitextprocessor/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from collections.abc import Sequence
from dataclasses import dataclass
from functools import lru_cache
from importlib.resources import files
from importlib_resources import files
from pathlib import Path
from types import TracebackType
from typing import (
Expand Down
2 changes: 1 addition & 1 deletion wikitextprocessor/luaexec.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re
import traceback
import unicodedata
from importlib.resources import files
from importlib_resources import files
from typing import (
TYPE_CHECKING,
Any,
Expand Down

0 comments on commit dea4648

Please sign in to comment.