Skip to content

Commit

Permalink
move to importlib_resources for 3.9 support
Browse files Browse the repository at this point in the history
  • Loading branch information
mnot committed Sep 15, 2023
1 parent 0d09008 commit 7fa7b2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/daemon.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import cProfile
import faulthandler
from functools import partial
from importlib.resources import files as resource_files
from importlib_resources import files as resource_files
import io
import locale
import os
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Markdown==3.3.7
netaddr==0.8.0
thor==0.9.6
typing-extensions==4.3.0
importlib_resources
pylint
mypy
types-Markdown
Expand Down
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ install_requires =
Jinja2 >= 2.11.1
typing-extensions >= 4.3.0
MarkupSafe
importlib_resources

[options.extras_require]
systemd = cysystemd
Expand Down

0 comments on commit 7fa7b2a

Please sign in to comment.