Skip to content

Commit

Permalink
Update the import statement for xblock-utils
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Maari Tamm committed Jul 23, 2024
1 parent 41a2034 commit 9648882
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
Unreleased
-------------------------
* [BREAKING CHANGE] Update the import statements 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)

Version 7.11.0 (2024-05-06)
-------------------------
* [Enhancement] Update to a newer Twisted version.
Expand Down
6 changes: 3 additions & 3 deletions hastexo/hastexo.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
from xblock.fields import Scope, Float, String, Dict, List, Integer, Boolean
from xblock.fragment import Fragment
from xblock.scorable import ScorableXBlockMixin, Score
from xblockutils.resources import ResourceLoader
from xblockutils.studio_editable import (
from xblock.utils.resources import ResourceLoader
from xblock.utils.studio_editable import (
NestedXBlockSpec,
StudioContainerWithNestedXBlocksMixin,
StudioEditableXBlockMixin,
)
from xblockutils.settings import XBlockWithSettingsMixin
from xblock.utils.settings import XBlockWithSettingsMixin

from distutils.util import strtobool
from django.db import transaction
Expand Down

0 comments on commit 9648882

Please sign in to comment.