Closed
Description
Background
The pkg_resources
library, used by XBlock to load static assets, is deprecated. The removal timeline is unknown.
xblock-utils uses pkg_resources
in a couple places.
To do
First, choose a new resource loading interface. Options:
- Use
importlib.resources
. Unfortunately, this will become deprecated in Python 3.11 and replaced with a yet-to-be-determined interface. - Wait until Python 3.11, and then switch to the 3.11 replacement.
Then:
- Update the code in xblock-utils.
Related
Metadata
Metadata
Assignees
Type
Projects
Status
Done
Status
✅ Done