From 31f34f007c7bd350b206d95306d3a890ee0ad6d8 Mon Sep 17 00:00:00 2001 From: farhan Date: Tue, 10 Oct 2023 11:29:55 +0500 Subject: [PATCH] refactor: remove xblock-utils package --- feedback/feedback.py | 2 +- requirements/base.in | 3 +-- requirements/test.in | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/feedback/feedback.py b/feedback/feedback.py index b449e4a..5eb48a5 100644 --- a/feedback/feedback.py +++ b/feedback/feedback.py @@ -14,7 +14,7 @@ from xblock.core import XBlock from xblock.fields import Scope, Integer, String, List, Float from web_fragments.fragment import Fragment -from xblockutils.resources import ResourceLoader +from xblock.utils.resources import ResourceLoader resource_loader = ResourceLoader(__name__) diff --git a/requirements/base.in b/requirements/base.in index 142bf45..f659a42 100644 --- a/requirements/base.in +++ b/requirements/base.in @@ -1,5 +1,4 @@ # Core requirements for using this package -c constraints.txt -XBlock -xblock-utils +Xblock[django] diff --git a/requirements/test.in b/requirements/test.in index 53cceab..2a6066c 100644 --- a/requirements/test.in +++ b/requirements/test.in @@ -12,4 +12,3 @@ pytest pytest-django twine xblock-sdk -xblock-utils