-
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
xml: make module work with lxml 5.1.1 #8169
Conversation
I'm going to merge this to unbreak CI. If someone has comments for this, I'll address them in follow-up PRs. |
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #8170 🤖 @patchback |
Make module work with lxml 5.1.1. (cherry picked from commit b444e87)
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #8171 🤖 @patchback |
Make module work with lxml 5.1.1. (cherry picked from commit b444e87)
Backport to stable-8: 💚 backport PR created✅ Backport PR branch: Backported as #8172 🤖 @patchback |
Make module work with lxml 5.1.1. (cherry picked from commit b444e87)
SUMMARY
lxml 5.1.1 includes lxml/lxml@eba7934, which breaks the xml module since it assumes that
etree._ElementStringResult
exists.On platforms that install lxml via pip, like macOS and RHEL 9, this was breaking the nightly tests (https://dev.azure.com/ansible/community.general/_build/results?buildId=107937&view=results).
ISSUE TYPE
COMPONENT NAME
xml