openedx / public-engineering

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

Move on from deprecated pkg_resources api #273

Open farhan opened 4 months ago

farhan commented 4 months 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
- [x] 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
- [x] repo-tools https://github.com/openedx/repo-tools/issues/555
- [x] edx-ora2 https://github.com/openedx/edx-ora2/issues/2225
- [x] edx-cookiecutters https://github.com/openedx/edx-cookiecutters/issues/481
- [x] crowdsourcehinter https://github.com/openedx/crowdsourcehinter/issues/174
- [ ] code-annotations https://github.com/openedx/code-annotations/issues/114
- [x] 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
- [x] RecommenderXBlock https://github.com/openedx/RecommenderXBlock/issues/96
- [x] 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
- [x] 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
- [x] ConceptXBlock https://github.com/openedx/ConceptXBlock/issues/159
- [x] xblock-sql-grader https://github.com/openedx/xblock-sql-grader/issues/176
- [x] schoolyourself-xblock https://github.com/openedx/schoolyourself-xblock/issues/133
- [ ] xblock-free-text-response https://github.com/openedx/xblock-free-text-response/issues/187
- [x] xblock-qualtrics-survey https://github.com/openedx/xblock-qualtrics-survey/issues/160
- [x] xblock-image-modal https://github.com/openedx/xblock-image-modal/issues/188
- [x] xblock-submit-and-compare https://github.com/openedx/xblock-submit-and-compare/issues/183
github-actions[bot] commented 4 months 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 4 months 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 3 months 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 3 months ago

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