Skip to content

Pin action versions and fix ansible deprecation imports#85

Merged
Oddly merged 1 commit intomainfrom
fix/deps-and-deprecation
Mar 9, 2026
Merged

Pin action versions and fix ansible deprecation imports#85
Oddly merged 1 commit intomainfrom
fix/deps-and-deprecation

Conversation

@Oddly
Copy link
Copy Markdown
Owner

@Oddly Oddly commented Mar 9, 2026

Pins all GitHub Actions in deploy_docs.yml to commit SHAs, bringing them in line with every other workflow in the repo. This covers the checkout v6, setup-python v6, upload-pages-artifact v4, and deploy-pages v4 bumps that dependabot opened as PRs #81, #82, and #83.

Also moves the to_native, to_text, and to_bytes imports in the cert_info module and its certs utility from ansible.module_utils.basic to ansible.module_utils.common.text.converters, which is the canonical location since ansible-core 2.17. The old import path emits a deprecation warning on every run.

Closes #84, supersedes #81, #82, #83.

Pin all GitHub Actions in deploy_docs.yml to commit SHAs (checkout v6.0.1,
setup-python v6.2.0, upload-pages-artifact v4.0.0, deploy-pages v4.0.5).
Move to_native/to_text/to_bytes imports from ansible.module_utils.basic to
ansible.module_utils.common.text.converters, fixing the deprecation warning
introduced in ansible-core 2.17.

Closes #84
@Oddly Oddly merged commit 4806676 into main Mar 9, 2026
25 checks passed
@Oddly Oddly deleted the fix/deps-and-deprecation branch March 9, 2026 08:56
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.

Deprecation warning: to_native imported from ansible.module_utils._text

1 participant