Bug#1056540: xarray-sentinel's autopkg tests fail with Python 3.12

Antonio Valentino antonio.valentino at tiscali.it
Sat Nov 25 15:13:29 GMT 2023


Dear Matthias,

On Wed, 22 Nov 2023 17:11:47 +0100 Matthias Klose <doko at debian.org> wrote:
> Package: src:xarray-sentinel
> Version: 0.9.5+ds-2
> Severity: important
> Tags: sid trixie
> User: debian-python at lists.debian.org
> Usertags: python3.12
> 
> xarray-sentinel's autopkg tests fail with Python 3.12:
> 
> [...]

> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 666s   File 
> "/usr/lib/python3/dist-packages/xmlschema/validators/schemas.py", line 
> 357, in __init__
> 666s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
> 666s                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 666s   File "/usr/lib/python3/dist-packages/xmlschema/resources.py", 
> line 511, in __init__
> 666s     self.parse(source, lazy)
> 666s   File "/usr/lib/python3/dist-packages/xmlschema/resources.py", 
> line 746, in parse
> 666s     url = normalize_url(source, self._base_url)
> 666s           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 666s   File "/usr/lib/python3/dist-packages/xmlschema/resources.py", 
> line 188, in normalize_url
> 666s     path = _PurePath.from_uri(url)
> 666s            ^^^^^^^^^^^^^^^^^^^^^^^
> 666s   File "/usr/lib/python3/dist-packages/xmlschema/resources.py", 
> line 109, in from_uri
> 666s     return cls(uri)
> 666s            ^^^^^^^^
> 666s   File "/usr/lib/python3/dist-packages/xmlschema/resources.py", 
> line 98, in __new__
> 666s     return cast('_PurePath', cls._from_parts(args))
> 666s                              ^^^^^^^^^^^^^^^
> 666s AttributeError: type object '_PurePosixPath' has no attribute 
> '_from_parts'. Did you mean: '_load_parts'?
> 666s autopkgtest [19:38:02]: test autodep8-python3: -----------------------]


This seems to be an issue related to xmlschema.
I will reassign.

thanks
-- 
Antonio Valentino



More information about the Pkg-grass-devel mailing list