Bug#1056525: sarsen's autopkg tests fail with Python 3.12
Antonio Valentino
antonio.valentino at tiscali.it
Sat Nov 25 15:49:18 GMT 2023
Dear Matthias,
On Wed, 22 Nov 2023 16:40:45 +0100 Matthias Klose <doko at debian.org> wrote:
> Package: src:sarsen
> Version: 0.9.3+ds-2
> Severity: important
> Tags: sid trixie
> User: debian-python at lists.debian.org
> Usertags: python3.12
>
> sarsen's autopkg tests fail with Python 3.12:
>
> [...]
> 624s import xarray_sentinel
> 624s File
> "/usr/lib/python3/dist-packages/xarray_sentinel/__init__.py", line 23,
> in <module>
> 624s from .esa_safe import make_stac_item
> 624s File
> "/usr/lib/python3/dist-packages/xarray_sentinel/esa_safe.py", line 8, in
> <module>
> 624s import xmlschema
> 624s File "/usr/lib/python3/dist-packages/xmlschema/__init__.py", line
> 20, in <module>
> 624s from .dataobjects import DataElement, DataElementConverter,
> DataBindingConverter
> 624s File "/usr/lib/python3/dist-packages/xmlschema/dataobjects.py",
> line 27, in <module>
> 624s from . import validators
> 624s File
> "/usr/lib/python3/dist-packages/xmlschema/validators/__init__.py", line
> 38, in <module>
> 624s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema,
> XMLSchema10, XMLSchema11
> 624s File
> "/usr/lib/python3/dist-packages/xmlschema/validators/schemas.py", line
> 2137, in <module>
> 624s class XMLSchema10(XMLSchemaBase):
> 624s File
> "/usr/lib/python3/dist-packages/xmlschema/validators/schemas.py", line
> 148, in __new__
> 624s meta_schema =
> meta_schema_class.create_meta_schema(meta_schema_file)
> 624s
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 624s File
> "/usr/lib/python3/dist-packages/xmlschema/validators/schemas.py", line
> 763, in create_meta_schema
> 624s meta_schema = meta_schema_class(source, XSD_NAMESPACE,
> global_maps=global_maps,
> 624s
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 624s File
> "/usr/lib/python3/dist-packages/xmlschema/validators/schemas.py", line
> 357, in __init__
> 624s self.source = XMLResource(source, base_url, allow, defuse, timeout)
> 624s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 624s File "/usr/lib/python3/dist-packages/xmlschema/resources.py",
> line 511, in __init__
> 624s self.parse(source, lazy)
> 624s File "/usr/lib/python3/dist-packages/xmlschema/resources.py",
> line 746, in parse
> 624s url = normalize_url(source, self._base_url)
> 624s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 624s File "/usr/lib/python3/dist-packages/xmlschema/resources.py",
> line 188, in normalize_url
> 624s path = _PurePath.from_uri(url)
> 624s ^^^^^^^^^^^^^^^^^^^^^^^
> 624s File "/usr/lib/python3/dist-packages/xmlschema/resources.py",
> line 109, in from_uri
> 624s return cls(uri)
> 624s ^^^^^^^^
> 624s File "/usr/lib/python3/dist-packages/xmlschema/resources.py",
> line 98, in __new__
> 624s return cast('_PurePath', cls._from_parts(args))
> 624s ^^^^^^^^^^^^^^^
> 624s AttributeError: type object '_PurePosixPath' has no attribute
> '_from_parts'. Did you mean: '_load_parts'?
> 624s autopkgtest [20:06:43]: test autodep8-python3: -----------------------]
> 624s autopkgtest [20:06:43]: test autodep8-python3: - - - - - - - - - -
> results - - - - - - - - - -
> 624s autodep8-python3 FAIL non-zero exit status 1
This seems to be an issue related to xmlschema.
I will reassign.
cheers
--
Antonio Valentino
More information about the Pkg-grass-devel
mailing list