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

Fix import or URLError which has been removed in xmlschema #524

Merged
merged 1 commit into from
Jun 4, 2020
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
5 changes: 3 additions & 2 deletions aiida_quantumespresso/parsers/parse_xml/pw/parse.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# -*- coding: utf-8 -*-
from distutils.version import StrictVersion
import numpy as np
from urllib.error import URLError

from xmlschema import XMLSchema
from xmlschema.etree import ElementTree
from xmlschema.exceptions import URLError
from qe_tools.constants import hartree_to_ev, bohr_to_ang, ry_to_ev

from aiida_quantumespresso.utils.mapping import get_logging_container
from qe_tools.constants import hartree_to_ev, bohr_to_ang, ry_to_ev

from .exceptions import XMLParseError
from .legacy import parse_pw_xml_pre_6_2
Expand Down
2 changes: 1 addition & 1 deletion setup.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"aiida_core[atomic_tools]~=1.2",
"packaging",
"qe-tools~=1.1",
"xmlschema~=1.0"
"xmlschema~=1.2"
],
"license": "MIT License",
"name": "aiida_quantumespresso",
Expand Down