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/entrypoint_loading #117

Merged
merged 1 commit into from
Feb 2, 2023
Merged

fix/entrypoint_loading #117

merged 1 commit into from
Feb 2, 2023

Conversation

JarbasAl
Copy link
Member

this avoids issues with requirement versions mismatches in skills, this should be handled at install time not runtime

solution taken from: click-contrib/click-plugins#31

this avoids issues with requirement versions mismatches in skills, this should be handled at install time not runtime

solution taken from: click-contrib/click-plugins#31
@JarbasAl JarbasAl added the bug Something isn't working label Jan 30, 2023
@JarbasAl JarbasAl requested a review from NeonDaniel January 30, 2023 21:34
@codecov
Copy link

codecov bot commented Jan 30, 2023

Codecov Report

❗ No coverage uploaded for pull request base (dev@1012f3f). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff          @@
##             dev    #117   +/-   ##
=====================================
  Coverage       ?   0.00%           
=====================================
  Files          ?      47           
  Lines          ?    3197           
  Branches       ?       0           
=====================================
  Hits           ?       0           
  Misses         ?    3197           
  Partials       ?       0           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@JarbasAl JarbasAl mentioned this pull request Jan 30, 2023
93 tasks
except Exception as e:
LOG.exception(f"Failed to load plugin entry point {entry_point}")
return entrypoints


def _iter_entrypoints(plug_type):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we add some test case for this? Maybe a test skill branch we install that specifies an exact OPM version older than this one?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets do this in another PR before the next stable release, i want to get this fix out asap as this makes it really painful to use some plugins

@JarbasAl JarbasAl merged commit 74c82b8 into dev Feb 2, 2023
@JarbasAl JarbasAl deleted the fix/entrypoint_loading branch February 2, 2023 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants