dsoprea / PySvn

Lightweight Subversion library for Python.
GNU General Public License v2.0
217 stars 145 forks source link

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

Open mellotanica opened 3 years ago

mellotanica commented 3 years ago

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 commented 3 years ago

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

Grandement commented 3 years ago

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.

jimmydevine commented 2 years ago

no longer maintained?

mj-fox commented 3 weeks ago

Sadly still an issue in python 3.11, package installed via PIP