Skip to content

Commit

Permalink
bump v0.2.7 --> v0.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
prism-admin committed Jan 23, 2024
1 parent ee25f84 commit 9d25d40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prism/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#############

# Version number
VERSION = '0.2.7'
VERSION = '0.2.8'

# Root directory of project
ROOT_DIR = str(Path(os.path.dirname(__file__)).parent)
Expand Down
3 changes: 2 additions & 1 deletion prism/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def dependency_exists(dependency: str):
importlib.import_module(dependency)
except ImportError as e:
# Check to make sure this isn't some unrelated import error.
if dependency in repr(e):
pkg = dependency.split(".")[0]
if pkg in repr(e):
return False
return True

0 comments on commit 9d25d40

Please sign in to comment.