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
kdmccormick
left a comment
There was a problem hiding this comment.
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. |
|
|
||
| These are notable changes in XBlock. | ||
|
|
||
| 1.0.0 - 2024-05-30 |
There was a problem hiding this comment.
@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.
@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-sdkxblockintoxblock-sdkfeedback-xblockfrom PR intoxblock-sdk