From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KMxtOWfly2V2iQAAqHPOHw:P1 (envelope-from ) for ; Tue, 13 Feb 2024 22:55:52 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id KMxtOWfly2V2iQAAqHPOHw (envelope-from ) for ; Tue, 13 Feb 2024 22:55:52 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector1 header.b=yJiTCqub; 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"; dmarc=pass (policy=quarantine) header.from=runbox.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707861351; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=w/qErT11chgmd2FaIiB/cZMjbmuksrew9ltXWJsV4t0=; b=E+5fuBM7s1TpxqrNIj2oRR1TJ7EASwZ+HXwKao0TUNlRE9ksdOe+mNGsH807sd7e8+r4wN Dy8L8xoo0F92Wu8kFZJISFNrYK9AmH4+KOnMpQ5Crq1DRRc8FzZM83NGCMTvE1xMOIb0Ds GdI/UN0akX0cCsrr52I0lVnbaQGw34PgiSN7EECmpojbkOJ2zs2V8nOo9ykEjyQLlhVSHh L3cSD9qKuv37HTkdUX4xYqtA7lIon9ImyydEaru3HeDhoiWxPa2qq/YESpzWMeQ5BeDRBv 3CH4gWi0iD8WWlKzz1QbJxaMfaWvl0y1fuuxKt2k36B9nF7Rije9K7wOGYkg0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=runbox.com header.s=selector1 header.b=yJiTCqub; 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"; dmarc=pass (policy=quarantine) header.from=runbox.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707861351; a=rsa-sha256; cv=none; b=IjlcjaWyjMoX53XKz++GrsTWL4d4hbdwFFidwFjR2Knzi7PhyjDPMIkerEkNhOOSxKIXkY nWwGmNn1ziRAOQOgAzSrVSA265g8QGNV6f7up1LSrT2wXA5YHnhrCbuAlnFQ3d+enay9+Q qeJswLZOq7waaw3CZMBTIbWvPinOnGCYjQERkQrSeGP3vqOqzIsclyxdyft3lvH8pA7ak6 IRnP66jCJAG717l0Wm5VOQYl3O4YI41hPxz0d6OMrhJMEugvCy57XafMLPgTDoYus3gmjO 3Y7Qza5Z9yHQ3M2WffJXgFhZ1uUFtFsflUK58+PFPckjlzmpWwW0/FQHhX+Dhg== 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 C21036FBD8 for ; Tue, 13 Feb 2024 22:55:51 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ra0kZ-0005xE-Ln; Tue, 13 Feb 2024 16:55:35 -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 1ra0kW-0005uZ-Lw for help-guix@gnu.org; Tue, 13 Feb 2024 16:55:33 -0500 Received: from mailtransmit04.runbox.com ([2a0c:5a00:149::25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ra0kU-0005C5-5o for help-guix@gnu.org; Tue, 13 Feb 2024 16:55:32 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1ra0kP-00HM6W-N6; Tue, 13 Feb 2024 22:55:25 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=w/qErT11chgmd2FaIiB/cZMjbmuksrew9ltXWJsV4t0=; b=yJiTCqub03K6itaO4fLTkQ42ec hPb7j5HzpnCnhp2bACjO2JmF9EuL+hldnj+/Eg7lYznTp3jQcG5BbOlugkh640CAFw9mIhpP4eY2Z gPBkTgiMx6zuyMOkPGH1mKD3uBchjRkB4Oe8t73JW+oOXMPZ5N6TMCZ15xdwFUF1mLfPta00NwyWm kkTYszMCBLkLeuyN4UTqeXN22ypWOXHXGKphXZpnYCNRF8b++O9OH9mW5faOPbJpik3yf4CDcoU4R 8jbxjQ5ajcCFyU+NikDEvxjn+n+XbKXNgcOtI0lHyfQQbAyW+IqHSyDhfSAa91P5l7pEvRJ/CyH79 GgHtxkgg==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1ra0kP-0004T1-5F; Tue, 13 Feb 2024 22:55:25 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (1174703)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1ra0kK-007Coc-LY; Tue, 13 Feb 2024 22:55:20 +0100 Message-ID: Date: Tue, 13 Feb 2024 13:55:17 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Python package with some rust dependency Content-Language: en-US To: Carlo Zancanaro Cc: help-guix References: <0fdf88c8-1f1a-420b-a27c-aa07cb273059@runbox.com> <875xyt8dna.fsf@zancanaro.id.au> <493a23e1-ab4e-4a29-b937-6b0455db3be0@runbox.com> <87jzn8vxz9.fsf@zancanaro.id.au> From: Alexis Simon In-Reply-To: <87jzn8vxz9.fsf@zancanaro.id.au> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a0c:5a00:149::25; envelope-from=alexis.simon@runbox.com; helo=mailtransmit04.runbox.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: -10.99 X-Migadu-Queue-Id: C21036FBD8 X-Spam-Score: -10.99 X-Migadu-Scanner: mx11.migadu.com X-TUID: F1f7UjqMvNPY Fair enough, I just meant that it's pretty hard as a newcomer to know which build system You're supposed to use to start with when encountering a project where several languages are used. Alexis On 13/02/2024 13:46, Carlo Zancanaro wrote: > On Tue, Feb 13 2024, Alexis Simon wrote: >> Ok, this seems really counter intuitive though to go and use the cargo >> build system for a python package only have a tiny part in rust. > > I'm not sure why this is counter-intuitive. The existence of any rust at > all means you need to build rust code. The normal way to do that in Guix > is to use the cargo-build-system. > > Equally, I don't find it strange that the upstream build instructions[1] > ask me to install a rust compiler and cbindgen. I need to do that if I > want to build rust code. > > It's also worth noting that there are 22 packages in Cargo.lock[2], so > building the one rust file in the repository is a bit more involved. > > Carlo > > [1]: https://molpopgen.github.io/fwdpy11/misc/developersguide.html > [2]: https://github.com/molpopgen/fwdpy11/blob/main/rust/fp11rust/Cargo.lock