Shift the code from `pkg_resources` to `importlib.resources` api Migration guide: https://importlib-resources.readthedocs.io/en/latest/migration.html Decision making story: https://github.com/openedx/XBlock/issues/676 Reference PR to take learning from: https://github.com/openedx/xblock-sdk/pull/350/files **Prerequisites:** - Support of python 3.8 should be dropped. [Relevant epic](https://github.com/openedx/public-engineering/issues/274) **Acceptance Criteria:** - Make sure the repository is using xblock version 5.0.0 or above. Upgrade the version if required, preferably via the make upgrade command. - There should be no usage of `pkg_resources` in the repository - Test cases should be passed - XBlock should perform all of its functionality related to change (loading resources)
Activity
beingfaisal commentedon Sep 20, 2024
@farhan please assign this to me