Closed felixfontein closed 3 months ago
✅ Backport PR branch: patchback/backports/stable-8/f0940d82dc53f843e598d073a7ed102f8e50e628/pr-8497
Backported as https://github.com/ansible-collections/community.general/pull/8498
🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.
✅ Backport PR branch: patchback/backports/stable-9/f0940d82dc53f843e598d073a7ed102f8e50e628/pr-8497
Backported as https://github.com/ansible-collections/community.general/pull/8499
🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.
SUMMARY
Now that ansible-core devel's ansible-test also tests with Python 3.13, in which the crypt standard library module has been removed, we have to do something about these two modules using that part of the standard library.
This PR makes the crypt import guarded and lets the module fail with an expressive error message. It would be better to get rid of the crypt usages, but that's for someone else...
Ref: https://github.com/ansible-collections/community.general/issues/4691 Ref: https://github.com/ansible-collections/community.general/issues/4690
ISSUE TYPE
COMPONENT NAME
homectl udm_user