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

action plugin helper: fix deprecation handling #136

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

felixfontein
Copy link
Collaborator

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
  • Bugfix Pull Request
COMPONENT NAME

plugins/plugin_utils/action_module.py

@codecov
Copy link

codecov bot commented Feb 9, 2023

Codecov Report

Merging #136 (82d1ef0) into main (29fafb9) will decrease coverage by 0.20%.
The diff coverage is 0.00%.

@@            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              
Flag Coverage Δ
integration 65.03% <0.00%> (-0.20%) ⬇️
sanity 23.31% <0.00%> (-0.08%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
plugins/plugin_utils/action_module.py 45.04% <0.00%> (-0.27%) ⬇️

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

Copy link
Contributor

@kristianheljas kristianheljas left a 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!

@felixfontein felixfontein merged commit befb806 into ansible-collections:main Feb 9, 2023
@felixfontein felixfontein deleted the action-module branch February 9, 2023 14:36
@felixfontein
Copy link
Collaborator Author

@kristianheljas thanks for this one as well!

Stackclash referenced this pull request in Stackclash/home-cluster May 9, 2023
[![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>
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