-
Notifications
You must be signed in to change notification settings - Fork 42
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
Use version specifiers in PluginRequirement #679
Conversation
When you realize, you reinvented the wheel... |
|
50e95ad
to
31bc0c3
Compare
@@ -88,7 +88,7 @@ class PulpDomainContext(PulpEntityContext): | |||
ENTITIES = _("Pulp domains") | |||
HREF = "domain_href" | |||
ID_PREFIX = "domains" | |||
NEEDS_PLUGINS = [PluginRequirement("core", "3.23.0.dev")] | |||
NEEDS_PLUGINS = [PluginRequirement("core", specifier=">=3.23.0")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -77,7 +77,7 @@ def _object_required_grouprole_lookup_callback( | |||
"core:domain": PulpDomainContext, | |||
}, | |||
"help": _("Domain the role is applied in"), | |||
"needs_plugins": (PluginRequirement("core", "3.23.dev"),), | |||
"needs_plugins": (PluginRequirement("core", specifier=">=3.23"),), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
pulpcore/cli/ansible/repository.py
Outdated
PluginRequirement( | ||
"ansible", min="0.15.0.dev", feature="gpgkeys on ansible repositories" | ||
) | ||
PluginRequirement("ansible", min="0.15.0", feature="gpgkeys on ansible repositories") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PluginRequirement("ansible", min="0.15.0", feature="gpgkeys on ansible repositories") | |
PluginRequirement("ansible", specifier=">=0.15.0", feature="gpgkeys on ansible repositories") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
programmers blind spot...
Review Checklist: