Your message dated Thu, 10 Jan 2019 11:50:34 +0000
with message-id <[email protected]>
and subject line Bug#917603: fixed in pyyaml 3.13-2
has caused the Debian Bug report #917603,
regarding python3-yaml: DeprecationWarning: Using or importing the ABCs from 
'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it 
will stop working
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 [email protected]
immediately.)


-- 
917603: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=917603
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-yaml
Version: 3.13-1
Severity: normal

Hi,

I spotted this in the CI job of britney2[1].

"""
tests/test_autopkgtest.py::T::test_alternative_gcc
  /usr/lib/python3/dist-packages/yaml/constructor.py:126: DeprecationWarning: 
Using or importing the ABCs from 'collections' instead of from 
'collections.abc' is deprecated, and in 3.8 it will stop working
    if not isinstance(key, collections.Hashable):
"""

The code in question at the time of reporting (highlighed with "^"-marks):

"""
    def construct_mapping(self, node, deep=False):
        if not isinstance(node, MappingNode):
            raise ConstructorError(None, None,
                    "expected a mapping node, but found %s" % node.id,
                    node.start_mark)
        mapping = {}
        for key_node, value_node in node.value:
            key = self.construct_object(key_node, deep=deep)
            if not isinstance(key, collections.Hashable):
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                raise ConstructorError("while constructing a mapping", 
node.start_mark,
                        "found unhashable key", key_node.start_mark)
            value = self.construct_object(value_node, deep=deep)
            mapping[key] = value
        return mapping
"""

Presumably this is (or will be) fixed in a new upstream release but it
might make sense to cherry-pick that fix for buster to avoid breakage
in sid + buster at the moment.

Thanks,
~Niels

[1] https://salsa.debian.org/release-team/britney2/-/jobs/99062

--- End Message ---
--- Begin Message ---
Source: pyyaml
Source-Version: 3.13-2

We believe that the bug you reported is fixed in the latest version of
pyyaml, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Simon McVittie <[email protected]> (supplier of updated pyyaml 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 10 Jan 2019 11:09:51 +0000
Source: pyyaml
Binary: python-yaml python-yaml-dbg python3-yaml python3-yaml-dbg
Architecture: source
Version: 3.13-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Simon McVittie <[email protected]>
Description:
 python-yaml - YAML parser and emitter for Python
 python-yaml-dbg - YAML parser and emitter for Python (debug build)
 python3-yaml - YAML parser and emitter for Python3
 python3-yaml-dbg - YAML parser and emitter for Python3 (debug build)
Closes: 917603
Changes:
 pyyaml (3.13-2) unstable; urgency=medium
 .
   * Team upload
 .
   [ Scott Kitterman ]
   * Remove obsolete build-depends on quilt
 .
   [ Simon McVittie ]
   * Apply patch from upstream PR #181 to fix deprecation warning for
     import of collections.Hashable, which won't work in Python 3.8.
     Thanks to Niels Thykier. (Closes: #917603)
   * Standards-Version: 4.3.0 (no changes required)
   * Set Rules-Requires-Root to no
   * d/p/0001-support-high-codepoints.patch.patch:
     Add attribution
   * Explicitly use #!/bin/sh for autopkgtest scripts
   * Include debug symbols in python[3]-yaml-dbg instead of creating -dbgsym
     packages
   * Enable autopkgtest-pkg-python tests in addition to the ones in d/tests
   * Skip build-time tests if nocheck is in DEB_BUILD_OPTIONS
Checksums-Sha1:
 945e88fabd75fcba7f65ba4bdebc4484d784845a 2290 pyyaml_3.13-2.dsc
 14e6a845368581fd4c9f3675240b6544a5fdce89 8368 pyyaml_3.13-2.debian.tar.xz
 37287d68e70188c1ebc267d686c3ce364f15c65b 6853 pyyaml_3.13-2_source.buildinfo
Checksums-Sha256:
 292f2ca63de92cf3d65928f5f7a1c0268da32d6b449f57c0150e2536d5b1eb8c 2290 
pyyaml_3.13-2.dsc
 90c9cf7ce4abaea51e7b4269c8d7e5920d70cc3275ddd9d5762eb72ba4a5f343 8368 
pyyaml_3.13-2.debian.tar.xz
 30c262ed569f4583b7ea3c3b4e87a40ff529926d6a6a248d622806fa458c95c8 6853 
pyyaml_3.13-2_source.buildinfo
Files:
 f514a7351bb84b8253d1c6d07b43d56c 2290 python optional pyyaml_3.13-2.dsc
 b97f165b94b3eb5fcd3052e10a106d33 8368 python optional 
pyyaml_3.13-2.debian.tar.xz
 1af74c0da3df141883058c5e7632f01c 6853 python optional 
pyyaml_3.13-2_source.buildinfo

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

iQIzBAEBCAAdFiEENuxaZEik9e95vv6Y4FrhR4+BTE8FAlw3Ll8ACgkQ4FrhR4+B
TE/BWQ//Wy8sZcXXZvI8HyGPtlvrcKCuHZyZSbSlWGgM/uHL6dbaBC7hvCqdQZnj
pPI0xBAWrTu9dJjeZkAd7hue5yHWAttP0O9my4i5VHxq3G5/vnPCvYYrDYvZjig/
U6BBQdkClJ/wuoUYmj5ekD4Jh6ZfVdpnejdGFg+sdGeNbYrkqR9yzDcmbezHQZte
dTba2Py2AL61BfTgNkRuswlZ2jiAbirH1x+807pmSk4XRRJyn7sGfUI5u2gDLVpN
wLJp7r+/uk6V2VybWAjCPBWJqzS0rLrtacfZKsnnnpv6a80kMVlqOXOUCWXEm7uc
YmJJC3bAboGqsy3sPPveZMDoWKZGaXjjccwu41IDHmD6NCCwXHPAGDRnIG5M6lS+
Q5g3vj5emtdHMylvfqIM/3qfmfSbbVkvb2SJI/wjpAApOAnk+hXe4cZZNi25C8Kr
tNh9Gbgdbue4/QBxtCH+PZlGQds4cidA8kbNofjlNIyhg7aVgHWdD6MJffRKJEdY
MS6maEe49OTZ4vTQytOnBMp+ZUNL2dHBBF2MlI0j6kriyv2e0aW1FLRPaYXnrTad
+hjg+dCMVrPa6hYWq2Vcb6LUni7SWuaNVi7oT79VpNN9TQnqnBoUpPOB4c9+AMrY
tq9+j5rbwWrRdfMQPlIAChDIIEyO5UBbyTKw9zWkSdFLSo/Q9bg=
=ZOVK
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to