Add __version__ attribute to lxml namespace

Bug #1840234 reported by Pål Grønås Drange on 2019-08-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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/`.

scoder (scoder) wrote :
Changed in lxml:
assignee: nobody → scoder (scoder)
importance: Undecided → Low
status: New → Fix Committed
milestone: none → 4.5.0
scoder (scoder) on 2020-02-25
Changed in lxml:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers