-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
MH mh/mixins/deps.py: prevent deprecation warning when no deps are specified #6644
MH mh/mixins/deps.py: prevent deprecation warning when no deps are specified #6644
Conversation
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.
Looks good! Can you add a changelog fragment?
(The third-party check failure is unrelated.)
Sure thing - busy day, I thought I had done it already. |
No worries :) Thanks! |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6653 🤖 @patchback |
@russoz thanks for fixing this! |
…deprecation warning when no deps are specified (#6653) MH mh/mixins/deps.py: prevent deprecation warning when no deps are specified (#6644) * MH mh/mixins/deps.py: prevent deprecation warning when no deps are specified * rollback empty "patch" on license markers to prevent test error * disable test in ansible 2.12 * add changelog frag (cherry picked from commit 494909a) Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
SUMMARY
Add test to deprecated
DependencyMixin
so that the deprecation warning only pops up when dependencies are actually specified.Fixes #6639
ISSUE TYPE
COMPONENT NAME
plugins/module_utils/mh/mixins/deps.py