-
-
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.
managers, meta: migrate off of
pkg_resources
to importlib_metadata
This fixes installing `sopel` (which depends on this package) from scratch on a new environment that does not ship with `pkg_resources` as part of the Python stdlib (py3.12+) and also omits `setuptools` (some distros, fresh venvs, probably others). Includes slight cleanup of comments, log messages, and imports, but I think not enough to be worth a separate commit or pull request.
- Loading branch information
Showing
3 changed files
with
18 additions
and
9 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
import urllib | ||
|
||
import requests | ||
|
||
from sopel.tools import get_logger | ||
|
||
from sopel_help import mixins | ||
|