Skip to content

Commit

Permalink
chore: remove xblock utils
Browse files Browse the repository at this point in the history
  • Loading branch information
salman2013 committed Nov 2, 2023
1 parent 8dba6ff commit 06b77c9
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion image_explorer/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@

import logging

from xblockutils.resources import ResourceLoader
try:
from xblock.utils.resources import ResourceLoader
except ModuleNotFoundError:
from xblockutils.resources import ResourceLoader


log = logging.getLogger(__name__)
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
-e .
-e git+https://github.com/openedx/[email protected]#egg=xblock-utils==2.1.1
edx-i18n-tools==0.5.3
lxml==4.5.2
mako==1.1.3
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def package_data(pkg, root_list):

setup(
name='xblock-image-explorer',
version='2.0',
version='2.1',
description='XBlock - Image Explorer',
packages=['image_explorer'],
install_requires=[
Expand Down
4 changes: 4 additions & 0 deletions tests/integration/test_image_explorer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import types

try:
from xblock.utils.base_test import SeleniumXBlockTes
except ModuleNotFoundError:
# For backward compatibility with releases older than Quince.
from xblockutils.base_test import SeleniumXBlockTest


Expand Down

0 comments on commit 06b77c9

Please sign in to comment.