From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: gnu: python: Update to 3.8.0. Date: Mon, 4 Nov 2019 10:19:26 +0100 Message-ID: References: <20191023091150.r6hdhtm2idxfdka3@rafflesia> <2b50f965-cbb2-d476-ceaf-2f00323fb50f@goebel-consult.de> <20191023125104.s3xvjegaufjjt4no@rafflesia> <20191030160430.4zdmlsnkoq5ps6tq@rafflesia> <20191030180150.k2txz37uffgu777k@melmoth> <87zhhgo6ms.fsf@devup.no> <20191104091536.5zgt4c5knjsjff6m@rafflesia> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000095d3d2059681d03e" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38245) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iRYWT-0002GP-2W for guix-devel@gnu.org; Mon, 04 Nov 2019 04:19:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iRYWR-0002Fv-PF for guix-devel@gnu.org; Mon, 04 Nov 2019 04:19:41 -0500 Received: from mail-ed1-x532.google.com ([2a00:1450:4864:20::532]:33998) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iRYWR-0002FL-CG for guix-devel@gnu.org; Mon, 04 Nov 2019 04:19:39 -0500 Received: by mail-ed1-x532.google.com with SMTP id b72so12572804edf.1 for ; Mon, 04 Nov 2019 01:19:39 -0800 (PST) In-Reply-To: <20191104091536.5zgt4c5knjsjff6m@rafflesia> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Tanguy Le Carrour Cc: Guix-devel --00000000000095d3d2059681d03e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hello, Tanguy Le Carrour ezt =C3=ADrta (id=C5=91pont: 2019.= nov. 4., H, 10:16): > Hi Marius! > > > Le 11/01, Marius Bakke a =C3=A9crit : > > Tanguy Le Carrour writes: > > > Oh, oh=E2=80=A6 what I forgot to mention is that=E2=80=A6 it's a sham= eless copy/paste > of > > > the python-3.7 package and it would deserve a rewrite! Something like > > > `(inherit python-3.7)` and a modification of [source](patches) and > > > [source](snippet). But I'm not sure how to do that! > > > > Origins can also be inherited: > > > > (source (origin > > (inherit (package-source python-3.7)) > > (uri ...) > > (sha256 ...) > > (patches (append (origin-patches (package-source python-3.7)) > > (search-patches > "python-3.8-adjust-tests.patch"))))) > > > > That would inherit the snippet and any other properties that are not > > explicitly overridden. > > Thanks for the snippet! I updated my package definition accordingly (see > attachment), but=E2=80=A6 `./pre-inst-env guix build --rounds=3D2 python@= 3.8` > always fails with: > > """ > output =E2=80=98/gnu/store/=E2=80=A6-python-3.8.0=E2=80=99 of =E2=80=98/g= nu/store/=E2=80=A6-python-3.8.0.drv=E2=80=99 > differs from previous round > """ > > I checked and I have the same problem with my previous version! :-( > > Any idea welcome!! > Can you provide a diff? If it makes sense also a diffoscope output? Eariler we had bytecode reproducibility problems, but this might be something completely different... > > -- > Tanguy > Best regards, g_bor --=20 OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21 --00000000000095d3d2059681d03e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Tanguy Le Carrour <tanguy@bioneland.org> ezt =C3=AD= rta (id=C5=91pont: 2019. nov. 4., H, 10:16):
Hi Marius!


Le 11/01, Marius Bakke a =C3=A9crit :
> Tanguy Le Carrour <tanguy@bioneland.org> writes:
> > Oh, oh=E2=80=A6 what I forgot to mention is that=E2=80=A6 it'= s a shameless copy/paste of
> > the python-3.7 package and it would deserve a rewrite! Something = like
> > `(inherit python-3.7)` and a modification of [source](patches) an= d
> > [source](snippet). But I'm not sure how to do that!
>
> Origins can also be inherited:
>
> (source (origin
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (inherit (package-source python-3.7)= )
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (uri ...)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (sha256 ...)
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (patches (append (origin-patches (pa= ckage-source python-3.7))
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0(search-patches "python-3.8-adjust-tests.pa= tch")))))
>
> That would inherit the snippet and any other properties that are not > explicitly overridden.

Thanks for the snippet! I updated my package definition accordingly (see attachment), but=E2=80=A6 `./pre-inst-env guix build --rounds=3D2 python@3.= 8`
always fails with:

"""
output =E2=80=98/gnu/store/=E2=80=A6-python-3.8.0=E2=80=99 of =E2=80=98/gnu= /store/=E2=80=A6-python-3.8.0.drv=E2=80=99
differs from previous round
"""

I checked and I have the same problem with my previous version! :-(

Any idea welcome!!

Can you provide a di= ff? If it makes sense also a diffoscope output?

Ea= riler we had bytecode reproducibility problems, but this might be something=
completely different...
=C2=A0

--
Tanguy

Best regards,
g_b= or
--
OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:C= F63:0B21
--00000000000095d3d2059681d03e--