-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Don't use cElementTree on Python 3 #8278
Conversation
It's been deprecated and will be removed in 3.9 or 3.10. 3.9.0b1 doesn't have cElementTree. I'd like to bring it back with a deprecation warning to drop in 3.10. See: python/cpython#19921 Signed-off-by: Christian Heimes <christian@python.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I didn’t realise this is updating a vendor library. This will probably need to be filed upstream.
I’ve filed html5lib/html5lib-python#494 upstream. |
Fantastic, thank you. I wasn't sure how pip handles changes to vendored packages. |
We hold patches to vendored packages in If I remember correctly, you'll have to take the "inverse" of the output from the failing CI job: https://travis-ci.org/github/pypa/pip/jobs/689445394 |
It looks like it's git format-patch output (excluding the header and footer) |
@pradyunsg tests are passing now, thanks for your assist! |
Flaky flaky CI. 😡 |
Gah. A single check isn't reporting and it's a check that shouldn't be affecting by this change per-se. I'm gonna go ahead and merge this. Thanks @tiran! ^>^ |
It's been deprecated and will be removed in 3.9 or 3.10. 3.9.0b1 doesn't
have cElementTree. I'd like to bring it back with a deprecation warning
to drop in 3.10.
See: python/cpython#19921
Signed-off-by: Christian Heimes christian@python.org