Package: gramps
Version: 5.1.3-1
Severity: normal

Dear Maintainer,

Since Python3.8, "is" and "is not" checks produce SyntaxWarning when used with 
certains type of literals.

See release notes:
https://docs.python.org/3.8/whatsnew/3.8.html#changes-in-python-behavior

"The compiler now produces a SyntaxWarning when identity checks (is and is not) 
are used with certain types of literals (e.g. strings, numbers). These can 
often work by accident in CPython, but are not guaranteed by the language spec. 
The warning advises users to use equality tests (== and !=) instead."

Please, replace "is not" with "!=" in 
/usr/lib/python3/dist-packages/gramps/plugins/export/exportvcalendar.py - line 
205.

Regards,

Jean-Marc


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

Kernel: Linux 5.7.0-3-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gramps depends on:
ii  gir1.2-gtk-3.0    3.24.22-1
ii  librsvg2-2        2.48.8+dfsg-1
ii  python3           3.8.2-3
ii  python3-bsddb3    6.2.7-1.1+b1
ii  python3-gi        3.36.1-1
ii  python3-gi-cairo  3.36.1-1
ii  xdg-utils         1.1.3-2

Versions of packages gramps recommends:
ii  gir1.2-geocodeglib-1.0  3.26.2-2
ii  gir1.2-gexiv2-0.10      0.12.1-1
ii  gir1.2-osmgpsmap-1.0    1.1.0-7
ii  graphviz                2.42.2-4
ii  python3-icu             2.5-1

Versions of packages gramps suggests:
ii  fonts-freefont-ttf    20120503-10
ii  gir1.2-goocanvas-2.0  2.0.4-1
ii  gir1.2-gtkspell3-3.0  3.0.10-1
ii  python3-numpy         1:1.19.1-1
ii  python3-pil           7.2.0-1
pn  rcs                   <none>

-- no debconf information

Reply via email to