From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8P8vK+XVI2XqLQEAG6o9tA:P1 (envelope-from ) for ; Mon, 09 Oct 2023 12:28:53 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 8P8vK+XVI2XqLQEAG6o9tA (envelope-from ) for ; Mon, 09 Oct 2023 12:28:53 +0200 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 55F8554D7C for ; Mon, 9 Oct 2023 12:28:53 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=uni-tuebingen.de header.s=20211202prod header.b=aWZ4VWw5; dmarc=pass (policy=none) header.from=uni-tuebingen.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696847333; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=DGoJ+TVmNm2ar7R3/NW0rxFEdHNv00WeXtJJl0wQCL0=; b=S0Vkq+KOO6u6BW5Sf2Vg0PE9q6WaN5m/piW7+AOL3Hn30DF1iVXBCXljU3vpU390YYJfGv +XCvd/qx+EZQPMx22+8wkFi/IVcgKqjwtcC434HcGGBPVOoku7DWzRodfJFTz3dVBHkNwY xrk7i1Y3xfcFeeYx7O6u55dwNvUClq40aIauOK54t/gSSFKbSyZPnEO4aMWbQW/0fIeoFZ 58TmReHGDru3w99ap9ak8hso2TT+2uQdHfdNDkUdmqQW6dg40dFo+WU+Vhg4i8Tzq50rSK hihsqAMH6If9tra6Kbx6FVLGtqePmnGbLLI9ZhBMhls0EGAD4v+R24WaV2H7Ow== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=uni-tuebingen.de header.s=20211202prod header.b=aWZ4VWw5; dmarc=pass (policy=none) header.from=uni-tuebingen.de; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696847333; a=rsa-sha256; cv=none; b=Y0b5FKT1h58qdgTOvTO334UiQDDeLe1h8CJ9aMbfOVf0uYiAku+1bmV8RqDmiOF440IkJy NKfuv7ucSGxQ4efuzT8UvIuI/8n28cb0SjtC57rnRYZMB3RRLgdIQfB+pVdHkH48JMzlmE 1gsV/8Dv34Rnn8NYBxXVH/6ViHRXAOXWBvOfJfvlhdiWvtsGWOc4gHcZn6Z9vK20+9shzK wq6e5FM/5lZx5ZBfH2oCN3PklD+g+BmyyGnMYTCgRAimWXPFaCgd8LR512/6y+yHY/QMWx pZmkimksDdpd9c/jwCIdc8UPL53Fvn5q3+RD4KDW5wOtMC0Nqu+D6Run6ErJUA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qpnUc-0003w7-24; Mon, 09 Oct 2023 06:28:06 -0400 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 1qoNxw-0001xx-Lq for help-guix@gnu.org; Thu, 05 Oct 2023 09:00:35 -0400 Received: from mx03.uni-tuebingen.de ([134.2.5.213]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qoNxu-0008Og-7S for help-guix@gnu.org; Thu, 05 Oct 2023 09:00:32 -0400 Received: from smtpclient.apple (p200300df772df5be9586a4b79b4c748c.dip0.t-ipconnect.de [IPv6:2003:df:772d:f5be:9586:a4b7:9b4c:748c]) by mx03.uni-tuebingen.de (Postfix) with ESMTPSA id 758A420C6E74 for ; Thu, 5 Oct 2023 15:00:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 mx03.uni-tuebingen.de 758A420C6E74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uni-tuebingen.de; s=20211202prod; t=1696510814; bh=DGoJ+TVmNm2ar7R3/NW0rxFEdHNv00WeXtJJl0wQCL0=; h=From:Subject:Date:To:From; b=aWZ4VWw5GeiLzP7MNuHPQIV9/hVZIIgh2cZcXWQpr1gGyoP6KY8e3BU+mD7+VA9wa 39Dl1pLeLZssFm5F5feGH7sjiVED1LPb072nQUW3t/aPfb9ydyjGNVCSJ6dGV/yRUZ 6X4AjaT8b1qsKd76hej3S+92pl6Mfac8eimZ8k6pO019B0K1ZkwjLiI1qUkVmf8UuL QFeGUl0YAKLhsAlTkSJ/fpAtfn4Bk18T7iw0c+qWuY2F/gZcNwpL+JguVExND23hPc G0mTan/+up2wyVc4MG6fpMPNolKMO002CsRD6ABBY4l/qcaRf3SD0sqGhJ1IdfxSDU uhbVng0FaBXTw== From: =?utf-8?Q?Lasse_Schl=C3=B6r?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.4\)) Subject: Replicable environment with Python packages missing from Guix Message-Id: Date: Thu, 5 Oct 2023 15:00:13 +0200 To: help-guix@gnu.org X-Mailer: Apple Mail (2.3696.120.41.1.4) Received-SPF: pass client-ip=134.2.5.213; envelope-from=lasse.schloer@uni-tuebingen.de; helo=mx03.uni-tuebingen.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 09 Oct 2023 06:27:52 -0400 X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: help-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.56 X-Spam-Score: -8.56 X-Migadu-Queue-Id: 55F8554D7C X-Migadu-Scanner: mx2.migadu.com X-TUID: CVTlEk0SqW9s Hello, I am in the process of setting up a replicable environment (OS & = software versions) for a research project using Guix. This includes an = installation of the Python package PsychoPy. As far as I understand, the ideal way to do this is to use a = `manifest.scm` file that includes a `python-psychopy` package together = with a `channels.scm` to pin/freeze the exact software versions. Currently, no PsychoPy package exists for Guix, and so I attempted to = write my own Guix packages for PsychoPy and those of its dependencies = that don't exist as Guix packages either. However, while I was able to successfully wrap a few Python packages as = Guix packages, the number of build and test dependencies turns out to be = quite large, and I am not sure I have the knowledge and time to write = Guix packages for all of them. As a workaround, I have instead written a manifest file that provides a = fixed version of Python, Pip, and some of PsychoPy's dependencies. I can = use this to start a container with `guix time-machine [=E2=80=A6] -- = shell --container = --share=3Dpath/to/persistent/.local=3D/home/username/.local [=E2=80=A6]`, = which has a persistent `~/.local` directory, into which the correct = version of PsychoPy can be installed via `python3 -m pip install -r = path/to/requirements.txt`. Making `~/.local` persistent allows to start = new instances of this container without having to re-install PsychoPy = every time. Of course, this doesn't feel as elegant as the purely functional Guix = way of doing things. I am sure others before me have had similar = situations. Thus, my question is: Is there a known/preferred/elegant way = of creating replicable Guix environments with fixed versions of Python = packages when these packages do not exist as Guix packages? I'd appreciate any insight on this. Thanks and best regards, Lasse Schl=C3=B6r