Skip to content

[FIX] Discover widgets when some dependencies are missing #2103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Orange/canvas/application/workflows/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def example_workflows():
for ep in workflow_entry_points():
workflows = None
try:
workflows = ep.load()
workflows = ep.resolve()
except pkg_resources.DistributionNotFound as ex:
log.warning("Could not load workflows from %r (%r)",
ep.dist, ex)
Expand Down
6 changes: 3 additions & 3 deletions Orange/canvas/help/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def qurl_from_path(urlpath):


def create_intersphinx_provider(entry_point):
locations = entry_point.load()
locations = entry_point.resolve()
replacements = _replacements_for_dist(entry_point.dist)

formatter = string.Formatter()
Expand Down Expand Up @@ -317,7 +317,7 @@ def create_intersphinx_provider(entry_point):


def create_html_provider(entry_point):
locations = entry_point.load()
locations = entry_point.resolve()
replacements = _replacements_for_dist(entry_point.dist)

formatter = string.Formatter()
Expand Down Expand Up @@ -350,7 +350,7 @@ def create_html_provider(entry_point):


def create_html_inventory_provider(entry_point):
locations = entry_point.load()
locations = entry_point.resolve()
replacements = _replacements_for_dist(entry_point.dist)

formatter = string.Formatter()
Expand Down
2 changes: 1 addition & 1 deletion Orange/canvas/registry/discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def run(self, entry_points_iter):

for entry_point in entry_points_iter:
try:
point = entry_point.load()
point = entry_point.resolve()
except pkg_resources.DistributionNotFound:
log.error("Could not load '%s' (unsatisfied dependencies).",
entry_point, exc_info=True)
Expand Down
1 change: 1 addition & 0 deletions requirements-core.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ joblib>=0.9.4
keyring
keyrings.alt # for alternative keyring implementations
dill
setuptools>=11.3