You are not logged in.
Pages: 1
Hi Everyone,
Importing xmlschema fails with python 3.13. This was working with python 3.12. I looked around some and didn't find a resolution (at least not obvious to me). I will appreciate any/all assistance in resolving this error.
Python 3.13.3 (main, Apr 9 2025, 07:44:25) [GCC 14.2.1 20250207] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import xmlschema
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import xmlschema
File "/usr/lib/python3.13/site-packages/xmlschema/__init__.py", line 16, in <module>
from .resources import fetch_resource, fetch_namespaces, fetch_schema_locations, \
fetch_schema, XMLResource
File "/usr/lib/python3.13/site-packages/xmlschema/resources.py", line 24, in <module>
from elementpath.etree import ElementTree, PyElementTree, SafeXMLParser, etree_tostring
ImportError: cannot import name 'PyElementTree' from 'elementpath.etree' (/usr/lib/python3.13/site-packages/elementpath/etree.py)
>>> Thanks and Regards,
...doug
Offline
Seems to be a bug in the package, please file it on our bugtracker:
https://gitlab.archlinux.org/archlinux/ … te=Default
Offline
I'm waiting on access to gitlab.
Offline
Issue created: https://gitlab.archlinux.org/archlinux/ … -/issues/1
Offline
Pages: 1