-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use importlib-resources over deprecated pkg_resources (#51)
* Add importlib-resources as an install dependency for Python 3.8 as Python 3.12 deprecates and removes pkg_resources. * Replace use of pkg_resources.resource_filename with importlib.resources.files for Python 3.9+ and importlib_resources.files for Python 3.8. * Apply isort. * Note import order issue to be fixed.
- Loading branch information
1 parent
c1d4502
commit 1739071
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters