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

acid-block | Replace pkg_resources to importlib_resources | Drop support for python 3.8 #187

Merged
merged 4 commits into from
Oct 1, 2024

Conversation

ttqureshi
Copy link
Contributor

@ttqureshi ttqureshi commented Sep 25, 2024

Overview

This PR:

  • replaces pkg_resources api from importlib_resources api
  • drops support for python 3.8 and add support for python 3.11

Tickets:

Followed this migration guide.

Testing

I have tested the changes against the following steps:

  • Install the acid-block to xblock-sdk.
  • Functional testing

Screenshots

XBlock Acid single block test

image

XBlock Acid Parent test

image

- transitioned from pkg_resources api to importlib-resources api
- Drop support for python 3.8 and add support for python 3.11 and 3.12
Copy link

@farhan farhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 change

acid/acid.py Outdated Show resolved Hide resolved
@ttqureshi ttqureshi force-pushed the ttqureshi/depr_pkg_resources branch from e2c2d54 to 5b98078 Compare September 27, 2024 12:39
Copy link
Contributor

@feanil feanil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please bump the version so we can also do a new release.

@ttqureshi
Copy link
Contributor Author

Please bump the version so we can also do a new release.

ok 👍

@feanil feanil merged commit ad2eb13 into openedx:master Oct 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop Python 3.8 & Add Support for Python 3.12 Move on from deprecated pkg_resources api
3 participants