PySvn icon indicating copy to clipboard operation
PySvn copied to clipboard

Error 'xml.etree.ElementTree.Element' object has no attribute 'getchildren' when listing log in Python 3.9.x

Open mellotanica opened this issue 4 years ago • 3 comments

when accessing a repository log with default_log() function using Python 3.9 an exception is risen, the used function seems to have been removed from xml library:

https://docs.python.org/3.8/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.getchildren

mellotanica avatar Jan 25 '21 15:01 mellotanica

looking at the master branch code, the issue has already been solved. yet the latest release package does not work with python 3.9

mellotanica avatar Jan 25 '21 16:01 mellotanica

I have noticed that the fix is not included in the zip or tar.gz file. It is mentioned in the change notes but unfortunately not in the final archive. Can you create a new release which includes the fix? In other words the common.py file in the archives still contains the getchild stuff.

Grandement avatar Sep 08 '21 14:09 Grandement

no longer maintained?

jimmydevine avatar Dec 03 '22 06:12 jimmydevine