sentier-dev / glossary-api

Sustainability assessment classifications glossary
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

Migrate from `lxml` to another XML parsing library #69

Open sami-m-g opened 4 months ago

sami-m-g commented 4 months ago

We are using defusedxml as a secure layer over lxml. However, a DeprecationWarning currently raises when running tests:

DeprecationWarning: defusedxml.lxml is no longer supported and will be removed in a future release.
    from defusedxml.lxml import parse as parse_xml

defusedxml last release was in 2021 so I am not really worried, and this should be a low priority task. We can move to one of the supported libraries here: https://pypi.org/project/defusedxml/.