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:xarray-safe-rcm
Version: 2023.06.1-2
Severity: important
Tags: sid trixie
User: debian-pyt...@lists.debian.org
Usertags: python3.12

xarray-safe-rcm's autopkg tests fail with Python 3.12:

[...]
231s I: pybuild base:310: cd /tmp/autopkgtest.nZIXML/autopkgtest_tmp/build; python3.12 -m pytest -k "not test_strip_namespaces" --pyargs safe_rcm 232s ============================= test session starts ==============================
232s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0
232s rootdir: /tmp/autopkgtest.nZIXML/autopkgtest_tmp/build
232s plugins: hypothesis-6.88.4
232s collected 0 items / 1 error
232s
232s ==================================== ERRORS ==================================== 232s _________________ ERROR collecting tests/test_product_utils.py _________________
232s /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call
232s     result: Optional[TResult] = func()
232s /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda>
232s call = CallInfo.from_call(lambda: list(collector.collect()), "collect")
232s /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect
232s     self._inject_setup_module_fixture()
232s /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture
232s     self.obj, ("setUpModule", "setup_module")
232s /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj
232s     self._obj = obj = self._getobj()
232s /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj
232s     return self._importtestmodule()
232s /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule 232s mod = import_path(self.path, mode=importmode, root=self.config.rootpath)
232s /usr/lib/python3/dist-packages/_pytest/pathlib.py:567: in import_path
232s     importlib.import_module(module_name)
232s /usr/lib/python3.12/importlib/__init__.py:90: in import_module
232s     return _bootstrap._gcd_import(name[level:], package, level)
232s <frozen importlib._bootstrap>:1381: in _gcd_import
232s     ???
232s <frozen importlib._bootstrap>:1354: in _find_and_load
232s     ???
232s <frozen importlib._bootstrap>:1325: in _find_and_load_unlocked
232s     ???
232s <frozen importlib._bootstrap>:929: in _load_unlocked
232s     ???
232s /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in exec_module
232s     exec(co, module.__dict__)
232s /usr/lib/python3/dist-packages/safe_rcm/tests/test_product_utils.py:7: in <module>
232s     from safe_rcm.product import utils
232s /usr/lib/python3/dist-packages/safe_rcm/__init__.py:3: in <module>
232s     from .api import open_rcm  # noqa: F401
232s /usr/lib/python3/dist-packages/safe_rcm/api.py:11: in <module>
232s     from .calibrations import read_noise_levels
232s /usr/lib/python3/dist-packages/safe_rcm/calibrations.py:10: in <module>
232s     from safe_rcm.product.reader import execute
232s /usr/lib/python3/dist-packages/safe_rcm/product/reader.py:7: in <module>
232s     from ..xml import read_xml
232s /usr/lib/python3/dist-packages/safe_rcm/xml.py:6: in <module>
232s     import xmlschema
232s /usr/lib/python3/dist-packages/xmlschema/__init__.py:20: in <module>
232s from .dataobjects import DataElement, DataElementConverter, DataBindingConverter
232s /usr/lib/python3/dist-packages/xmlschema/dataobjects.py:27: in <module>
232s     from . import validators
232s /usr/lib/python3/dist-packages/xmlschema/validators/__init__.py:38: in <module> 232s from .schemas import XMLSchemaMeta, XMLSchemaBase, XMLSchema, XMLSchema10, XMLSchema11 232s /usr/lib/python3/dist-packages/xmlschema/validators/schemas.py:2137: in <module>
232s     class XMLSchema10(XMLSchemaBase):
232s /usr/lib/python3/dist-packages/xmlschema/validators/schemas.py:148: in __new__ 232s meta_schema = meta_schema_class.create_meta_schema(meta_schema_file) 232s /usr/lib/python3/dist-packages/xmlschema/validators/schemas.py:763: in create_meta_schema 232s meta_schema = meta_schema_class(source, XSD_NAMESPACE, global_maps=global_maps, 232s /usr/lib/python3/dist-packages/xmlschema/validators/schemas.py:357: in __init__
232s     self.source = XMLResource(source, base_url, allow, defuse, timeout)
232s /usr/lib/python3/dist-packages/xmlschema/resources.py:511: in __init__
232s     self.parse(source, lazy)
232s /usr/lib/python3/dist-packages/xmlschema/resources.py:746: in parse
232s     url = normalize_url(source, self._base_url)
232s /usr/lib/python3/dist-packages/xmlschema/resources.py:188: in normalize_url
232s     path = _PurePath.from_uri(url)
232s /usr/lib/python3/dist-packages/xmlschema/resources.py:109: in from_uri
232s     return cls(uri)
232s /usr/lib/python3/dist-packages/xmlschema/resources.py:98: in __new__
232s     return cast('_PurePath', cls._from_parts(args))
232s E AttributeError: type object '_PurePosixPath' has no attribute '_from_parts'. Did you mean: '_load_parts'? 232s =============================== warnings summary ===============================
232s ../../../../usr/lib/python3/dist-packages/pytz/__init__.py:30
232s /usr/lib/python3/dist-packages/pytz/__init__.py:30: SyntaxWarning: invalid escape sequence '\s'
232s     match = re.match("^#\s*version\s*([0-9a-z]*)\s*$", line)
232s
232s ../../../../usr/lib/python3/dist-packages/dateutil/tz/tz.py:37
232s /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
232s     EPOCH = datetime.datetime.utcfromtimestamp(0)
232s
232s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
232s =========================== short test summary info ============================ 232s ERROR tests/test_product_utils.py - AttributeError: type object '_PurePosixPa... 232s !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! 232s ========================= 2 warnings, 1 error in 1.04s ========================= 232s E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=2: cd /tmp/autopkgtest.nZIXML/autopkgtest_tmp/build; python3.12 -m pytest -k "not test_strip_namespaces" --pyargs safe_rcm 232s I: pybuild base:310: cd /tmp/autopkgtest.nZIXML/autopkgtest_tmp/build; python3.11 -m pytest -k "not test_strip_namespaces" --pyargs safe_rcm 233s ============================= test session starts ==============================
233s platform linux -- Python 3.11.6, pytest-7.4.3, pluggy-1.3.0
233s rootdir: /tmp/autopkgtest.nZIXML/autopkgtest_tmp/build
233s plugins: hypothesis-6.88.4
233s collected 2 items / 1 deselected / 1 selected
233s
235s tests/test_product_utils.py . [100%]
235s
235s ======================= 1 passed, 1 deselected in 2.60s ======================== 235s pybuild-autopkgtest: error: pybuild --autopkgtest --test-pytest -i python{version} -p "3.12 3.11" returned exit code 13
--- 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