Your message dated Tue, 12 Dec 2023 15:05:40 +0000
with message-id <e1rd4kk-00568a...@fasolo.debian.org>
and subject line Bug#1056446: fixed in python-xmlschema 1.10.0-7
has caused the Debian Bug report #1056446,
regarding python-xmlschema: AttributeError: type object '_PurePosixPath' has no 
attribute '_from_parts'. Did you mean: '_load_parts'?
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1056446: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056446
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
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: -----------------------]

--- End Message ---
--- Begin Message ---
Source: python-xmlschema
Source-Version: 1.10.0-7
Done: Timo Röhling <roehl...@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-xmlschema, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1056...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Röhling <roehl...@debian.org> (supplier of updated python-xmlschema 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 12 Dec 2023 15:54:47 +0100
Source: python-xmlschema
Architecture: source
Version: 1.10.0-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Timo Röhling <roehl...@debian.org>
Closes: 1056446
Changes:
 python-xmlschema (1.10.0-7) unstable; urgency=medium
 .
   * Team upload.
   * Do not use PurePath implementation details (Closes: #1056446)
   * Fix test setup in d/rules
Checksums-Sha1:
 15765a5e6bc9fcdd3c6b218607aaa450c12fb804 2214 python-xmlschema_1.10.0-7.dsc
 46c3d0495dff8f75c321c2e758ce465ea4258f06 8556 
python-xmlschema_1.10.0-7.debian.tar.xz
 bcaa503b816eabb4883b373b0a9cd46df2e1c277 8505 
python-xmlschema_1.10.0-7_amd64.buildinfo
Checksums-Sha256:
 b21e4684ea1e849302a25cab94e7d7e39d4b3e85655915a8364ed8a2f2b2e8b6 2214 
python-xmlschema_1.10.0-7.dsc
 4f02f33fb49faa3c18a0d81ef479bf60cb2c28f1a8c740121a7459d87cf468e0 8556 
python-xmlschema_1.10.0-7.debian.tar.xz
 d5184c4b984e958b251c7c65331523811b94ee60e4a4d206645caab9b82735a8 8505 
python-xmlschema_1.10.0-7_amd64.buildinfo
Files:
 9251bff11795f4686507318a8aa0f1fb 2214 python optional 
python-xmlschema_1.10.0-7.dsc
 67dad8e8fc464d611e24d7b109ddbdb3 8556 python optional 
python-xmlschema_1.10.0-7.debian.tar.xz
 5db58fa0043c648f1728ce835e591dd8 8505 python optional 
python-xmlschema_1.10.0-7_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQHIBAEBCgAyFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmV4dUIUHHJvZWhsaW5n
QGRlYmlhbi5vcmcACgkQ+C8H+466LVlcMwv/dKNSVHwpKTt8DH3ixy7nCWbCRDru
eOx0Q8HC4zySc9AvJrx+yx1+D0HdasttLSJHS2EguLMOT5OT3sLc53Cm0mPkyy3/
WBziV5kFYZRlPv0amBy9ckSlPrQiLUciAxAnvYYzj4YvK0gWMvGcUQG7abP9JLAA
P0ZfoicxVov9X9vk7yYiPEsDDGKFDc0u8Z4g1VsT+PcO9VO7FZAIjwm9+BSPlsX5
Y3sTcxd7OlPC10k7YRwDOuwGcdtlqTQ6ktaVFx+uc2PrhIB48pCGT+hShbUp291C
uo17OmokDGHYpN1rkFsgRbP9R4w+0R2eH0kSnmMwDG0TH4QchEdgZ8+qvbEJXwgN
xnMw565A4U8KxScB/onZ5/7/cdUjqzXkzbhuIutisS0M/7x05Sjf+RTEoJhUcQcO
p5NJ4yK84Af6joNV4I5xwfeuW9qTYmv8vfn8IS+NcKZp1vrJpg+4nCxSFHN5uKQy
BR24PXUJUhu2OuCJ7Y8W21rjdrROhB27iABN
=R6Io
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to