From ef9b5f17a76eacc224c44a89a2ccb2638e227ad1 Mon Sep 17 00:00:00 2001 From: Maari Tamm Date: Wed, 24 Jul 2024 12:52:11 +0200 Subject: [PATCH] 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. (https://github.com/openedx/XBlock/issues/675) Fixes: #38 --- markdown_xblock/html.py | 6 +++--- requirements/base.txt | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/markdown_xblock/html.py b/markdown_xblock/html.py index c3aeefc..3ccbf33 100644 --- a/markdown_xblock/html.py +++ b/markdown_xblock/html.py @@ -9,9 +9,9 @@ from xblock.core import XBlock from xblock.fields import List, Scope, String from xblock.fragment import Fragment -from xblockutils.resources import ResourceLoader -from xblockutils.settings import XBlockWithSettingsMixin -from xblockutils.studio_editable import StudioEditableXBlockMixin, loader +from xblock.utils.resources import ResourceLoader +from xblock.utils.settings import XBlockWithSettingsMixin +from xblock.utils.studio_editable import StudioEditableXBlockMixin, loader from .utils import _ diff --git a/requirements/base.txt b/requirements/base.txt index 606f4f6..902c733 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -1,6 +1,5 @@ # Requirements for app run -xblock-utils<=4.0.0 xblock-sdk<0.9.0 django-statici18n<2.5 edx-i18n-tools<1.4