Repository navigation
Don't use cElementTree on Python 3 - #502
Conversation
Codecov Report
@@ Coverage Diff @@
## master #502 +/- ##
=======================================
Coverage 91.06% 91.06%
=======================================
Files 50 50
Lines 7036 7038 +2
Branches 1340 1341 +1
=======================================
+ Hits 6407 6409 +2
Misses 475 475
Partials 154 154
Continue to review full report at Codecov.
|
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 <[email protected]> Signed-off-by: Sam Sneddon <[email protected]>
3d62987 to
e4ff95f
Compare
Note that this has been discussed upstream at six on a number of occasions: see https://bitbucket.org/gutworth/six/issues/22/variable-sixpy3-is-time-bomb and benjaminp/six#297, as well as the python-dev thread at https://mail.python.org/archives/list/[email protected]/thread/M5N3PZP4IUMKRZJKKJQA4IXK5VDX5MOP/ about 3.10 v. 4. |
|
I'm landing this as-is because if that's what a CPython core developer is doing that's good enough for me 🤷 |
This just directly imports the first commit from pypa/pip#8278. Fixes #494. This doesn't fill me with joy, but I guess sometimes we do the perhaps silly thing for pip.
(@tiran this is just your commit, let me know if you have any objection to it landing here)