-
Notifications
You must be signed in to change notification settings - Fork 218
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
Merge openedx/xblock-utils
library into openedx/XBlock
#675
Comments
@kdmccormick Thanks for bringing this up. I think it's an excellent idea to merge this into XBlock. I think I can answer some historical questions for you.
I believe
AFAIK XBlock was originally intended to be "portable" to other LMSs, but since it is python based, it can only really work with other python-based LMSs, and the only one that it ever actually worked with or was designed to work with was Google Course Builder via coursebuilder_xblock_module. Since Course Builder was not Django-based, XBlock had to be Django-free. However, that project didn't last very long and nobody has been using XBlocks in anything other than Open edX for many years at this point, to the best of my knowledge. So I don't see any reason to avoid assuming Django in XBlock code anymore. |
openedx/XBlock
?openedx/XBlock
openedx/XBlock
openedx/XBlock
@bradenmacdonald That's really helpful context, thanks! I'm convinced at this point that we should merge them; I've updated this ticket's AC capture that. |
Here is the |
Progress update:
Below 3 tasks are pending:
@feanil We can cover points 2 and 3 in separate stories. Should I create one for them? |
Above point 1 has been fixed by updating the setuptools |
@farhan I think it's fine to create separate stories for Points 2 and 3. For the documentation, you should move it to be a new sphinxs docs under |
PR for docs shifting: |
I am deprecating the xblock-utils repository within the scope of this ticket Here is the PR: openedx-unsupported/xblock-utils#231 |
openedx/XBlock
openedx/xblock-utils
library into openedx/XBlock
The xblock-utils repo has been archived and moved to the |
Context: openedx/XBlock#675 This fixes some edx-platform warnings: /openedx/venv/lib/python3.8/site-packages/poll/poll.py:40: DeprecatedPackageWarning: Please use import xblock.utils.publish_event instead of xblockutils.publish_event because the 'xblock-utils' package has been deprecated and migrated to within 'xblock' package. Bump from 1.13.0 to 1.13.1
Some follow-up: open-craft/xblock-poll#127 |
Context: openedx/XBlock#675 This fixes some edx-platform warnings: /openedx/venv/lib/python3.8/site-packages/poll/poll.py:40: DeprecatedPackageWarning: Please use import xblock.utils.publish_event instead of xblockutils.publish_event because the 'xblock-utils' package has been deprecated and migrated to within 'xblock' package. Uses a try-catch for backwards compatibility with pre-Quince versions of xblock and xblockutils. Bump from 1.13.0 to 1.13.1
Context: openedx/XBlock#675 This fixes some edx-platform warnings: /openedx/venv/lib/python3.8/site-packages/poll/poll.py:40: DeprecatedPackageWarning: Please use import xblock.utils.publish_event instead of xblockutils.publish_event because the 'xblock-utils' package has been deprecated and migrated to within 'xblock' package. Uses a try-catch for backwards compatibility with pre-Quince versions of xblock and xblockutils. Bump from 1.13.0 to 1.13.1
Context: openedx/XBlock#675 This fixes some edx-platform warnings: /openedx/venv/lib/python3.8/site-packages/poll/poll.py:40: DeprecatedPackageWarning: Please use import xblock.utils.publish_event instead of xblockutils.publish_event because the 'xblock-utils' package has been deprecated and migrated to within 'xblock' package. Uses a try-catch for backwards compatibility with pre-Quince versions of xblock and xblockutils. Bump from 1.13.0 to 1.13.1
The `xblock-utils` library has been deprecated as a separate package; the `utils` library has been moved into the `XBlock` and should now be imported from `xblock.utils` instead. (openedx/XBlock#675)
The `xblock-utils` library has been deprecated as a separate package; the `utils` library has been moved into the `XBlock` and should now be imported from `xblock.utils` instead. (openedx/XBlock#675) Fixes: citynetwork#38
The `xblock-utils` library has been deprecated as a separate package; the `utils` library has been moved into the `XBlock` and should now be imported from `xblock.utils` instead. (openedx/XBlock#675) Fixes: citynetwork#38
The `xblock-utils` library has been deprecated as a separate package; the `utils` library has been moved into the `XBlock` and should now be imported from `xblock.utils` instead. (openedx/XBlock#675) Fixes: citynetwork#38
The `xblock-utils` library has been deprecated as a separate package; the `utils` library has been moved into the `XBlock` and should now be imported from `xblock.utils` instead. (openedx/XBlock#675) Fixes: citynetwork#38
* Update the import statement for xblock-utils The `xblock-utils` library has been deprecated as a separate package; the `utils` library has been moved into the `XBlock` and should now be imported from `xblock.utils` instead. (openedx/XBlock#675) * Upgrade to XBlock 2 Remove the use of deprecated `xblock.fragment` and direct id_generator parameters. 9openedx/XBlock#680) * Add Python 3.11 to test matrix Fixes: citynetwork#38
* Update the import statement for xblock-utils The `xblock-utils` library has been deprecated as a separate package; the `utils` library has been moved into the `XBlock` and should now be imported from `xblock.utils` instead. (openedx/XBlock#675) * Upgrade to XBlock 2 Remove the use of deprecated `xblock.fragment` and direct id_generator parameters. 9openedx/XBlock#680) * Add Python 3.11 to test matrix; Drop Python 3.8 from test matrix * Add a version compatibility matrix to the README Fixes: citynetwork#38
Background
Pros of having this as a separate package
Cons of having this as a separate package
pkg_resources
would be simpler if every block just used theResourcesLoader
interface that xblock-utils provides.Acceptance Criteria
Tasks
The text was updated successfully, but these errors were encountered: