Add __version__ attribute to lxml namespace

Bug #1840234 reported by Pål Grønås Drange
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

At my work I need to be able to (programmatically) log each individual Python module in use and their respective versions for reproducibility.

Most Python packages expose a `__version__` attribute (at the root level), however, `lxml` only exposes this in `lxml.etree`.

I suggest that `lxml` exposes `__version__` as an attribute in `lxml/`.

Revision history for this message
scoder (scoder) wrote :
Changed in lxml:
assignee: nobody → scoder (scoder)
importance: Undecided → Low
status: New → Fix Committed
milestone: none → 4.5.0
scoder (scoder)
Changed in lxml:
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.