Skip to content

Commit

Permalink
xmlschema dep to 2.x
Browse files Browse the repository at this point in the history
the interface is unchanged but a moved module
  • Loading branch information
rikigigi committed Dec 1, 2023
1 parent 9061ea5 commit 9d36452
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion src/aiida_quantumespresso/parsers/parse_raw/cp.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- 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
Expand Down
2 changes: 1 addition & 1 deletion src/aiida_quantumespresso/parsers/parse_xml/pw/parse.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 9d36452

Please sign in to comment.