From unknown Thu Jun 19 13:56:22 2025 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 From: bug#34398 <34398@debbugs.gnu.org> To: bug#34398 <34398@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add python-backports-shutil-which. Reply-To: bug#34398 <34398@debbugs.gnu.org> Date: Thu, 19 Jun 2025 20:56:22 +0000 retitle 34398 [PATCH] gnu: Add python-backports-shutil-which. reassign 34398 guix-patches submitter 34398 Vagrant Cascadian severity 34398 normal tag 34398 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 09 01:28:58 2019 Received: (at submit) by debbugs.gnu.org; 9 Feb 2019 06:28:58 +0000 Received: from localhost ([127.0.0.1]:40381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsM8I-0005no-CZ for submit@debbugs.gnu.org; Sat, 09 Feb 2019 01:28:58 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gsM8G-0005nO-Sb for submit@debbugs.gnu.org; Sat, 09 Feb 2019 01:28:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:54383) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gsM8B-0005d5-OB for submit@debbugs.gnu.org; Sat, 09 Feb 2019 01:28:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsM8A-00082x-Pb for guix-patches@gnu.org; Sat, 09 Feb 2019 01:28:51 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gsM89-0005b3-TT for guix-patches@gnu.org; Sat, 09 Feb 2019 01:28:50 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:52768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gsM86-0005YC-5w for guix-patches@gnu.org; Sat, 09 Feb 2019 01:28:47 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 54F071AAC0 for ; Fri, 8 Feb 2019 22:28:43 -0800 (PST) From: Vagrant Cascadian To: guix-patches@gnu.org Subject: [PATCH] gnu: Add python-backports-shutil-which. Date: Fri, 08 Feb 2019 22:28:37 -0800 Message-ID: <87k1i9v5ka.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 173.255.214.101 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable * gnu/packages/python-xyz.scm (python-backports-shutil-which): New variable. =2D-- gnu/packages/python-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 086eb3af26..143d9c2ffc 100644 =2D-- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -317,6 +317,31 @@ etc. ") (define-public python2-babel (package-with-python2 python-babel)) =20 +(define-public python-backports-shutil-which + (package + (name "python-backports-shutil-which") + (version "3.5.2") + (source + (origin + (method url-fetch) + (uri (pypi-uri "backports.shutil_which" version)) + (sha256 + (base32 + "0cy16w2dpv110afncag8x1zhzy3yz0iypny4iagdiyp4rdkzafgy")))) + (build-system python-build-system) + (home-page + "https://github.com/minrk/backports.shutil_which") + (synopsis + "Backport of shutil.which from Python 3.3") + (description + "Python-backports-shutil-which provides a backport of shutil.which fr= om +Python 3.3") + ;; The backported code is "psfl" license, setup.py is under "MIT" lice= nse. + (license + (list license:psfl + (license:non-copyleft + "https://raw.githubusercontent.com/minrk/backports.shutil_whic= h/master/LICENSE"))))) + (define-public python2-backport-ssl-match-hostname (package (name "python2-backport-ssl-match-hostname") =2D-=20 2.20.1 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXF5zFgAKCRDcUY/If5cW qjD+AQD6kIqvdWioiN+BQptUseu2QGTOgdMPbL6t24puKSPHrAD8ChICaZTsM4W+ 312WRBEXi7QzMoeKh2QDUqyGFwLTJwU= =O/9f -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 11 04:54:29 2019 Received: (at 34398) by debbugs.gnu.org; 11 Feb 2019 09:54:29 +0000 Received: from localhost ([127.0.0.1]:43133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gt8IG-0002sB-BL for submit@debbugs.gnu.org; Mon, 11 Feb 2019 04:54:29 -0500 Received: from dd26836.kasserver.com ([85.13.145.193]:57274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gt8IE-0002s3-I7 for 34398@debbugs.gnu.org; Mon, 11 Feb 2019 04:54:26 -0500 Received: from localhost (77.116.204.134.wireless.dyn.drei.com [77.116.204.134]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 66C7233616DC; Mon, 11 Feb 2019 10:54:25 +0100 (CET) Date: Mon, 11 Feb 2019 10:54:21 +0100 From: Danny Milosavljevic To: Vagrant Cascadian Subject: Re: [bug#34398] [PATCH] gnu: Add python-backports-shutil-which. Message-ID: <20190211105421.3b77ef6b@scratchpost.org> In-Reply-To: <87k1i9v5ka.fsf@ponder> References: <87k1i9v5ka.fsf@ponder> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/MuJZrQMrE0WWnC2aReP2S9h"; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 34398 Cc: 34398@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --Sig_/MuJZrQMrE0WWnC2aReP2S9h Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Vagrant, On Fri, 08 Feb 2019 22:28:37 -0800 Vagrant Cascadian wrote: > + (synopsis > + "Backport of shutil.which from Python 3.3") > + (description > + "Python-backports-shutil-which provides a backport of shutil.which = from > +Python 3.3") Why do we need this package? We have Python 3.7.0. Doesn't that contain the same module already? --Sig_/MuJZrQMrE0WWnC2aReP2S9h Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlxhRk0ACgkQ5xo1VCww uqWF3Qf/VXlVxWJNHGrFNFnitD98ObuZHbHZx5JyyqjX93xGl8Mz1im5Y+LMThjQ R0LE7Qe/5qqg1XxmZ67EnPIIsRrpqVIH51kOWiW5kW6dqHMAkbOuQTR1TFhFiCD7 Kj0zpEiym0TtMWDO6zGTHy+BJHySZyWNWw9L7q3BmjudnFSbldEz7OtMV36was9+ 46ccaMzL4Q75UfCVSklZYHlsbrlr+xWXkD+G58rbKm6fGfunhWq0ghOHaleAq4Lm I1BkbuSyRMi9CYsuLjL5uAwR2hJGqp/L5m84hB+3TOkWWkml1Uqfr0L+1mDxmygc lfc6XSJ+OQRxtu5pSPDLllzMKk0TGA== =J5eV -----END PGP SIGNATURE----- --Sig_/MuJZrQMrE0WWnC2aReP2S9h-- From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 11 17:08:07 2019 Received: (at 34398) by debbugs.gnu.org; 11 Feb 2019 22:08:08 +0000 Received: from localhost ([127.0.0.1]:44196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtJkF-000760-NR for submit@debbugs.gnu.org; Mon, 11 Feb 2019 17:08:07 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:37476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtJkE-00075D-9V for 34398@debbugs.gnu.org; Mon, 11 Feb 2019 17:08:06 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id A71D71AA27; Mon, 11 Feb 2019 14:07:57 -0800 (PST) From: Vagrant Cascadian To: Danny Milosavljevic Subject: Re: [bug#34398] [PATCH] gnu: Add python-backports-shutil-which. In-Reply-To: <20190211105421.3b77ef6b@scratchpost.org> References: <87k1i9v5ka.fsf@ponder> <20190211105421.3b77ef6b@scratchpost.org> Date: Mon, 11 Feb 2019 14:07:52 -0800 Message-ID: <875ztq3rnr.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34398 Cc: 34398@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain On 2019-02-11, Danny Milosavljevic wrote: > On Fri, 08 Feb 2019 22:28:37 -0800 > Vagrant Cascadian wrote: > >> + (synopsis >> + "Backport of shutil.which from Python 3.3") >> + (description >> + "Python-backports-shutil-which provides a backport of shutil.which from >> +Python 3.3") > > Why do we need this package? We have Python 3.7.0. > Doesn't that contain the same module already? I found it odd as well, but I couldn't figure out how to get the newer versions of python-trezor-agent to build without python-backports-shutil-which without patching python-trezor-agent. I didn't spend too much effort looking into patching it; I'll take a little deeper look. Thanks for all the reviews! live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXGHyOQAKCRDcUY/If5cW qsAaAP40cjyGT/uWoXhrllb4v3zPdIJL/n15rvaq2ddYkRYpjgEAuIeHHIw4nnvN bD3aUuJpYwtpczVaybNp3AnPWXiSvwY= =6FAH -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 12 02:02:20 2019 Received: (at 34398) by debbugs.gnu.org; 12 Feb 2019 07:02:20 +0000 Received: from localhost ([127.0.0.1]:44351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtS5D-0006MH-UI for submit@debbugs.gnu.org; Tue, 12 Feb 2019 02:02:20 -0500 Received: from cascadia.aikidev.net ([173.255.214.101]:37886) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gtS5B-0006M0-Ax for 34398@debbugs.gnu.org; Tue, 12 Feb 2019 02:02:18 -0500 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 2A1A21AA27; Mon, 11 Feb 2019 23:02:10 -0800 (PST) From: Vagrant Cascadian To: Danny Milosavljevic Subject: Re: [bug#34398] [PATCH] gnu: Add python-backports-shutil-which. In-Reply-To: <875ztq3rnr.fsf@ponder> References: <87k1i9v5ka.fsf@ponder> <20190211105421.3b77ef6b@scratchpost.org> <875ztq3rnr.fsf@ponder> Date: Mon, 11 Feb 2019 23:02:04 -0800 Message-ID: <87tvh9a3rn.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 34398 Cc: 34398@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain On 2019-02-11, Vagrant Cascadian wrote: > On 2019-02-11, Danny Milosavljevic wrote: >> On Fri, 08 Feb 2019 22:28:37 -0800 >> Vagrant Cascadian wrote: >>> + (synopsis >>> + "Backport of shutil.which from Python 3.3") >>> + (description >>> + "Python-backports-shutil-which provides a backport of shutil.which from >>> +Python 3.3") >> >> Why do we need this package? We have Python 3.7.0. >> Doesn't that contain the same module already? > > I found it odd as well, but I couldn't figure out how to get the newer > versions of python-trezor-agent to build without > python-backports-shutil-which without patching python-trezor-agent. > > I didn't spend too much effort looking into patching it; I'll take a > little deeper look. I don't see a need for this package anymore; I submitted an update for python-trezor-agent/trezor-agent that fixes the issue without using backports.shutil_which. A slightly deeper look into: Lacking backports.shutil_which caused "trezor-agent" to fail during tests as it tried to download the missing library, but there was no mention of shutil_which at all in any of it's code... turned out "python-trezor-agent" had an overly strict requires on the backported.shutil_which, even though "python-trezor-agent" supports the shutil_which included in newer python versions. Simply removing the backports.shutil_which from "python-trezor-agent" requires fixed the issue. Thanks! live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCXGJvbQAKCRDcUY/If5cW qm3wAPwMuO4nwcCzitgl4m4eBGQs8Iql3ZVdVSXhPiG/q+CUewD+IB3Fv1NUosQS yE0XR8PAbcTR9Pol0tDeqGrMJ7KICQs= =MpNM -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 07 08:16:28 2022 Received: (at 34398-done) by debbugs.gnu.org; 7 Apr 2022 12:16:28 +0000 Received: from localhost ([127.0.0.1]:60094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncR3s-0006Nm-EQ for submit@debbugs.gnu.org; Thu, 07 Apr 2022 08:16:28 -0400 Received: from mail-wr1-f48.google.com ([209.85.221.48]:46920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncR3q-0006H7-Dh for 34398-done@debbugs.gnu.org; Thu, 07 Apr 2022 08:16:26 -0400 Received: by mail-wr1-f48.google.com with SMTP id h4so7522893wrc.13 for <34398-done@debbugs.gnu.org>; Thu, 07 Apr 2022 05:16:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=2xGzn7tKlDgBbA521qa057yCP7U6X+nQZpovY4yCbVg=; b=CKljZbY2dL6eYWRpAKUJ1s/2jQ98CFaxfMVe/cSNvoX7NqpXEoCwSYU255l29udsW1 J739x+PXea+xVaDxIqWBHZr5bz0jPPY4K0T+LeJJX8B+QStqnVYoJuw384M0izl/4v4I wqHLKWzTHDi5mVD+Q0iaDd2gYrq7dHnpX3OOaAXrL3vk680WeASmv6oKScRFkiCLJHmC d0LvSyhDaKCC2aUpj5QkurOPM/7fTNeXpbhnKiHx8egJgEbWZJygUvH/XFQF3ztPp0aG 0ti1V0bg8yOyoTY30SAoRJ6DEDwu+ymYtlQEorMCjqqwugoDJBgXUzeC3AXSBM6areY+ yzJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=2xGzn7tKlDgBbA521qa057yCP7U6X+nQZpovY4yCbVg=; b=t6yyfOh2VIZ9EZrXJTF0sumjoq+gIfTZ4pCIXM9jk4mXEbzfhZ2s8h8eeslmesI2LS ElFN1sQPWdF0kbpz0a4xm7QCOHPEkDjKbsjopRIrRn1oAU4i/qLoX9LfhTEojL5tuupY FkTrVmRyqCStvBN6wszaSXFuNqxJLIAtrMapmnNSJYCHXDmSkptYsCPCrgMCWPC1YIRu 9MQL+a79W0HOpfJ9k4bWQEhBRzDjj+E7LKaIyhcMBOwZ15g82AXlqYIg49RmYkOVPASx D/YK3WondiKjnLuXYurb5/9fT1MB30vWLPq6ewJhPXkGZrokJQ5RVFlkWFnLM/O+Ma3G RC1g== X-Gm-Message-State: AOAM5313tnhstUrY+UYxrd4tXeVe1ymN5/u/7ggD4RyIamSZhOJJV+8O YleQZ9upefW5jxyEnE3OGrMa/K19M1M= X-Google-Smtp-Source: ABdhPJwdpKtvhX2+3ngR/U1A8RAURsbdYU2Q1db/5LeBKVOnG/q6bcPEmaWaZcMCDOljyMFLsrVkKQ== X-Received: by 2002:a5d:5889:0:b0:204:1ccf:a04 with SMTP id n9-20020a5d5889000000b002041ccf0a04mr10410509wrf.197.1649333780461; Thu, 07 Apr 2022 05:16:20 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id f18-20020a05600c155200b0038e992eaa64sm1211967wmg.33.2022.04.07.05.16.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 05:16:20 -0700 (PDT) From: zimoun To: Vagrant Cascadian Subject: Re: bug#34398: [PATCH] gnu: Add python-backports-shutil-which. References: <87k1i9v5ka.fsf@ponder> <20190211105421.3b77ef6b@scratchpost.org> <875ztq3rnr.fsf@ponder> <87tvh9a3rn.fsf@ponder> Date: Thu, 07 Apr 2022 14:08:18 +0200 In-Reply-To: <87tvh9a3rn.fsf@ponder> (Vagrant Cascadian's message of "Mon, 11 Feb 2019 23:02:04 -0800") Message-ID: <86wng12j0t.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 34398-done Cc: 34398-done@debbugs.gnu.org, Danny Milosavljevic X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Mon, 11 Feb 2019 at 23:02, Vagrant Cascadian wrote: > I don't see a need for this package anymore; I submitted an update for > python-trezor-agent/trezor-agent that fixes the issue without using > backports.shutil_which. Therefore, closing. Let me know if I have missed a point. Cheers, simon From unknown Thu Jun 19 13:56:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 06 May 2022 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator