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

homectl, udm_user: guard crypt imports #8497

Merged
merged 1 commit into from
Jun 13, 2024

Conversation

felixfontein
Copy link
Collaborator

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

homectl
udm_user

@felixfontein felixfontein added backport-8 Automatically create a backport for the stable-8 branch backport-9 Automatically create a backport for the stable-9 branch labels Jun 13, 2024
@felixfontein felixfontein merged commit f0940d8 into ansible-collections:main Jun 13, 2024
132 checks passed
@felixfontein felixfontein deleted the crypt branch June 13, 2024 19:54
Copy link

patchback bot commented Jun 13, 2024

Backport to stable-8: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-8/f0940d82dc53f843e598d073a7ed102f8e50e628/pr-8497

Backported as #8498

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Jun 13, 2024
Guard crypt import.

(cherry picked from commit f0940d8)
Copy link

patchback bot commented Jun 13, 2024

Backport to stable-9: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-9/f0940d82dc53f843e598d073a7ed102f8e50e628/pr-8497

Backported as #8499

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

patchback bot pushed a commit that referenced this pull request Jun 13, 2024
Guard crypt import.

(cherry picked from commit f0940d8)
felixfontein added a commit that referenced this pull request Jun 13, 2024
… imports (#8498)

homectl, udm_user: guard crypt imports (#8497)

Guard crypt import.

(cherry picked from commit f0940d8)

Co-authored-by: Felix Fontein <felix@fontein.de>
felixfontein added a commit that referenced this pull request Jun 13, 2024
… imports (#8499)

homectl, udm_user: guard crypt imports (#8497)

Guard crypt import.

(cherry picked from commit f0940d8)

Co-authored-by: Felix Fontein <felix@fontein.de>
Massl123 pushed a commit to Massl123/community.general that referenced this pull request Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-8 Automatically create a backport for the stable-8 branch backport-9 Automatically create a backport for the stable-9 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant