openedx / public-engineering

General public issue repository for the Open edX engineering community
3 stars 2 forks source link

Move on from deprecated pkg_resources api #273

Open farhan opened 1 month ago

farhan commented 1 month ago

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:

Acceptance Criteria:

### Tasks
- [x] xblock https://github.com/openedx/XBlock/issues/676
- [x] feedback-xblock https://github.com/openedx/FeedbackXBlock/pull/58
- [x] xblock-sdk - From code
- [ ] acid-block https://github.com/openedx/acid-block/issues/179
- [x] DoneXBlock https://github.com/openedx/DoneXBlock/issues/251
- [ ] TinCanPython https://github.com/openedx/TinCanPython/issues/27
- [ ] edx-platform https://github.com/openedx/edx-platform/issues/35374
- [ ] repo-tools https://github.com/openedx/repo-tools/issues/555
- [ ] edx-ora2 https://github.com/openedx/edx-ora2/issues/2225
- [ ] edx-cookiecutters https://github.com/openedx/edx-cookiecutters/issues/481
- [ ] crowdsourcehinter https://github.com/openedx/crowdsourcehinter/issues/174
- [ ] code-annotations https://github.com/openedx/code-annotations/issues/114
- [ ] xblock-image-explorer https://github.com/openedx/xblock-image-explorer/issues/150
- [ ] xblock-skill-tagging https://github.com/openedx/xblock-skill-tagging/issues/41
- [x] xblock-sdk https://github.com/openedx/xblock-sdk/issues/396
- [ ] RecommenderXBlock https://github.com/openedx/RecommenderXBlock/issues/96
- [ ] AudioXBlock https://github.com/openedx/AudioXBlock/issues/161
- [ ] staff_graded-xblock https://github.com/openedx/staff_graded-xblock/issues/263
- [x] xblock-in-video-quiz https://github.com/openedx/xblock-in-video-quiz/issues/208
- [ ] openedx-tutor-plugins https://github.com/openedx/openedx-tutor-plugins/issues/26
- [ ] platform-plugin-aspects https://github.com/openedx/platform-plugin-aspects/issues/81
- [ ] tutor-contrib-coursegraph https://github.com/openedx/tutor-contrib-coursegraph/issues/42
- [ ] ConceptXBlock https://github.com/openedx/ConceptXBlock/issues/159
- [ ] xblock-sql-grader https://github.com/openedx/xblock-sql-grader/issues/176
- [ ] schoolyourself-xblock https://github.com/openedx/schoolyourself-xblock/issues/133
- [ ] xblock-free-text-response https://github.com/openedx/xblock-free-text-response/issues/187
- [ ] xblock-qualtrics-survey https://github.com/openedx/xblock-qualtrics-survey/issues/160
- [ ] xblock-image-modal https://github.com/openedx/xblock-image-modal/issues/188
- [ ] xblock-submit-and-compare https://github.com/openedx/xblock-submit-and-compare/issues/183
github-actions[bot] commented 1 month ago

Thank you for your report! @openedx/axim-oncall will triage within a business day. Simple requests usually take 2-3 business days to resolve; more complex requests could take longer.

arbrandes commented 1 month ago

It doesn't look like this is supposed to be an on-call ticket. Did it end up as one on purpose?

sarina commented 1 month ago

@farhan these tickets should not be created in the Axim Engineering repo, as this repo is for on-call tickets only. Can you please find a more appropriate repo (such as a repo closer to the code)?

farhan commented 1 month ago

@sarina Thanks for flagging it, after discussion with Feanil it's in public-engineering now