Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xmlschema dep to 2.x #990

Merged
merged 1 commit into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
3 changes: 1 addition & 2 deletions src/aiida_quantumespresso/parsers/parse_raw/cp.py
Original file line number Diff line number Diff line change
@@ -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
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
Loading