-
Notifications
You must be signed in to change notification settings - Fork 101
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
Drop py3.8 support | Replace pkg_resources lib with importlib.resources #350
Conversation
161b260
to
745e14c
Compare
@farhan I think as a part of this PR, we should remove testing for Python 3.8 right? since that will fail to have the importlib module that you're using? As a part of that we should also update the classifiers and do a major version bump. |
0dd0900
to
061ffc3
Compare
061ffc3
to
2bc4b42
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I'm glad to hear that the xblock-sdk is still useful for testing.
Just one change request, looks good otherwise. I have not manually tested but I trust that you have.
cdd51da
to
bbbffde
Compare
bbbffde
to
39ff513
Compare
@farhan can you update the commit messages and squash anything that needs to be squashed and then I think we could land this. |
…resources * chore: transitioned from pkg_resources api to importlib-resources api * feat!: drop support for python 3.8
0fc1e44
to
805ea25
Compare
@feanil merged. |
@@ -4,6 +4,11 @@ Change history for XBlock SDK | |||
|
|||
These are notable changes in XBlock. | |||
|
|||
1.0.0 - 2024-05-30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@farhan The version in workbench/__init__.py
is 0.12.0, and that is what matters to PyPI, so everything else should match that. Please fix the changelog to say 0.12.0, and then publish a 0.12.0 release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kdmccormick I have created the PR
My point was we had dropped support of Python 3.8 now which means we should upgrade the major version.
So should we update version to 1.0.0
now or should keep it below 1 yet?
Ticket: openedx/XBlock#676
PR is expected to merge after Open edX redwood release
Followed migration guide: https://importlib-resources.readthedocs.io/en/latest/migration.html
Testing:
I have tested the changes with following steps:
xblock-sdk
xblock
intoxblock-sdk
feedback-xblock
from PR intoxblock-sdk