Skip to content

Commit

Permalink
➖ Remove explicit defusedxml dependency
Browse files Browse the repository at this point in the history
In 2024 this is no longer essential, using lxml by itself should be
sufficient.

See also the discussion on python.org:
https://discuss.python.org/t/status-of-defusedxml-and-recommendation-in-docs/34762/3
  • Loading branch information
sergei-maertens committed Feb 13, 2024
1 parent d61c56a commit dbc8fba
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions digid_eherkenning/_xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Inspired by https://github.com/mvantellingen/python-zeep/pull/1179/ as their solution
for the deprecated defusedxml.lxml module and the defaults applied in defusedxml.lxml.
"""

from lxml.etree import XMLParser, parse as _parse


Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ install_requires =
django-simple-certmanager
django-solo
lxml
defusedxml>=0.7.0
furl
maykin-python3-saml
tests_require =
Expand Down
1 change: 1 addition & 0 deletions tests/mixins.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
TODO: replace with pytest fixtures?
"""

from digid_eherkenning.models import DigidConfiguration, EherkenningConfiguration


Expand Down

0 comments on commit dbc8fba

Please sign in to comment.