From unknown Fri Mar 29 14:42:05 2024 Received: (at submit) by bugs.devuan.org; 22 Mar 2021 13:50:05 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for (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 ; 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 To: Devuan Bug Tracking System 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: f.zieboll@web.de 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. From unknown Fri Mar 29 14:42:05 2024 Received: (at 571-done) by bugs.devuan.org; 22 Mar 2021 14:20:02 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for (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 <571-done@bugs.devuan.org>; 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 header.i=@web.de 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 <571-done@bugs.devuan.org>; Mon, 22 Mar 2021 15:10:36 +0100 Date: Mon, 22 Mar 2021 15:10:23 +0100 From: Florian Zieboll To: 571-done@bugs.devuan.org Subject: CLOSED Message-ID: <20210322151023.268ddabb.f.zieboll@web.de> 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 From unknown Fri Mar 29 14:42:05 2024 Received: (at 571) by bugs.devuan.org; 22 Mar 2021 17:50:03 +0000 Return-Path: Delivered-To: devuanbugs@dyne.org Received: from tupac3.dyne.org [195.169.149.119] by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4) for (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 <571@bugs.devuan.org>; 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 ) 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 To: Florian Zieboll , 571@bugs.devuan.org Subject: Re: bug#571: bleachbit: python3 SyntaxWarning for __init__.py Message-ID: 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: f.zieboll@web.de > > > 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