On Sun, 6 Dec 2020, at 05:06, Xomex wrote: > I've just d/l and built s3ql-3.6.0 on a system newly updated to Fedora 33 > which provides Python3.9. It seems to build OK but on running any s3ql > command or the tests I get a fatal error from defusedxml about cElementTree: > ".... > import defusedxml.cElementTree as ElementTree > /usr/lib/python3.9/site-packages/defusedxml/cElementTree.py:13: in <module> > raise ImportError("cElementTree has been removed from Python 3.9") > E ImportError: cElementTree has been removed from Python 3.9 > " > Is this a new incompatibility? and what's the simplest work around? > Thanks.
Hi, You should be able to just change "cElementTree" to "ElementTree" in the source code. cElementTree (used to) be a re-implementation of ElementTree in C (for better performance). Best, -Nikolaus -- GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F »Time flies like an arrow, fruit flies like a Banana.« -- You received this message because you are subscribed to the Google Groups "s3ql" group. To unsubscribe from this group and stop receiving emails from it, send an email to s3ql+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/s3ql/7667c54a-d259-4153-9e27-81d1998f49f3%40www.fastmail.com.