diff --git a/pyproject.toml b/pyproject.toml index f7ac6e6dc..61e440de5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,7 +31,7 @@ dependencies = [ 'pydantic~=1.10,>=1.10.8', 'packaging', 'qe-tools~=2.0', - 'xmlschema~=1.2,>=1.2.5' + 'xmlschema~=2.0' ] [project.urls] diff --git a/src/aiida_quantumespresso/parsers/parse_raw/cp.py b/src/aiida_quantumespresso/parsers/parse_raw/cp.py index b9ac545e8..c7118ee96 100644 --- a/src/aiida_quantumespresso/parsers/parse_raw/cp.py +++ b/src/aiida_quantumespresso/parsers/parse_raw/cp.py @@ -1,7 +1,6 @@ # -*- coding: utf-8 -*- from xml.dom.minidom import parseString - -from xmlschema.etree import ElementTree +from xml.etree import ElementTree from aiida_quantumespresso.parsers import QEOutputParsingError from aiida_quantumespresso.parsers.parse_xml.cp.legacy import parse_cp_xml_output diff --git a/src/aiida_quantumespresso/parsers/parse_xml/pw/parse.py b/src/aiida_quantumespresso/parsers/parse_xml/pw/parse.py index 5f77a99e1..41171818d 100644 --- a/src/aiida_quantumespresso/parsers/parse_xml/pw/parse.py +++ b/src/aiida_quantumespresso/parsers/parse_xml/pw/parse.py @@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -from xmlschema.etree import ElementTree +from xml.etree import ElementTree from aiida_quantumespresso.parsers.parse_xml.exceptions import XMLParseError from aiida_quantumespresso.parsers.parse_xml.parse import parse_xml_post_6_2