From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id KPrAHKaCHF8CRAAA0tVLHw (envelope-from ) for ; Sat, 25 Jul 2020 19:06:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UP2KGKaCHF/2EwAAbx9fmQ (envelope-from ) for ; Sat, 25 Jul 2020 19:06:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DE64A9400E1 for ; Sat, 25 Jul 2020 19:06:13 +0000 (UTC) Received: from localhost ([::1]:54450 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzPUo-0007ug-Dm for larch@yhetil.org; Sat, 25 Jul 2020 15:06:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jzPUg-0007uS-V6 for bug-guix@gnu.org; Sat, 25 Jul 2020 15:06:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jzPUg-0000U8-Mp for bug-guix@gnu.org; Sat, 25 Jul 2020 15:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jzPUg-0000lR-IX for bug-guix@gnu.org; Sat, 25 Jul 2020 15:06:02 -0400 Subject: bug#40029: Preventing automatic python2 transformation of some packages Resent-From: Marius Bakke Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sat, 25 Jul 2020 19:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 40029 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Mail-Followup-To: 40029@debbugs.gnu.org, marius@gnu.org, mbakke@fastmail.com Received: via spool by 40029-done@debbugs.gnu.org id=D40029.15957039602925 (code D ref 40029); Sat, 25 Jul 2020 19:06:02 +0000 Received: (at 40029-done) by debbugs.gnu.org; 25 Jul 2020 19:06:00 +0000 Received: from localhost ([127.0.0.1]:51158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzPUd-0000l7-SY for submit@debbugs.gnu.org; Sat, 25 Jul 2020 15:06:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jzPUb-0000kr-8M for 40029-done@debbugs.gnu.org; Sat, 25 Jul 2020 15:05:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48885) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jzPUV-0000Q4-9x; Sat, 25 Jul 2020 15:05:51 -0400 Received: from 84-52-226.102.3p.ntebredband.no ([84.52.226.102]:46488 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jzPUU-0000dJ-Lw; Sat, 25 Jul 2020 15:05:51 -0400 From: Marius Bakke In-Reply-To: <87r1xxu3ks.fsf@gnu.org> References: <87lfo6zqwp.fsf@devup.no> <87r1xxu3ks.fsf@gnu.org> Date: Sat, 25 Jul 2020 21:05:32 +0200 Message-ID: <87zh7nqutf.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 40029-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: +mx9iUUMGw8m --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi! > > Marius Bakke skribis: > >> 'python2-sphinx' is obsolete and increasingly a maintenance burden, >> because we need to keep special versions around just to make it build. >> >> The only reason we have this package is because it gets pulled in >> automatically when using (package-with-python2 ...) on a Python 3 >> package that has 'python-sphinx' in inputs. > > What about this evil hack? > > diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm > index 323d5b4457..66306e97fc 100644 > --- a/gnu/packages/sphinx.scm > +++ b/gnu/packages/sphinx.scm > @@ -99,7 +99,7 @@ > for Python projects or other documents consisting of multiple reStructur= edText > sources.") > (license license:bsd-2) > - (properties `((python2-variant . ,(delay python2-sphinx)))))) > + (properties `((python2-variant . ,(delay python-sphinx)))))) >=20=20 > ;; Sphinx 2 does not support Python 2, so we stick with this older versi= on here. > ;; Remove this package once python2-pbcore no longer requires it. > > The effect should be that =E2=80=98package-with-python2=E2=80=99 always k= eeps > =E2=80=98python-sphinx=E2=80=99 unchanged. (It=E2=80=99s a double-edge s= word.) This is brilliant and I can confirm it works. It never would have occured to me that this is possible. 'python2-sphinx' will be removed on the next staging cycle. Thanks! --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl8cgnwACgkQoqBt8qM6 VPo94Qf/f78hVUFbDHDNFDUzjfy/6MPC8fKhYIEmt/spFF/LvISdVsS5HJPQcrTo 1nRSrCcm6wfIN7Mazxs8YRZm+tF8EFnge6UHDZyTfEzB0L7FCWFuIYkmANJquiJY O+gE9tZ+cgkSmxxKbOhjhpL6T6dkF+Gp1ud79UIzj52znmIzqiFLp6Dqo+jKaN4D 1hVviul5ePhsXszcnhecS5+wv7bsa/N8lv7fKTRRDbpY921RAeiToT25zgk+7mc/ Obn3krvAW/eWVcKUh1YKARAeXFfVtPIQ+jgBYvS1HpXnHffcngVpJ8GKpd/cY1E6 qGFyqCeKsLTzaZdemyNNSUpognTwTA== =qFLd -----END PGP SIGNATURE----- --=-=-=--