From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aHftGYIT/mOaEwAAbAwnHQ (envelope-from ) for ; Tue, 28 Feb 2023 15:45:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wCFuGYIT/mPfhAAA9RJhRA (envelope-from ) for ; Tue, 28 Feb 2023 15:45:22 +0100 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 2FF3E1DC66 for ; Tue, 28 Feb 2023 15:45:22 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=lr+EaW2R; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677595522; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=+VvxhF9QZ+02ZSrF3SQE/NPV9K+E+k0NUVoFPX5c1po=; b=rXKx9zer6IpsAjXBuBZw1Q53pceXAqd2NfEdfT0919gN9L0AJ3ka3LCq+tbADQvMhGMp2L 1Sd/Vo7T6xRV5BZQL+aq3uZKk4VU38w3luiop0RYtGj7vpYArrOL9yGuS1EKLagHzx5J7x vjGbiuaSCu0NaBu+bOPlMpfHLC1ssSsROd3MSv6LTf/bj/R6FoaiUSVkBHCdf9rMnAQzRp pWRrOXFZuEUgEspp/OcwZo1kja4ewbX7NjmlPWYZN88LYwyyTCCTN2MzihzQWRm2cdqqnY xAKaI5BGTmOc1p3uGclTewHZFPNafVc2+RXq8DwDIcXdimeogrFaqD5QlypvHA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=lr+EaW2R; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677595522; a=rsa-sha256; cv=none; b=cf30i8xARiO8UNDAQxzUlhUYr5hyU9Y1RLS9LwMPSmYELbLbOCthPR88ja3pgsQCWD1CKA Sl9ipHb/qGf18rW2So3zRuRMRcy0IVou1tkA97YDjEwJy7fun7xrFhwkScuJCnCQig7ha9 ARKmtWAzuGteeJ+uq2FLmnbra0st7kH2pTNgbZHq+lzSXMX0uU+rCaju4ioPnPvI886WF/ sC9yrNcubOY/5kY2YKGVSzrCA4lcuecbF+OY5/qwKcazXXYKnhBfw67bsfwUenYPCTqRaz MRt/p341SBzAZq1Ee94pWtLJRP+yj4eJsDIj7HfFM9O4+HI9I5Oe6wyVu9pRww== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pX1E0-0001BL-RE; Tue, 28 Feb 2023 09:45:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pX1Dy-00014u-Iv for guix-patches@gnu.org; Tue, 28 Feb 2023 09:45:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pX1Dy-00080G-AJ for guix-patches@gnu.org; Tue, 28 Feb 2023 09:45:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pX1Dy-0001eP-6c for guix-patches@gnu.org; Tue, 28 Feb 2023 09:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61701] [PATCH] doc: Propose new cookbook section for reproducible research. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Feb 2023 14:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61701 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Kyle Andrews Cc: 61701@debbugs.gnu.org Received: via spool by 61701-submit@debbugs.gnu.org id=B61701.16775954446258 (code B ref 61701); Tue, 28 Feb 2023 14:45:02 +0000 Received: (at 61701) by debbugs.gnu.org; 28 Feb 2023 14:44:04 +0000 Received: from localhost ([127.0.0.1]:50034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX1D1-0001cn-Mt for submit@debbugs.gnu.org; Tue, 28 Feb 2023 09:44:04 -0500 Received: from mail-wr1-f49.google.com ([209.85.221.49]:39855) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pX1Ct-0001bM-0P for 61701@debbugs.gnu.org; Tue, 28 Feb 2023 09:43:55 -0500 Received: by mail-wr1-f49.google.com with SMTP id g3so1136218wri.6 for <61701@debbugs.gnu.org>; Tue, 28 Feb 2023 06:43:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677595429; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=+VvxhF9QZ+02ZSrF3SQE/NPV9K+E+k0NUVoFPX5c1po=; b=lr+EaW2RwzSOidf2TYdl65mTPPoYLP5oa8s64MI2SVHDhSFSpIKMmvDplbK8lwS2pQ QB+mBsNJLRCH54V/cqXI+4QbUiOWXJT/PUsTh0vgarKv0bWKJtGFMEsH2Dl5aqMlM7qu Y84DvDtExm3UayBU4YdGRgxh1pzVqKsUuYpeQNbPswB4vWoLQgUc2Hw4pZh6C6utSyog w3O+L5ZXJV/KBfEe+BRE+bmC5Y5hypfOPrYpQpQEwe4+WHDdCNYQpu4LSuFlE4sfHQ9T Y8ssg15bkbzWHnTdkX07qsks0/DGa/5c4mE9scBW6XyHj0MvrvSfeDBTVk7ALBsDgJr9 0N9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677595429; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+VvxhF9QZ+02ZSrF3SQE/NPV9K+E+k0NUVoFPX5c1po=; b=rm49hGJoMLQKGKGvIKwQrVlV3JPDYp+D22JkNcGdGWc13ocl7/wSRoD6LY2G2PYHUD mukM/iSR3xbgz+BSAeQPzbdzLq/VbGXSV7flDH6OPwCwNLQBdw2ZNph7tcd1jQgp5c9b XZQQVN5T+LYC0SGwrq0PTfk2zHkBYv03tsLAt5143IYKerfVSEyAd+FlrcZZxnCM6f9A P+nEgGAA2akiGYD2rUtFW8weqXN/jwXlX2d0n+uwcXwkR6YV7TyZcv/L4qLnEPEz7H6p CCKBk3b1Pfqe6PuJGmTqt8eoJlnN/1b4SKCH3Sq5Vyp4IbeVIqLOraDVBJ0kpFdTCc4S QAWQ== X-Gm-Message-State: AO0yUKVjofDGi1CiPMPihk3qVGgfM2Bk/q2bK+Z9NIntuvu9LfjEBAoz si42R/L05W5lu/Q1UhYfFrDTuLvu4TY= X-Google-Smtp-Source: AK7set/8BNG5k8/eLvOjK/87cnudZ49w1rOswjYMAp5K+QG8YZc08+HIbnpx9nuzN7ro2zonK2sdJQ== X-Received: by 2002:a05:6000:104d:b0:2c9:d574:3c55 with SMTP id c13-20020a056000104d00b002c9d5743c55mr1572194wrx.5.1677595429331; Tue, 28 Feb 2023 06:43:49 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id v16-20020a5d4a50000000b002c5526234d2sm10139606wrs.8.2023.02.28.06.43.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Feb 2023 06:43:49 -0800 (PST) From: Simon Tournier In-Reply-To: <87a615wa7b.fsf@posteo.net> References: <3ffea5b37541a6f3409299f3e8e6200bc1c9aef6.1677043049.git.kyle@posteo.net> <86h6vet1j8.fsf@gmail.com> <87a615wa7b.fsf@posteo.net> Date: Tue, 28 Feb 2023 15:16:16 +0100 Message-ID: <87k001j2of.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Spam-Score: -2.39 X-Spam-Score: -2.39 X-Migadu-Scanner: scn0.migadu.com X-Migadu-Queue-Id: 2FF3E1DC66 List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: ARPPfDIsGTue Hi, On mer., 22 f=C3=A9vr. 2023 at 23:21, Kyle Andrews wrote: > However, I ran into issues applying patches which I don't yet understand > how to deal with. It would be really cool if Guix had a command which > showed the state at each step in the process of creating a store > object. Whatever the workflow and tacit knowledge you use to debug these > things, I don't grasp it yet. Well, it appears to me expected that patches from 3.9 does not apply =E2=80= =99as is=E2=80=99 to 3.6; or even the recipe itself. For instance, commit a1454169e0 introduces Python 3.7.0 and the last Python 3.6 series was 3.6.5. The change reads, --8<---------------cut here---------------start------------->8--- - `(modify-phases ,phases - (add-after 'unpack 'patch-timestamp-for-pyc-files [...] 40 lines - ;; FIXME: Without this phase we have close to 2000 files that + `(modify-phases ,phases + ;; Unset SOURCE_DATE_EPOCH while running the test-suite and set = it + ;; again afterwards. See . + (add-before 'check 'unset-SOURCE_DATE_EPOCH + (lambda _ (unsetenv "SOURCE_DATE_EPOCH") #t)) + (add-after 'check 'reset-SOURCE_DATE_EPOCH + (lambda _ (setenv "SOURCE_DATE_EPOCH" "1") #t)) + ;; FIXME: Without this phase we have close to 400 files that ;; differ across different builds of this package. With this p= hase - ;; there are about 500 files left that differ. + ;; there are 44 files left that differ. --8<---------------cut here---------------end--------------->8--- Then 3.8.0 with commit af6a9fc276 requires these patches, --8<---------------cut here---------------start------------->8--- + (patches (search-patches + "python-3.8-search-paths.patch" + "python-3-fix-tests.patch" + "python-3.8-fix-tests.patch" + "python-3-deterministic-build-info.patch")) --8<---------------cut here---------------end--------------->8--- and so on. I understand the issue, on one hand inferior is appealing but expensive if you have many and on the other hand, a simple switch of origins does not work out of the box. That=E2=80=99s why we have the guix-past channel [1]. :-) It maintains older versions of some packages with the current Guix. I think it is the place to define the matrix of Python versions; at least the ones you want. Well, if your aim is to have the matrix of Python versions all working with Guix, you cannot cut the boring task to define all the entries of this matrix =E2=80=93 package transformation has some limitation= s. :-) You could start by extracting the recipe of Python 3.6.5 from commit d66146073d (father of a1454169e0 updating to 3.7) and add it to the guix-past channel. Well, we seem far from a =E2=80=9Ccookbook section for reproducible researc= h.=E2=80=9D :-) 1: Cheers, simon