-
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
homectl, udm_user: guard crypt imports #8497
Conversation
Backport to stable-8: 💚 backport PR created✅ Backport PR branch: Backported as #8498 🤖 @patchback |
Guard crypt import. (cherry picked from commit f0940d8)
Backport to stable-9: 💚 backport PR created✅ Backport PR branch: Backported as #8499 🤖 @patchback |
Guard crypt import. (cherry picked from commit f0940d8)
Guard crypt import.
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: #4691
Ref: #4690
ISSUE TYPE
COMPONENT NAME
homectl
udm_user