From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gLMjK4cH+mMXBQAAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 14:05:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GOIlK4cH+mMPFAAA9RJhRA (envelope-from ) for ; Sat, 25 Feb 2023 14:05:11 +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 69B4A398F7 for ; Sat, 25 Feb 2023 14:05:11 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Np++RJqW; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677330311; a=rsa-sha256; cv=none; b=NmLvtHg5w4/DWCf8KfagfiUSnxAy3zw6eHPAkRqgUQIoqYaat1+s448ZUQUcrdxw0SC/u9 3vmbQfTB9pSzsZkDjlJo7Gz96qJWKjBsn9FgiImpShH9GqVJlyIz55vRzHXHO6B9DaX7Y6 bMQiuAOUkpClgSw9hy6QemoZ0alHjhbtPt9j/m3iUevnnfI8W1pP9/OlZbyaFwLySoy+/e O2CmfKE5U07A+wFJLxzcimQroSWHTpmBkkXX9x0UdAnQBO0lmr/QjrXW13b5FoSNW6npBD PhF4r5R2/qVdZKrmwynd3vHhBKbgpPC7QkKcgwDHbm6yvIFgizcvxWxLHUVzpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Np++RJqW; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677330311; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gUY2+r+sr9/v4geAVMhPf5W/5O4V6/2+oEliYuZW9Pg=; b=Sp629lq5dREa4WosuMjQFtk1jET3cYQVo4M9ZeRsM9G+ABWGhLUWU6b9Ukw/a7mkf4Qnr2 EQMmlPHOcVtr61QURPALMhsmYjq0N56c/jsXa19PADHzS+VM+2RaZ3qkxKI2gsGMgsQOVf Sbr+mdRJbdvIbBKJ6llxf6cvZ6+9f6h8MwSFjT7lm+ly7KVdVttau5LpTqoPSKWqNuH/9M D6ciAZAxIIkrRzWOlFBCvD2ROkMbEeGbwwMDeYy56w8nrOXX+FHyw6djqzXazVTNHalBFd J6UYsg7WV2g5npVeSdf+i9bloiP0vAPvdYqDvsAa/ti/4LGDKVNuM3kOsMgRcA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVuEB-000811-CJ; Sat, 25 Feb 2023 08:04:39 -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 1pVuEA-00080o-5C for guix-devel@gnu.org; Sat, 25 Feb 2023 08:04:38 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVuE8-0000tv-El; Sat, 25 Feb 2023 08:04:37 -0500 Received: by mail-wr1-x42f.google.com with SMTP id r18so1871541wrx.1; Sat, 25 Feb 2023 05:04:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677330273; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=gUY2+r+sr9/v4geAVMhPf5W/5O4V6/2+oEliYuZW9Pg=; b=Np++RJqWRazAWaSpVMrZZu1qLHo8n6iVgr7R/wUMXzT8urIz5VhM4wG2yXjN26nE5q E6sNA4UiW0li562CNn9YOk0NetTH/CWBE5OL6zX07HlEMmo334h7OulwgRUD+zJQ0cmG PXyONToB4oxiXSjwIAj6zjI4WIFHy0MUPscd9NlE/busbEnfrHVv8fqc7McZZjE+6++R gIIf34PeMCvr0w4UVmcFXMTmRwB8S7420xPckNviJcoTQWz9s3jEOmYmHScKngdmGqd0 E8AK9sVfK3JnmCTh3Ab1Ibj81Cvg7ZrSDA7fiDwypt2xiKfAxLTqa6OCAQzenXbcjUW0 CNOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677330273; h=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=gUY2+r+sr9/v4geAVMhPf5W/5O4V6/2+oEliYuZW9Pg=; b=BG5NoC/s4kF3WmTuaaaypXXT1VPSBqeZLAbfFTNXSdS/qH6W6M5jxZ822LAnz/3smj EWZoF4jLHXFoZDQJZz6EwzwwF7YhUlY84g3rp1iIaOP2pTpqbrcTxfk5cUP78FmvBeA4 0k8JpuS8kurKwi2hqKhE4eANFTch5EjS7Q2Q6CzN6Ki/oo3inQ6xW+TnJ+BcPEXFfExf iUGrJmlRK3qb1vNY1JkpG5y1sS9Gs3oy8JAFEfoTnQai+WTs+vlAsYdtKmRReL10RFV3 mWwuuHQPTG6wPYVHShRXqF27fG8B44VvuGONvmHe2BdxJHT79q13U+n1hWWq9qQnf9PO Yl0A== X-Gm-Message-State: AO0yUKXhjMEPNnr/oa6LPvQiXh5yGy8jjLqSXbS1DEhosiY5Znv4MC7E 4V276aR2EbN9V6209iqIwtRlCggkFDw= X-Google-Smtp-Source: AK7set9ImgNaiJ+m7E6/iMSWHqZl/E652iBnJyNxoJCYnZo2SRyXTK6JgSJuKMyhPAyoPgOy8H1DKw== X-Received: by 2002:adf:f2cf:0:b0:2c7:a3c:5b92 with SMTP id d15-20020adff2cf000000b002c70a3c5b92mr9843951wrp.6.1677330273305; Sat, 25 Feb 2023 05:04:33 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id l4-20020a05600c4f0400b003df7b40f99fsm6808842wmq.11.2023.02.25.05.04.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Feb 2023 05:04:32 -0800 (PST) From: Simon Tournier To: Nicolas Graves , guix-devel@gnu.org Cc: Jean-Baptiste Volatier , =?utf-8?Q?Nicol=C3=B2?= Balzarotti , Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Follow-up on julia import script In-Reply-To: <874jra5a2x.fsf@ngraves.fr> References: <87a61358ej.fsf@ngraves.fr> <87o7pilyb4.fsf@gmail.com> <874jra5a2x.fsf@ngraves.fr> Date: Sat, 25 Feb 2023 13:19:07 +0100 Message-ID: <865ybqc4zo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 69B4A398F7 X-Spam-Score: -10.20 X-Migadu-Spam-Score: -10.20 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: rjjxiDTedXYY Hi Nicolas, On Sat, 25 Feb 2023 at 11:11, Nicolas Graves via "Development of GNU Guix and the GNU System distribution." wrote: > How would you separate inputs from propagated-inputs in this case (and > in Julia in general)? Well, I am not sure to understand the question. Basically, Julia packages require run-time packages and, except very rare cases, we need to specify them via propagated-inputs. The the packages required for running tests are listed with native-inputs. For instance, consider the package julia-tables, it reads: (propagated-inputs (list julia-dataapi julia-datavalueinterfaces julia-iteratorinterfaceextensions julia-tabletraits)) (native-inputs (list julia-datavalues julia-queryoperators)) when Project.toml reads --8<---------------cut here---------------start------------->8--- [deps] DataAPI = "9a962f9c-6df0-11e9-0e5d-c546b8b5ee8a" DataValueInterfaces = "e2d170a0-9d28-54be-80f0-106bbe20a464" IteratorInterfaceExtensions = "82899510-4779-5014-852e-03e436cf321d" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" OrderedCollections = "bac558e1-5e72-5ebc-8fee-abe8a469f55d" TableTraits = "3783bdb8-4a98-5b6b-af9a-565f29a5fe9c" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [...] [extras] DataValues = "e7dc6d0d-1eca-5fa6-8ad6-5aecde8b7ea5" QueryOperators = "2aef5ad7-51ca-5a8f-8e88-e75cf067b44b" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" --8<---------------cut here---------------end--------------->8--- Obviously, you need to maintain a hard-coded list of built-in Julia packages as LinearAlgebra, OrderedCollections or Test. Does it make sense for your question? Cheers, simon