Devuan logs - #571, boring messages


Message sent to [email protected], [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#571: bleachbit: python3 SyntaxWarning for __init__.py
Reply-To: Florian Zieboll <[email protected]>, [email protected]
Resent-From: Florian Zieboll <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected], [email protected]
X-Loop: [email protected]
Resent-Date: Mon, 22 Mar 2021 14:03:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: report 571
X-Devuan-PR-Package: bleachbit
X-Devuan-PR-Keywords: patch
Received: via spool by [email protected] id=B.16164210059074
          (code B); Mon, 22 Mar 2021 14:03:02 +0000
Received: (at submit) by bugs.devuan.org; 22 Mar 2021 13:50:05 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 22 Mar 2021 13:50:05 +0000 (UTC)
Received: from [127.0.0.1] (p509399e0.dip0.t-ipconnect.de [80.147.153.224])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 9742CF604E8
	for <[email protected]>; Mon, 22 Mar 2021 14:41:59 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Florian Zieboll <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Message-ID: <161642050775.4696.625178923352843150.reportbug@localhost>
Date: Mon, 22 Mar 2021 14:41:47 +0100
X-Spam-Status: No, score=1.2 required=5.0 tests=FREEMAIL_FROM,HELO_MISC_IP,
	KHOP_DYNAMIC,SPF_FAIL autolearn=disabled version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: bleachbit
Version: 3.9.0-1
Severity: minor
Tags: patch
X-Debbugs-Cc: [email protected]


Hello!

When installing Bleachbit, the python rtupdate hooks for python3.9 return a
Syntax warning for /usr/share/bleachbit/bleachbit/__init__.py:


  root@nulldevice:~# dpkg-reconfigure python3
  running python rtupdate hooks for python3.9...
  /usr/share/bleachbit/bleachbit/__init__.py:260: SyntaxWarning: "is not" with
a literal. Did you mean "!="?
    if msgctxt is not None and msgctxt is not "":
  running python post-rtupdate hooks for python3.9...


As expected, the following patch fixes the issue:

  260c260
  <     if msgctxt != None and msgctxt != "":
  ---
  >     if msgctxt is not None and msgctxt is not "":


Best regards,
Florian



-- System Information:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 4 (chimaera/ceres)
Release:        testing/unstable
Codename:       n/a
Architecture: x86_64

Kernel: Linux 5.10.0-4-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages bleachbit depends on:
ii  gir1.2-gtk-3.0    3.24.24-3
ii  libgtk-3-0        3.24.24-3
ii  policykit-1       0.105-30+devuan1
ii  python3           3.9.2-2
ii  python3-chardet   4.0.0-1
ii  python3-gi        3.38.0-2
ii  python3-requests  2.25.1+dfsg-2

bleachbit recommends no packages.

bleachbit suggests no packages.

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Florian Zieboll <[email protected]>
Subject: bug#571: Acknowledgement (bleachbit: python3 SyntaxWarning for
 __init__.py)
Message-ID: <[email protected]>
References: <161642050775.4696.625178923352843150.reportbug@localhost>
X-Devuan-PR-Message: ack 571
X-Devuan-PR-Package: bleachbit
X-Devuan-PR-Keywords: patch
Reply-To: [email protected]
Date: Mon, 22 Mar 2021 14:03:15 +0000

Thank you for filing a new bug report with Devuan.

You can follow progress on this bug here: 571: https://bugs.devuan.org/cgi/=
bugreport.cgi?bug=3D571.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
  [email protected]
(after having been given a bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

--=20
571: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D571
Devuan Bug Tracking System
Contact [email protected] with problems

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Florian Zieboll <[email protected]>
Subject: bug#571: marked as done (bleachbit: python3 SyntaxWarning for
 __init__.py)
Message-ID: <[email protected]>
References: <[email protected]>
 <161642050775.4696.625178923352843150.reportbug@localhost>
X-Devuan-PR-Message: closed 571
X-Devuan-PR-Package: bleachbit
X-Devuan-PR-Keywords: patch
Reply-To: [email protected]
Date: Mon, 22 Mar 2021 14:33:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1616423581-12027-0"

This is a multi-part message in MIME format...

------------=_1616423581-12027-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Mon, 22 Mar 2021 15:10:23 +0100
with message-id <[email protected]>
and subject line CLOSED
has caused the Devuan bug report #571,
regarding bleachbit: python3 SyntaxWarning for __init__.py
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.)


--=20
571: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D571
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1616423581-12027-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 22 Mar 2021 13:50:05 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 22 Mar 2021 13:50:05 +0000 (UTC)
Received: from [127.0.0.1] (p509399e0.dip0.t-ipconnect.de [80.147.153.224])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 9742CF604E8
	for <[email protected]>; Mon, 22 Mar 2021 14:41:59 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Florian Zieboll <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: bleachbit: python3 SyntaxWarning for __init__.py
Message-ID: <161642050775.4696.625178923352843150.reportbug@localhost>
Date: Mon, 22 Mar 2021 14:41:47 +0100
X-Spam-Status: No, score=1.2 required=5.0 tests=FREEMAIL_FROM,HELO_MISC_IP,
	KHOP_DYNAMIC,SPF_FAIL autolearn=disabled version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: bleachbit
Version: 3.9.0-1
Severity: minor
Tags: patch
X-Debbugs-Cc: [email protected]


Hello!

When installing Bleachbit, the python rtupdate hooks for python3.9 return a
Syntax warning for /usr/share/bleachbit/bleachbit/__init__.py:


  root@nulldevice:~# dpkg-reconfigure python3
  running python rtupdate hooks for python3.9...
  /usr/share/bleachbit/bleachbit/__init__.py:260: SyntaxWarning: "is not" with
a literal. Did you mean "!="?
    if msgctxt is not None and msgctxt is not "":
  running python post-rtupdate hooks for python3.9...


As expected, the following patch fixes the issue:

  260c260
  <     if msgctxt != None and msgctxt != "":
  ---
  >     if msgctxt is not None and msgctxt is not "":


Best regards,
Florian



-- System Information:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 4 (chimaera/ceres)
Release:        testing/unstable
Codename:       n/a
Architecture: x86_64

Kernel: Linux 5.10.0-4-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages bleachbit depends on:
ii  gir1.2-gtk-3.0    3.24.24-3
ii  libgtk-3-0        3.24.24-3
ii  policykit-1       0.105-30+devuan1
ii  python3           3.9.2-2
ii  python3-chardet   4.0.0-1
ii  python3-gi        3.38.0-2
ii  python3-requests  2.25.1+dfsg-2

bleachbit recommends no packages.

bleachbit suggests no packages.

------------=_1616423581-12027-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 571-done) by bugs.devuan.org; 22 Mar 2021 14:20:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 22 Mar 2021 14:20:02 +0000 (UTC)
Received: from mout.web.de (mout.web.de [212.227.17.12])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 1B2C4F604DA
	for <[email protected]>; Mon, 22 Mar 2021 15:10:37 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; secure) header.d=web.de [email protected] header.b="cwWrJfJZ";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
	s=dbaedf251592; t=1616422236;
	bh=KJttvQ7GUeeCSXcckQaHjAtwmLSObpjEckgkzLyxJJ0=;
	h=X-UI-Sender-Class:Date:From:To:Subject;
	b=cwWrJfJZ6L9t3oREeybUc1wcgyNO7RFInrK4x/wu1geSgAaVIXeFJ396sdleUxkS3
	 UJBn7+/yaYVCM3gtn49dtjoQaYyVA5VLKpLxwpP/WKZOSWaGdwL3Pj2qY7ohARr48w
	 Sdk2MrT9YWn7MbWpwRblSbJLAu/5pjbD6bAYunPs=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from nulldevice ([80.147.153.224]) by smtp.web.de (mrweb105
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MSIEs-1lDNxc26US-00SydG for
 <[email protected]>; Mon, 22 Mar 2021 15:10:36 +0100
Date: Mon, 22 Mar 2021 15:10:23 +0100
From: Florian Zieboll <[email protected]>
To: [email protected]
Subject: CLOSED
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:OQOvfApWvbrq/jolKZs3DfHtIC92rDB2UqcfIZAAsyl955Ujd8i
 1/tFLSXMXoQyCuXRUt7E1Lk1i0B3gO0FSUdZGxZQ4PJVVDha5rxKJkJehx1EVMx/xT3+0v3
 cWc+J0nqPxxahoDPhuzd20qxmDEdD/46pQBM40SYSy8/xIl2wLaGeNkVUGLcB/9dyAOzZVx
 PdLDrQhydtoa5ApMFgYww==
X-UI-Out-Filterresults: notjunk:1;V03:K0:53mzr4XjAgY=:ctOQU6+0AQafNWhwFQNZms
 ewFtR2+H72+wEPaJ49hltIDjWVC62cSpM24HdB2KqNNq48L+jvsupCcMGQeykV4OaBI/jgwni
 6fLzjfDOIS2qYLLTgsMiqBjCTiKMWfP+cI+jCGGzJdlNh4uvTQaDQiO50pmX01VO9ANk3Q45g
 23G88Ly505a208Bk/lhjHmaW9VeyyZWDp2emV9IHPCuNTz6WbhUX+SE8tuWdoJCGXIBGwxybM
 yTwlK8CIwApCmMAtWzTZ5p5kDB8suE0idGaZfuree4U0RWmR/DcDvYLOgcnUIyOSxwAEbJfq3
 vhoR7bxoDVQD3/hLQJaaa7oUGHM2fkiMWPE7iQxcVjfAVrcO0ugGvtQt0H3uv6G4FsW5xKdRC
 LaLC7+k1W1vYcmVE27/ny6VK1Tr7ghjGkmcAjfCsjs0aM93kJRPkDfMfFzLMAZA46RpS7ciNZ
 GcMMrP3R2+tCske1ik9yhJY990SxgbfD90FqPNDkzLdN53LJBbcqsGcKfrfB6m/FC0Fy1Qwmi
 Wh/4MEJGmUPw1pO02WiMhKb0Iiko5AK1mqpGjhRCWtNX/V3Ie5N34ZLdcPz0UiC2KFXJgAa8s
 9moZcZd9brY74yMr4pIoePk1YGDrXGGNINWjozUDFNC9LaITT1IlivYrspYDqPhT5mJkK8FEk
 mu6/fmquxq/51h11r+jmv6Tv8isenfHM0cY6sL38ePqzJtXZrM8bin0yMbWPfNgY1T5sLiisA
 ePMR3kT+rp+dq29BNTJbaxmJSl1zkaRTDNyYwL23MU9pGdQkahL8Vb+IIPvcy3rHQXEI2s/9v
 YSR1yISDWtdMeNhPCRCv6zgXMJDYJW3VoRY8g/gMpoISKbqviI/s59srnQhzM3o7KD/uNPfmV
 AVHUus0Zrb+x59/TF6Kw==
X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org


That was one click to quick,the bug is now filed in the Debian BTS:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D985707
------------=_1616423581-12027-0--

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Florian Zieboll <[email protected]>
Subject: bug#571 closed by Florian Zieboll <[email protected]> (CLOSED)
Message-ID: <[email protected]>
References: <[email protected]>
 <161642050775.4696.625178923352843150.reportbug@localhost>
X-Devuan-PR-Message: they-closed 571
X-Devuan-PR-Package: bleachbit
X-Devuan-PR-Keywords: patch
Reply-To: [email protected]
Date: Mon, 22 Mar 2021 14:33:04 +0000
Content-Type: multipart/mixed; boundary="----------=_1616423584-12027-1"

This is a multi-part message in MIME format...

------------=_1616423584-12027-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

This is an automatic notification regarding your bug report
which was filed against the bleachbit package:

#571: bleachbit: python3 SyntaxWarning for __init__.py

It has been closed by Florian Zieboll <[email protected]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Florian Zieboll <f.zie=
[email protected]> by
replying to this email.


--=20
571: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D571
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1616423584-12027-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 571-done) by bugs.devuan.org; 22 Mar 2021 14:20:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 22 Mar 2021 14:20:02 +0000 (UTC)
Received: from mout.web.de (mout.web.de [212.227.17.12])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 1B2C4F604DA
	for <[email protected]>; Mon, 22 Mar 2021 15:10:37 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; secure) header.d=web.de [email protected] header.b="cwWrJfJZ";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de;
	s=dbaedf251592; t=1616422236;
	bh=KJttvQ7GUeeCSXcckQaHjAtwmLSObpjEckgkzLyxJJ0=;
	h=X-UI-Sender-Class:Date:From:To:Subject;
	b=cwWrJfJZ6L9t3oREeybUc1wcgyNO7RFInrK4x/wu1geSgAaVIXeFJ396sdleUxkS3
	 UJBn7+/yaYVCM3gtn49dtjoQaYyVA5VLKpLxwpP/WKZOSWaGdwL3Pj2qY7ohARr48w
	 Sdk2MrT9YWn7MbWpwRblSbJLAu/5pjbD6bAYunPs=
X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9
Received: from nulldevice ([80.147.153.224]) by smtp.web.de (mrweb105
 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MSIEs-1lDNxc26US-00SydG for
 <[email protected]>; Mon, 22 Mar 2021 15:10:36 +0100
Date: Mon, 22 Mar 2021 15:10:23 +0100
From: Florian Zieboll <[email protected]>
To: [email protected]
Subject: CLOSED
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
X-Provags-ID: V03:K1:OQOvfApWvbrq/jolKZs3DfHtIC92rDB2UqcfIZAAsyl955Ujd8i
 1/tFLSXMXoQyCuXRUt7E1Lk1i0B3gO0FSUdZGxZQ4PJVVDha5rxKJkJehx1EVMx/xT3+0v3
 cWc+J0nqPxxahoDPhuzd20qxmDEdD/46pQBM40SYSy8/xIl2wLaGeNkVUGLcB/9dyAOzZVx
 PdLDrQhydtoa5ApMFgYww==
X-UI-Out-Filterresults: notjunk:1;V03:K0:53mzr4XjAgY=:ctOQU6+0AQafNWhwFQNZms
 ewFtR2+H72+wEPaJ49hltIDjWVC62cSpM24HdB2KqNNq48L+jvsupCcMGQeykV4OaBI/jgwni
 6fLzjfDOIS2qYLLTgsMiqBjCTiKMWfP+cI+jCGGzJdlNh4uvTQaDQiO50pmX01VO9ANk3Q45g
 23G88Ly505a208Bk/lhjHmaW9VeyyZWDp2emV9IHPCuNTz6WbhUX+SE8tuWdoJCGXIBGwxybM
 yTwlK8CIwApCmMAtWzTZ5p5kDB8suE0idGaZfuree4U0RWmR/DcDvYLOgcnUIyOSxwAEbJfq3
 vhoR7bxoDVQD3/hLQJaaa7oUGHM2fkiMWPE7iQxcVjfAVrcO0ugGvtQt0H3uv6G4FsW5xKdRC
 LaLC7+k1W1vYcmVE27/ny6VK1Tr7ghjGkmcAjfCsjs0aM93kJRPkDfMfFzLMAZA46RpS7ciNZ
 GcMMrP3R2+tCske1ik9yhJY990SxgbfD90FqPNDkzLdN53LJBbcqsGcKfrfB6m/FC0Fy1Qwmi
 Wh/4MEJGmUPw1pO02WiMhKb0Iiko5AK1mqpGjhRCWtNX/V3Ie5N34ZLdcPz0UiC2KFXJgAa8s
 9moZcZd9brY74yMr4pIoePk1YGDrXGGNINWjozUDFNC9LaITT1IlivYrspYDqPhT5mJkK8FEk
 mu6/fmquxq/51h11r+jmv6Tv8isenfHM0cY6sL38ePqzJtXZrM8bin0yMbWPfNgY1T5sLiisA
 ePMR3kT+rp+dq29BNTJbaxmJSl1zkaRTDNyYwL23MU9pGdQkahL8Vb+IIPvcy3rHQXEI2s/9v
 YSR1yISDWtdMeNhPCRCv6zgXMJDYJW3VoRY8g/gMpoISKbqviI/s59srnQhzM3o7KD/uNPfmV
 AVHUus0Zrb+x59/TF6Kw==
X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org


That was one click to quick,the bug is now filed in the Debian BTS:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D985707
------------=_1616423584-12027-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 22 Mar 2021 13:50:05 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 22 Mar 2021 13:50:05 +0000 (UTC)
Received: from [127.0.0.1] (p509399e0.dip0.t-ipconnect.de [80.147.153.224])
	by vm6.ganeti.dyne.org (Postfix) with ESMTP id 9742CF604E8
	for <[email protected]>; Mon, 22 Mar 2021 14:41:59 +0100 (CET)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Florian Zieboll <[email protected]>
To: Devuan Bug Tracking System <[email protected]>
Subject: bleachbit: python3 SyntaxWarning for __init__.py
Message-ID: <161642050775.4696.625178923352843150.reportbug@localhost>
Date: Mon, 22 Mar 2021 14:41:47 +0100
X-Spam-Status: No, score=1.2 required=5.0 tests=FREEMAIL_FROM,HELO_MISC_IP,
	KHOP_DYNAMIC,SPF_FAIL autolearn=disabled version=3.4.2
X-Spam-Level: *
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: bleachbit
Version: 3.9.0-1
Severity: minor
Tags: patch
X-Debbugs-Cc: [email protected]


Hello!

When installing Bleachbit, the python rtupdate hooks for python3.9 return a
Syntax warning for /usr/share/bleachbit/bleachbit/__init__.py:


  root@nulldevice:~# dpkg-reconfigure python3
  running python rtupdate hooks for python3.9...
  /usr/share/bleachbit/bleachbit/__init__.py:260: SyntaxWarning: "is not" with
a literal. Did you mean "!="?
    if msgctxt is not None and msgctxt is not "":
  running python post-rtupdate hooks for python3.9...


As expected, the following patch fixes the issue:

  260c260
  <     if msgctxt != None and msgctxt != "":
  ---
  >     if msgctxt is not None and msgctxt is not "":


Best regards,
Florian



-- System Information:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 4 (chimaera/ceres)
Release:        testing/unstable
Codename:       n/a
Architecture: x86_64

Kernel: Linux 5.10.0-4-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages bleachbit depends on:
ii  gir1.2-gtk-3.0    3.24.24-3
ii  libgtk-3-0        3.24.24-3
ii  policykit-1       0.105-30+devuan1
ii  python3           3.9.2-2
ii  python3-chardet   4.0.0-1
ii  python3-gi        3.38.0-2
ii  python3-requests  2.25.1+dfsg-2

bleachbit recommends no packages.

bleachbit suggests no packages.

------------=_1616423584-12027-1--

Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#571: bleachbit: python3 SyntaxWarning for __init__.py
Reply-To: Mark Hindley <[email protected]>, [email protected]
Resent-From: Mark Hindley <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Mon, 22 Mar 2021 18:03:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: followup 571
X-Devuan-PR-Package: bleachbit
X-Devuan-PR-Keywords: patch
References: <161642050775.4696.625178923352843150.reportbug@localhost> <161642050775.4696.625178923352843150.reportbug@localhost>
Received: via spool by [email protected] id=B571.161643540329420
          (code B ref 571); Mon, 22 Mar 2021 18:03:02 +0000
Received: (at 571) by bugs.devuan.org; 22 Mar 2021 17:50:03 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 22 Mar 2021 17:50:03 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 63EE7F60488
	for <[email protected]>; Mon, 22 Mar 2021 18:40:54 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1lOOXr-0004O5-1m; Mon, 22 Mar 2021 17:40:51 +0000
Received: (nullmailer pid 3953 invoked by uid 1000);
	Mon, 22 Mar 2021 17:40:49 -0000
Date: Mon, 22 Mar 2021 17:40:48 +0000
From: Mark Hindley <[email protected]>
To: Florian Zieboll <[email protected]>, [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <161642050775.4696.625178923352843150.reportbug@localhost>
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 debian
Control: forwarded -1 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974530

Florian,

Thanks for this.

On Mon, Mar 22, 2021 at 02:41:47PM +0100, Florian Zieboll wrote:
> Package: bleachbit
> Version: 3.9.0-1
> Severity: minor
> Tags: patch
> X-Debbugs-Cc: [email protected]
> 
> 
> Hello!
> 
> When installing Bleachbit, the python rtupdate hooks for python3.9 return a
> Syntax warning for /usr/share/bleachbit/bleachbit/__init__.py:

However bleachbit is not a forked package and Devuan uses Debian's packages
directly. This should be reported to Debian's BTS. Indeed a quick look shows
that it already has been: see https://bugs.debian.org/974530

Thanks.

Mark

Message received at [email protected]:


Received: (at 571) by bugs.devuan.org; 22 Mar 2021 17:50:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 22 Mar 2021 17:50:03 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 63EE7F60488
	for <[email protected]>; Mon, 22 Mar 2021 18:40:54 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1lOOXr-0004O5-1m; Mon, 22 Mar 2021 17:40:51 +0000
Received: (nullmailer pid 3953 invoked by uid 1000);
	Mon, 22 Mar 2021 17:40:49 -0000
Date: Mon, 22 Mar 2021 17:40:48 +0000
From: Mark Hindley <[email protected]>
To: Florian Zieboll <[email protected]>, [email protected]
Subject: Re: bug#571: bleachbit: python3 SyntaxWarning for __init__.py
Message-ID: <[email protected]>
References: <161642050775.4696.625178923352843150.reportbug@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <161642050775.4696.625178923352843150.reportbug@localhost>
X-Debbugs-No-Ack: No Thanks
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 debian
Control: forwarded -1 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974530

Florian,

Thanks for this.

On Mon, Mar 22, 2021 at 02:41:47PM +0100, Florian Zieboll wrote:
> Package: bleachbit
> Version: 3.9.0-1
> Severity: minor
> Tags: patch
> X-Debbugs-Cc: [email protected]
> 
> 
> Hello!
> 
> When installing Bleachbit, the python rtupdate hooks for python3.9 return a
> Syntax warning for /usr/share/bleachbit/bleachbit/__init__.py:

However bleachbit is not a forked package and Devuan uses Debian's packages
directly. This should be reported to Debian's BTS. Indeed a quick look shows
that it already has been: see https://bugs.debian.org/974530

Thanks.

Mark

Message received at [email protected]:


Received: (at 571) by bugs.devuan.org; 22 Mar 2021 17:50:03 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 22 Mar 2021 17:50:03 +0000 (UTC)
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 63EE7F60488
	for <[email protected]>; Mon, 22 Mar 2021 18:40:54 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1lOOXr-0004O5-1m; Mon, 22 Mar 2021 17:40:51 +0000
Received: (nullmailer pid 3953 invoked by uid 1000);
	Mon, 22 Mar 2021 17:40:49 -0000
Date: Mon, 22 Mar 2021 17:40:48 +0000
From: Mark Hindley <[email protected]>
To: Florian Zieboll <[email protected]>, [email protected]
Subject: Re: bug#571: bleachbit: python3 SyntaxWarning for __init__.py
Message-ID: <[email protected]>
References: <161642050775.4696.625178923352843150.reportbug@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <161642050775.4696.625178923352843150.reportbug@localhost>
X-Debbugs-No-Ack: No Thanks
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 debian
Control: forwarded -1 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=974530

Florian,

Thanks for this.

On Mon, Mar 22, 2021 at 02:41:47PM +0100, Florian Zieboll wrote:
> Package: bleachbit
> Version: 3.9.0-1
> Severity: minor
> Tags: patch
> X-Debbugs-Cc: [email protected]
> 
> 
> Hello!
> 
> When installing Bleachbit, the python rtupdate hooks for python3.9 return a
> Syntax warning for /usr/share/bleachbit/bleachbit/__init__.py:

However bleachbit is not a forked package and Devuan uses Debian's packages
directly. This should be reported to Debian's BTS. Indeed a quick look shows
that it already has been: see https://bugs.debian.org/974530

Thanks.

Mark

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Wed, 29 Jan 2025 20:39:01 UTC