[Python-apps-team] Bug#955149: python3-pydocstyle: pydocstyle.config Deprecation warning during 'from collections import Set'

Shane Loretz sloretz at openrobotics.org
Fri Mar 27 19:14:36 GMT 2020


Package: python3-pydocstyle
Version: 2.1.1-1
Severity: minor
Tags: upstream

Dear Maintainer,

This package emits a DeprecationWarning during an import. The issue is known
upstream and has been fixed in this commit:
https://github.com/PyCQA/pydocstyle/pull/324/commits/5f216c27f09fa95647fa5496d5ed056772e009a5

Would you be willing to apply that commit here?

To reproduce:

python3 -Walways -c 'import pydocstyle.config'

Output:

/usr/lib/python3/dist-packages/pydocstyle/config.py:6: DeprecationWarning:
Using or importing the ABCs from 'collections' instead of from
'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop
working
  from collections import Set, namedtuple


Cheers,
Shane


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.15.0-91-generic (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages python3-pydocstyle depends on:
ii  python3                  3.8.2-2
ii  python3-six              1.14.0-2
ii  python3-snowballstemmer  2.0.0-1

python3-pydocstyle recommends no packages.

python3-pydocstyle suggests no packages.

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/python-apps-team/attachments/20200327/1fb4a4ca/attachment-0001.html>


More information about the Python-apps-team mailing list