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

xml.etree.cElementTree removed from Python 3.9 in favour of xml.etree.ElementTree #112

Closed
tirkarthi opened this issue Mar 29, 2020 · 3 comments

Comments

@tirkarthi
Copy link

Places : https://github.com/mgedmin/check-manifest/search?q=celementtree&unscoped_q=celementtree

Ref : python/cpython#19108

@tirkarthi
Copy link
Author

I will raise a PR for this issue.

@mgedmin
Copy link
Owner

mgedmin commented Mar 29, 2020

Thank you for the heads up!

The last time I tried to run tox on 3.9a3 the main problem was that I'm still using nose as the test runner, and nose didn't work on 3.9 (AttributeError: module 'collections' has no attribute 'Callable'). There was an attempt to switch to pytest (#92), but it foundered on a pytest problem.

It looks like some of the removals have been reverted in 3.9a5, because tox -e py39 now passes for me. Ah, I see that I did a 'make install' without wiping the old installed tree, so I still had a cElementTree from the alpha 3. Doing a fresh install exposes the problem.

Again, thank you!

@tirkarthi
Copy link
Author

You're welcome. Nose was also a candidate discussed to revert the collections related error to be introduced in Python 3.10. This xml related error was in latest alpha release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants