FS#68935 - [s3cmd] Crash on Python 3.9

Attached to Project: Community Packages
Opened by Alan Orth (stickyboy) - Friday, 11 December 2020, 08:14 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Saturday, 12 December 2020, 11:26 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

elementtree.getchildren function is removed in Python 3.9. s3cmd crashes with the following error:

Invoked as: /usr/bin/s3cmd sync s3://xxx/yyy/ yyy/
Problem: <class 'AttributeError: 'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
S3cmd: 2.1.0
python: 3.9.0 (default, Oct 7 2020, 23:09:01)
[GCC 10.2.0]
environment LANG=en_CA.UTF-8

See upstream bug report with commit fixing it.

https://github.com/s3tools/s3cmd/issues/1162
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Saturday, 12 December 2020, 11:26 GMT
Reason for closing:  Fixed

Loading...