Python 3.9 compatibility

Bug #1870294 reported by Ondřej Pohořelský
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wadllib
Fix Released
High
Colin Watson

Bug Description

Hi,
I'm maintaining wadlib package in Fedora.
In Fedora 33 we are switching to Python 3.9 and wadlib is not building under it.

"The xml.etree.cElementTree module has been removed, use the xml.etree.ElementTree module instead."

I've tried to build wadlib with this simple change and it looks like everything is working as expected. Anyway I'm not experienced with wadlib upstream and I would like someone to have a look at this and possibly merge this fix into next version.

Best regards,
Ondřej

Related branches

Revision history for this message
Ondřej Pohořelský (opohorel) wrote :
Revision history for this message
Colin Watson (cjwatson) wrote :

Thanks. We still support Python 2 for various reasons, so I applied a similar change that does a try/except instead:

  https://bazaar.launchpad.net/~lazr-developers/wadllib/trunk/revision/37

Changed in wadllib:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Colin Watson (cjwatson) wrote :

Fixed in wadllib 1.3.4.

Changed in wadllib:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.