Bug#911868: FutureWarning: Possible nested set at position 25

2018-11-21 Thread Awtul
Package: apt-listchanges
Version: 3.17
Followup-For: Bug #911868

I confirm the bug. I only get that apt-listchanges "thing" when I run aptitude; 
I don't get it if I run apt-get.

It started to happen after today upgrades.

I join the apt/history.log

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

Kernel: Linux 4.18.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_ES:es (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages apt-listchanges depends on:
ii  apt1.8.0~alpha2
ii  debconf [debconf-2.0]  1.5.69
ii  python33.7.1-2
ii  python3-apt1.7.0
ii  python3-debconf1.5.69
ii  sensible-utils 0.0.12
ii  ucf3.0038

apt-listchanges recommends no packages.

Versions of packages apt-listchanges suggests:
ii  chromium [www-browser] 70.0.3538.110-1
ii  exim4-daemon-light [mail-transport-agent]  4.91-8+b1
ii  lxterminal [x-terminal-emulator]   0.3.2-1
ii  lynx [www-browser] 2.8.9rel.1-2
pn  python3-gi 
ii  terminator [x-terminal-emulator]   1.91-1
ii  xterm [x-terminal-emulator]337-1

-- debconf information:
* apt-listchanges/which: news
* apt-listchanges/email-address: root
  apt-listchanges/no-network: false
* apt-listchanges/confirm: false
  apt-listchanges/headers: false
* apt-listchanges/save-seen: true
  apt-listchanges/reverse: false
  apt-listchanges/email-format: text
* apt-listchanges/frontend: pager
Start-Date: 2018-11-21  21:59:22
Install: libllvm7:amd64 (1:7.0.1~+rc2-4, automatic), python3.7:amd64 (3.7.1-1, 
automatic), chromium-sandbox:amd64 (70.0.3538.110-1, automatic), 
python3.7-minimal:amd64 (3.7.1-1, automatic), libboost-iostreams1.67.0:amd64 
(1.67.0-10, automatic), libboost-system1.67.0:amd64 (1.67.0-10, automatic)
Upgrade: perl-base:amd64 (5.28.0-3, 5.28.0-4), libldb1:amd64 (2:1.4.2-4, 
2:1.4.3-2), libpangoft2-1.0-0:amd64 (1.42.4-3, 1.42.4-4), libcups2:amd64 
(2.2.8-5, 2.2.9-2), gnupg-utils:amd64 (2.2.10-3, 2.2.11-1), gnupg-agent:amd64 
(2.2.10-3, 2.2.11-1), gpg-wks-client:amd64 (2.2.10-3, 2.2.11-1), 
qt5-gtk-platformtheme:amd64 (5.11.2+dfsg-5, 5.11.2+dfsg-7), libdw1:amd64 
(0.170-0.5, 0.175-1), gnupg-l10n:amd64 (2.2.10-3, 2.2.11-1), libssh-4:amd64 
(0.8.4-3, 0.8.5-1), libegl-mesa0:amd64 (18.1.9-1, 18.2.5-2), libwbclient0:amd64 
(2:4.9.1+dfsg-2, 2:4.9.2+dfsg-1), libsystemd0:amd64 (239-11, 239-13), 
libgs9:amd64 (9.25~dfsg-7, 9.26~dfsg-1), libkmod2:amd64 (25-1, 25-2), 
libglapi-mesa:amd64 (18.1.9-1, 18.2.5-2), python-gi:amd64 (3.30.1-2, 3.30.2-1), 
librsvg2-common:amd64 (2.44.8-3, 2.44.9-1), libelf1:amd64 (0.170-0.5, 0.175-1), 
at-spi2-core:amd64 (2.30.0-4, 2.30.0-5), perl-modules-5.28:amd64 (5.28.0-3, 
5.28.0-4), sudo:amd64 (1.8.23-2, 1.8.26-1), libqt5dbus5:amd64 (5.11.2+dfsg-5, 
5.11.2+dfsg-7), chromium:amd64 (70.0.3538.67-3, 70.0.3538.110-1), nano:amd64 
(3.1-1, 3.2-1), gpg-wks-server:amd64 (2.2.10-3, 2.2.11-1), netbase:amd64 (5.4, 
5.5), libxatracker2:amd64 (18.1.9-1, 18.2.5-2), libqt5widgets5:amd64 
(5.11.2+dfsg-5, 5.11.2+dfsg-7), gpg:amd64 (2.2.10-3, 2.2.11-1), python3:amd64 
(3.6.7-1, 3.7.1-2), gir1.2-pango-1.0:amd64 (1.42.4-3, 1.42.4-4), 
needrestart:amd64 (3.3-1, 3.3-2), udev:amd64 (239-11, 239-13), kmod:amd64 
(25-1, 25-2), libudev1:amd64 (239-11, 239-13), rsyslog:amd64 (8.39.0-1, 
8.39.0-2), libgbm1:amd64 (18.1.9-1, 18.2.5-2), libqt5printsupport5:amd64 
(5.11.2+dfsg-5, 5.11.2+dfsg-7), libqt5qml5:amd64 (5.11.2-2, 5.11.2-3), 
dirmngr:amd64 (2.2.10-3, 2.2.11-1), chromium-common:amd64 (70.0.3538.67-3, 
70.0.3538.110-1), libperl5.28:amd64 (5.28.0-3, 5.28.0-4), samba-libs:amd64 
(2:4.9.1+dfsg-2, 2:4.9.2+dfsg-1), libapr1:amd64 (1.6.3-3, 1.6.5-1), 
libpangoxft-1.0-0:amd64 (1.42.4-3, 1.42.4-4), libtiff5:amd64 
(4.0.9+git181026-1, 4.0.10-2), libqt5gui5:amd64 (5.11.2+dfsg-5, 5.11.2+dfsg-7), 
irssi-scripts:amd64 (20170711, 20181120), python3-minimal:amd64 (3.6.7-1, 
3.7.1-2), libpangocairo-1.0-0:amd64 (1.42.4-3, 1.42.4-4), libatspi2.0-0:amd64 
(2.30.0-4, 2.30.0-5), librsvg2-2:amd64 (2.44.8-3, 2.44.9-1), libjbig2dec0:amd64 
(0.15-1, 0.15-2), aptitude-common:amd64 (0.8.11-3, 0.8.11-6), 
libpython3-stdlib:amd64 (3.6.7-1, 3.7.1-2), tar:amd64 (1.30+dfsg-2, 
1.30+dfsg-3), systemd-sysv:amd64 (239-11, 239-13), libqt5webkit5:amd64 
(5.212.0~alpha2-17, 5.212.0~alpha2-17+b1), gpgv:amd64 (2.2.10-3, 2.2.11-1), 
libpam-systemd:amd64 (239-11, 239-13), systemd:amd64 (239-11, 239-13), 
libqt5core5a:amd64 (5.11.2+dfsg-5, 5.11.2+dfsg-7), libssh-gcrypt-4:amd64 
(0.8.4-3, 0.8.5-1), mlocate:amd64 (0.26-2, 0.26-3), libgl1-mesa-dri:amd64 
(18.1.9-1, 18.2.5-2), libsmbclient:amd64 (2:4.9.1+dfsg-2, 2:4.9.2+dfsg-1), 
openssh-client:amd64 (1:7.9p1-1, 1:7.9p1-4), 

Bug#911868: FutureWarning: Possible nested set at position 25

2018-10-25 Thread 積丹尼 Dan Jacobson
Package: apt-listchanges
Version: 3.17

/usr/share/apt-listchanges/apt_listchanges.py:540: FutureWarning: Possible 
nested set at position 25
  email_re = 
re.compile(r'([a-zA-Z0-9_\+\-\.]+)@(([[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)')