Package: src:python-xmlpath
Version: 1.10.0-6
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

python-xmlpath's autopkg tests fail with Python 3.12:

[...]
261s Testing with python3.12:
261s tests.test_cli (unittest.loader._FailedTest.tests.test_cli) ... ERROR
261s tests.test_codegen (unittest.loader._FailedTest.tests.test_codegen) ... ERROR 261s tests.test_converters (unittest.loader._FailedTest.tests.test_converters) ... ERROR 261s tests.test_dataobjects (unittest.loader._FailedTest.tests.test_dataobjects) ... ERROR 261s tests.test_documents (unittest.loader._FailedTest.tests.test_documents) ... ERROR 261s tests.test_etree (unittest.loader._FailedTest.tests.test_etree) ... ERROR 261s test_element_tree_import_script (tests.test_etree_import.TestElementTreeImport.test_element_tree_import_script) ... FAIL 261s test_import_etree_after (tests.test_etree_import.TestElementTreeImport.test_import_etree_after) ... ok 261s test_import_etree_before (tests.test_etree_import.TestElementTreeImport.test_import_etree_before) ... ok 261s test_inconsistent_etree (tests.test_etree_import.TestElementTreeImport.test_inconsistent_etree) ... ok 261s tests.test_helpers (unittest.loader._FailedTest.tests.test_helpers) ... ERROR 261s test_decode_memory_usage (tests.test_memory.TestMemoryUsage.test_decode_memory_usage) ... skipped 'Memory profiler is not installed!' 261s test_element_tree_memory_usage (tests.test_memory.TestMemoryUsage.test_element_tree_memory_usage) ... skipped 'Memory profiler is not installed!' 261s test_package_memory_usage (tests.test_memory.TestMemoryUsage.test_package_memory_usage) ... skipped 'Memory profiler is not installed!' 261s test_validate_memory_usage (tests.test_memory.TestMemoryUsage.test_validate_memory_usage) ... skipped 'Memory profiler is not installed!' 261s test_default_namespace (tests.test_namespaces.TestNamespaceMapper.test_default_namespace) ... ok 261s test_dictionary_methods (tests.test_namespaces.TestNamespaceMapper.test_dictionary_methods) ... ok
261s test_init (tests.test_namespaces.TestNamespaceMapper.test_init) ... ok
261s test_insert_item (tests.test_namespaces.TestNamespaceMapper.test_insert_item) ... ok 261s test_map_qname (tests.test_namespaces.TestNamespaceMapper.test_map_qname) ... ok 261s test_strip_namespaces (tests.test_namespaces.TestNamespaceMapper.test_strip_namespaces) ... ok 261s test_transfer (tests.test_namespaces.TestNamespaceMapper.test_transfer) ... ok 261s test_unmap_qname (tests.test_namespaces.TestNamespaceMapper.test_unmap_qname) ... ok 261s test_dictionary_methods (tests.test_namespaces.TestNamespaceResourcesMap.test_dictionary_methods) ... ok 261s test_init (tests.test_namespaces.TestNamespaceResourcesMap.test_init) ... ok 261s test_repr (tests.test_namespaces.TestNamespaceResourcesMap.test_repr) ... ok 261s test_as_dict (tests.test_namespaces.TestNamespaceView.test_as_dict) ... ok 261s test_contains (tests.test_namespaces.TestNamespaceView.test_contains) ... ok
261s test_init (tests.test_namespaces.TestNamespaceView.test_init) ... ok
261s test_repr (tests.test_namespaces.TestNamespaceView.test_repr) ... ok
261s test_base_schema_files (tests.test_package.TestPackaging.test_base_schema_files) ... ok 261s test_elementpath_requirement (tests.test_package.TestPackaging.test_elementpath_requirement) ... ok 261s test_forgotten_debug_statements (tests.test_package.TestPackaging.test_forgotten_debug_statements) ... ok
261s test_version (tests.test_package.TestPackaging.test_version) ... ok
261s tests.test_resources (unittest.loader._FailedTest.tests.test_resources) ... ERROR 261s tests.test_schemas (unittest.loader._FailedTest.tests.test_schemas) ... ERROR 261s test_simple_types (tests.test_typing.TestTyping.test_simple_types) ... skipped 'mypy is not installed' 261s tests.test_validation (unittest.loader._FailedTest.tests.test_validation) ... ERROR 261s tests.test_w3c_suite (unittest.loader._FailedTest.tests.test_w3c_suite) ... ERROR
261s tests.test_wsdl (unittest.loader._FailedTest.tests.test_wsdl) ... ERROR
261s tests.test_xpath (unittest.loader._FailedTest.tests.test_xpath) ... ERROR 261s tests.validation.test_decoding (unittest.loader._FailedTest.tests.validation.test_decoding) ... ERROR 261s tests.validation.test_encoding (unittest.loader._FailedTest.tests.validation.test_encoding) ... ERROR 261s tests.validation.test_validation (unittest.loader._FailedTest.tests.validation.test_validation) ... ERROR 261s tests.validators.test_attributes (unittest.loader._FailedTest.tests.validators.test_attributes) ... ERROR 261s tests.validators.test_builtins (unittest.loader._FailedTest.tests.validators.test_builtins) ... ERROR 261s tests.validators.test_complex_types (unittest.loader._FailedTest.tests.validators.test_complex_types) ... ERROR 261s tests.validators.test_elements (unittest.loader._FailedTest.tests.validators.test_elements) ... ERROR 261s tests.validators.test_exceptions (unittest.loader._FailedTest.tests.validators.test_exceptions) ... ERROR 261s tests.validators.test_facets (unittest.loader._FailedTest.tests.validators.test_facets) ... ERROR 261s tests.validators.test_global_maps (unittest.loader._FailedTest.tests.validators.test_global_maps) ... ERROR 261s tests.validators.test_groups (unittest.loader._FailedTest.tests.validators.test_groups) ... ERROR 261s tests.validators.test_identities (unittest.loader._FailedTest.tests.validators.test_identities) ... ERROR 261s tests.validators.test_models (unittest.loader._FailedTest.tests.validators.test_models) ... ERROR 261s tests.validators.test_notations (unittest.loader._FailedTest.tests.validators.test_notations) ... ERROR 261s tests.validators.test_particles (unittest.loader._FailedTest.tests.validators.test_particles) ... ERROR 261s tests.validators.test_schemas (unittest.loader._FailedTest.tests.validators.test_schemas) ... ERROR 261s tests.validators.test_simple_types (unittest.loader._FailedTest.tests.validators.test_simple_types) ... ERROR 261s tests.validators.test_wildcards (unittest.loader._FailedTest.tests.validators.test_wildcards) ... ERROR 261s tests.validators.test_xsdbase (unittest.loader._FailedTest.tests.validators.test_xsdbase) ... ERROR
261s xmlschema (unittest.loader._FailedTest.xmlschema) ... ERROR
261s
261s ======================================================================
261s ERROR: tests.test_cli (unittest.loader._FailedTest.tests.test_cli)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_cli
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_cli.py", line 22, in <module>
261s     import xmlschema
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_codegen (unittest.loader._FailedTest.tests.test_codegen)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_codegen
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_codegen.py", line 28, in <module>
261s     from xmlschema import XMLSchema10, XMLSchema11
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_converters (unittest.loader._FailedTest.tests.test_converters)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_converters
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_converters.py", line 20, in <module> 261s from xmlschema import XMLSchema, XMLSchemaValidationError, fetch_namespaces 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_dataobjects (unittest.loader._FailedTest.tests.test_dataobjects)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_dataobjects
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_dataobjects.py", line 15, in <module> 261s from xmlschema import XMLSchema10, XMLSchema11, fetch_namespaces, etree_tostring, \ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_documents (unittest.loader._FailedTest.tests.test_documents)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_documents
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_documents.py", line 25, in <module>
261s     from xmlschema import XMLSchema10, XMLSchema11, XmlDocument, \
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_etree (unittest.loader._FailedTest.tests.test_etree)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_etree
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_etree.py", line 24, in <module>
261s     from xmlschema.testing import etree_elements_assert_equal
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_helpers (unittest.loader._FailedTest.tests.test_helpers)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_helpers
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_helpers.py", line 17, in <module>
261s     from xmlschema import XMLSchema, XMLSchemaParseError
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_resources (unittest.loader._FailedTest.tests.test_resources)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_resources
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_resources.py", line 30, in <module> 261s from xmlschema import fetch_namespaces, fetch_resource, normalize_url, \ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_schemas (unittest.loader._FailedTest.tests.test_schemas)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_schemas
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_schemas.py", line 15, in <module>
261s     from xmlschema.testing import get_test_program_args_parser, \
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_validation (unittest.loader._FailedTest.tests.test_validation)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_validation
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_validation.py", line 15, in <module>
261s     from xmlschema.testing import get_test_program_args_parser, \
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_w3c_suite (unittest.loader._FailedTest.tests.test_w3c_suite)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_w3c_suite
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_w3c_suite.py", line 24, in <module> 261s from xmlschema import validate, XMLSchema10, XMLSchema11, XMLSchemaException 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_wsdl (unittest.loader._FailedTest.tests.test_wsdl)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_wsdl
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_wsdl.py", line 16, in <module> 261s from xmlschema import XMLSchemaValidationError, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.test_xpath (unittest.loader._FailedTest.tests.test_xpath)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.test_xpath
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_xpath.py", line 19, in <module> 261s from xmlschema import XMLSchema10, XMLSchema11, XsdElement, XsdAttribute 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validation.test_decoding (unittest.loader._FailedTest.tests.validation.test_decoding)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validation.test_decoding
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validation/test_decoding.py", line 25, in <module>
261s     import xmlschema
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validation.test_encoding (unittest.loader._FailedTest.tests.validation.test_encoding)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validation.test_encoding
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validation/test_encoding.py", line 23, in <module> 261s from xmlschema import XMLSchemaEncodeError, XMLSchemaValidationError 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validation.test_validation (unittest.loader._FailedTest.tests.validation.test_validation)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validation.test_validation
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validation/test_validation.py", line 22, in <module>
261s     import xmlschema
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_attributes (unittest.loader._FailedTest.tests.validators.test_attributes)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_attributes
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_attributes.py", line 14, in <module>
261s     from xmlschema import XMLSchemaParseError, XMLSchemaValidationError
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_builtins (unittest.loader._FailedTest.tests.validators.test_builtins)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_builtins
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_builtins.py", line 15, in <module>
261s     from xmlschema import XMLSchemaDecodeError, XMLSchemaEncodeError, \
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_complex_types (unittest.loader._FailedTest.tests.validators.test_complex_types)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_complex_types
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_complex_types.py", line 14, in <module>
261s     from xmlschema import XMLSchemaParseError, XMLSchemaModelError
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_elements (unittest.loader._FailedTest.tests.validators.test_elements)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_elements
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_elements.py", line 13, in <module>
261s     from xmlschema import XMLSchemaParseError
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_exceptions (unittest.loader._FailedTest.tests.validators.test_exceptions)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_exceptions
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_exceptions.py", line 20, in <module>
261s     from xmlschema import XMLSchema, XMLResource
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_facets (unittest.loader._FailedTest.tests.validators.test_facets)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_facets
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_facets.py", line 17, in <module> 261s from xmlschema import XMLSchema10, XMLSchema11, XMLSchemaValidationError, \ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_global_maps (unittest.loader._FailedTest.tests.validators.test_global_maps)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_global_maps
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_global_maps.py", line 13, in <module>
261s     from xmlschema import XMLSchema10, XMLSchema11
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_groups (unittest.loader._FailedTest.tests.validators.test_groups)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_groups
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_groups.py", line 14, in <module>
261s     from xmlschema import XMLSchemaModelError, XMLSchemaModelDepthError
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_identities (unittest.loader._FailedTest.tests.validators.test_identities)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_identities
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_identities.py", line 13, in <module>
261s     from xmlschema import XMLSchemaParseError, XMLSchemaValidationError
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_models (unittest.loader._FailedTest.tests.validators.test_models)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_models
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_models.py", line 17, in <module>
261s     from xmlschema import XMLSchema10, XMLSchema11
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_notations (unittest.loader._FailedTest.tests.validators.test_notations)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_notations
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_notations.py", line 13, in <module>
261s     from xmlschema import XMLSchemaParseError
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_particles (unittest.loader._FailedTest.tests.validators.test_particles)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_particles
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_particles.py", line 14, in <module>
261s     from xmlschema import XMLSchema10, XMLSchemaParseError
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_schemas (unittest.loader._FailedTest.tests.validators.test_schemas)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_schemas
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_schemas.py", line 23, in <module> 261s from xmlschema import XMLSchemaParseError, XMLSchemaIncludeWarning, XMLSchemaImportWarning 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_simple_types (unittest.loader._FailedTest.tests.validators.test_simple_types)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_simple_types
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_simple_types.py", line 13, in <module>
261s     from xmlschema import XMLSchemaParseError, XMLSchemaValidationError
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_wildcards (unittest.loader._FailedTest.tests.validators.test_wildcards)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_wildcards
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_wildcards.py", line 13, in <module>
261s     from xmlschema import XMLSchemaParseError
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: tests.validators.test_xsdbase (unittest.loader._FailedTest.tests.validators.test_xsdbase)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: tests.validators.test_xsdbase
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
261s     module = self._get_module_from_name(name)
261s              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/validators/test_xsdbase.py", line 22, in <module> 261s from xmlschema.validators import XsdValidator, XsdComponent, XMLSchema10, XMLSchema11, \ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s ERROR: xmlschema (unittest.loader._FailedTest.xmlschema)
261s ----------------------------------------------------------------------
261s ImportError: Failed to import test module: xmlschema
261s Traceback (most recent call last):
261s File "/usr/lib/python3.12/unittest/loader.py", line 427, in _find_test_path
261s     package = self._get_module_from_name(name)
261s               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3.12/unittest/loader.py", line 337, in _get_module_from_name
261s     __import__(name)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ======================================================================
261s FAIL: test_element_tree_import_script (tests.test_etree_import.TestElementTreeImport.test_element_tree_import_script)
261s ----------------------------------------------------------------------
261s Traceback (most recent call last):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/test_etree_import.py", line 52, in test_element_tree_import_script
261s     self.assertIn("\nTest OK:", process.stdout.decode('utf-8'),
261s AssertionError: '\nTest OK:' not found in 'Importing ElementTree after xmlschema ...\n' : Wrong import of ElementTree after xmlschema:
261s
261s Traceback (most recent call last):
261s File "/tmp/autopkgtest.1QCoTU/build.TCq/src/tests/check_etree_import.py", line 30, in <module>
261s     import xmlschema.etree
261s File "/usr/lib/python3/dist-packages/xmlschema/__init__.py", line 20, in <module> 261s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter 261s File "/usr/lib/python3/dist-packages/xmlschema/dataobjects.py", line 27, in <module>
261s     from . import validators
261s File "/usr/lib/python3/dist-packages/xmlschema/validators/__init__.py", line 38, in <module> 261s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 261s File "/usr/lib/python3/dist-packages/xmlschema/validators/schemas.py", line 2137, in <module>
261s     class XMLSchema10(XMLSchemaBase):
261s File "/usr/lib/python3/dist-packages/xmlschema/validators/schemas.py", line 148, in __new__ 261s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/usr/lib/python3/dist-packages/xmlschema/validators/schemas.py", line 763, in create_meta_schema 261s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 261s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 261s File "/usr/lib/python3/dist-packages/xmlschema/validators/schemas.py", line 357, in __init__
261s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
261s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3/dist-packages/xmlschema/resources.py", line 511, in __init__
261s     self.parse(source, lazy)
261s File "/usr/lib/python3/dist-packages/xmlschema/resources.py", line 746, in parse
261s     url = normalize_url(source, self._base_url)
261s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3/dist-packages/xmlschema/resources.py", line 188, in normalize_url
261s     path = _PurePath.from_uri(url)
261s            ^^^^^^^^^^^^^^^^^^^^^^^
261s File "/usr/lib/python3/dist-packages/xmlschema/resources.py", line 109, in from_uri
261s     return cls(uri)
261s            ^^^^^^^^
261s File "/usr/lib/python3/dist-packages/xmlschema/resources.py", line 98, in __new__
261s     return cast('_PurePath', cls._from_parts(args))
261s                              ^^^^^^^^^^^^^^^
261s AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'?
261s
261s
261s ----------------------------------------------------------------------
261s Ran 56 tests in 0.303s
261s
261s FAILED (failures=1, errors=33, skipped=5)
262s autopkgtest [18:59:12]: test command1: -----------------------]

Reply via email to