maven: Use BeautifulSoup instead of xmltodict for parsing pom files

xmltodict cannot parse POM files with multi-byte encoding so prefer to
use the XML parser of BeautifulSoup based on lxml instead.

Also drop xmltodict requirement as it is no longer used in swh-lister
codebase.
This commit is contained in:
Antoine Lambert 2022-08-08 16:30:47 +02:00
parent d51bce0a1c
commit cee6bcb514
5 changed files with 807 additions and 13 deletions

View file

@ -40,8 +40,5 @@ ignore_missing_imports = True
[mypy-urllib3.util.*]
ignore_missing_imports = True
[mypy-xmltodict.*]
ignore_missing_imports = True
[mypy-dulwich.*]
ignore_missing_imports = True