Small fix makes static_deps possible under Python 3

Bug #885772 reported by Brandon Rhodes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lxml
Fix Released
Medium
scoder

Bug Description

The lxml setup.py file currently crashes if STATIC_DEPS=true is set in the environment, because a for loop that tries to iterate over a list with “header_packages.iteritems()” but the “iteritems()” method does not exist under Python 3. By changing this to “items()” it will work under all versions of Python.

Revision history for this message
scoder (scoder) wrote :

Right, looks like that one slipped through in the last release. Thanks!

Changed in lxml:
assignee: nobody → Stefan Behnel (scoder)
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
scoder (scoder) wrote :

Fixed in lxml 2.3.3.

Changed in lxml:
status: Fix Committed → Fix Released
Revision history for this message
scoder (scoder) wrote :

And 2.3.2, actually.

Revision history for this message
Brandon Rhodes (brandon-rhodes) wrote :

Thanks! :)

scoder (scoder)
Changed in lxml:
milestone: none → 2.3.x
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.