Skip to content
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

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

Merged
merged 1 commit into from
Mar 16, 2017

Conversation

astaric
Copy link
Member

@astaric astaric commented Mar 14, 2017

Issue

When one of the requirements (of their requirements (or their requirements...)) is missing, Orange opens with no widgets.

To reproduce, uninstall keyring and open canvas

Description of changes

use .resolve() to load entry points

.resolve() is available from setuptools 11.3 forward (released in 2015),
does the same thing as .load(), but ommits the requirements check.

Includes
  • Code changes
  • Tests
  • Documentation

@astaric
Copy link
Member Author

astaric commented Mar 14, 2017

@ales-erjavec does this make sense? It solves the problem mentioned in #1753, but I might be missing something.

.resolve() is available from setuptools 11.3 forward (released in 2015),
does the same thing as .load(), but ommits the requirements check.
@codecov-io
Copy link

Codecov Report

Merging #2103 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2103   +/-   ##
=======================================
  Coverage   71.27%   71.27%           
=======================================
  Files         318      318           
  Lines       54265    54265           
=======================================
  Hits        38678    38678           
  Misses      15587    15587

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c150327...1be59dd. Read the comment docs.

@astaric astaric changed the title EntryPoints: replace calls to .load() with .resolve() [FIX] Discover widgets when some dependencies are missing Mar 15, 2017
@astaric astaric merged commit 9902334 into biolab:master Mar 16, 2017
@astaric astaric deleted the entry-point-resolve branch September 8, 2017 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants