-
Notifications
You must be signed in to change notification settings - Fork 22
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
action plugin helper: fix deprecation handling #136
action plugin helper: fix deprecation handling #136
Conversation
Codecov Report
@@ Coverage Diff @@
## main #136 +/- ##
==========================================
- Coverage 66.33% 66.13% -0.21%
==========================================
Files 12 12
Lines 992 995 +3
Branches 221 223 +2
==========================================
Hits 658 658
- Misses 253 256 +3
Partials 81 81
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
Same feelings as in ansible-collections/community.crypto#572 (review), but LGTM!
@kristianheljas thanks for this one as well! |
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [community.sops](https://togithub.com/ansible-collections/community.sops) | galaxy-collection | patch | `1.6.0` -> `1.6.1` | --- ### Release Notes <details> <summary>ansible-collections/community.sops</summary> ### [`v1.6.1`](https://togithub.com/ansible-collections/community.sops/blob/HEAD/CHANGELOG.rst#v161) [Compare Source](https://togithub.com/ansible-collections/community.sops/compare/1.6.0...1.6.1) \====== ## Release Summary Maintenance release. ## Bugfixes - action plugin helper - fix handling of deprecations for ansible-core 2.14.2 ([https://github.com/ansible-collections/community.sops/pull/136](https://togithub.com/ansible-collections/community.sops/pull/136)). - various plugins - remove unnecessary imports ([https://github.com/ansible-collections/community.sops/pull/133](https://togithub.com/ansible-collections/community.sops/pull/133)). </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on sunday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/RickCoxDev/home-cluster). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xNTIuNCIsInVwZGF0ZWRJblZlciI6IjM0LjE1Mi40In0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
SUMMARY
This is a consequence of ansible/ansible#79681 and ansible/ansible#79740, which were backported to stable-2.14 and released in ansible-core 2.14.2. Without these, there will be a crash when deprecations appear with ansible-core 2.14.2+ in action plugins using this helper.
ISSUE TYPE
COMPONENT NAME
plugins/plugin_utils/action_module.py