Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move on from deprecated pkg_resources api #273

Open
23 of 29 tasks
farhan opened this issue Jul 25, 2024 · 4 comments
Open
23 of 29 tasks

Move on from deprecated pkg_resources api #273

farhan opened this issue Jul 25, 2024 · 4 comments
Labels
epic Large unit of work, consisting of multiple tasks maintenance Routine upkeep necessary for the health of the platform

Comments

@farhan
Copy link

farhan commented Jul 25, 2024

Shift the code from pkg_resources to importlib.resources api

Migration guide: https://importlib-resources.readthedocs.io/en/latest/migration.html
Decision making story: openedx/XBlock#676
Reference PR to take learning from: https://github.com/openedx/xblock-sdk/pull/350/files

Prerequisites:

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)

Tasks

Preview Give feedback
@farhan farhan added epic Large unit of work, consisting of multiple tasks maintenance Routine upkeep necessary for the health of the platform labels Jul 25, 2024
@farhan farhan transferred this issue from openedx/xblock-sdk Jul 25, 2024
Copy link

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
Copy link

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

@sarina
Copy link
Contributor

sarina commented Jul 31, 2024

@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 farhan transferred this issue from openedx/axim-engineering Aug 8, 2024
@farhan
Copy link
Author

farhan commented Aug 8, 2024

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

@farhan farhan changed the title Moved on from deprecated pkg_resources api Move on from deprecated pkg_resources api Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic Large unit of work, consisting of multiple tasks maintenance Routine upkeep necessary for the health of the platform
Projects
Status: 🏗 In progress
Development

No branches or pull requests

3 participants