From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id WPkVIJZijWWoHAAAkFu2QA (envelope-from ) for ; Thu, 28 Dec 2023 12:57:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MN5/HJZijWVdbQAAqHPOHw (envelope-from ) for ; Thu, 28 Dec 2023 12:57:10 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="UH/3dGxE"; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1703764630; 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=s6NLbdabSHcuorEbsfcOq9up2yPHuLRaIh/awgs5niU=; b=lX/JLwDL5NVYExfz2pM+EqGrqHhvtni9+0aLbqUHjCdTR9reLhkUj86b5d/pbt/6m2Vrek /HikSYW3iKxbqDpIounPyWiWsYv404RXiUtvZ9FBzC7V5gqZhwhoYXFM3UYaJpE7ApfA4P bmBUA30Uh+PfCTFGMr48X6Btt8HtqdYShxq7xFxSLpskUSeseOje5lzG/unUztjZz5DPsG areOZN5hlinjnIhmZTD+liIw/XqSbB5pfOpdzE83ZtRju0mIprNem0VAlqd2ogoDBIJ7sv GtFC/4aV/FmEA5j0vsnlqxJRIc/01YGCGsXwT3kryipaGbjuVe1HUOYX6wNmUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1703764630; a=rsa-sha256; cv=none; b=ewVP7f1A+fBvYTsx06+4ZadaI6PJeWYlscPqkSkfeIKmmIeYIszrHza8+uzZ0KqBbqKW7A UDPvG2PA+wY7xW28TYaVn9G6QtvT7obVF66gOas+5i77cXbcYgaM3MQssrHs1HscIYyPX/ 5WsZOm3DMMdOel85ILLY+OABwrw+qHwa2PJAL+DbBLZRwiRIFQRrzARBOsE79ucuXA2FPv YGMxVlPNgImzU8qOIrsDpnB2ezLEUQ/60FpsBPZeduaoLmNPNne0WYN5C8Tmp/rk+qgXz4 v2jIJVE8VzH5vcihF3Ix7Z0So5f0v2MdWrlxS1dzNHuS9UWcLHdhfbXBZg0w5w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="UH/3dGxE"; 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=none 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 6296B17EF4 for ; Thu, 28 Dec 2023 12:57:10 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rIp0P-0005U9-DE; Thu, 28 Dec 2023 06:56:53 -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 1rIp0O-0005Tz-0d for guix-devel@gnu.org; Thu, 28 Dec 2023 06:56:52 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rIp0M-0003zI-4S for guix-devel@gnu.org; Thu, 28 Dec 2023 06:56:51 -0500 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-33697e6fc4aso4494009f8f.1 for ; Thu, 28 Dec 2023 03:56:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703764608; x=1704369408; darn=gnu.org; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender:from:to :cc:subject:date:message-id:reply-to; bh=s6NLbdabSHcuorEbsfcOq9up2yPHuLRaIh/awgs5niU=; b=UH/3dGxEtaB/HBw5BcBcJhzdUM2m6nFLhIh9RfGW/HiNA3D6JXTWBtdo/veiourrs4 5T0QDEybBFY15sJOZ15biyhK+GsvXYE8gf2xwSOwmkjjjaA5ng2mBKFNQI/kag5aUBbz dqxf8ErJgAtKGEWK8T/JNwpc4wOP0CBlq7rp4kdvVgguue9hWbc6HD7vY96AEZAj3+Jn T3RDV/mjJfDIAaIpD97OzWJ/KVfE1b0as2tXF71BXNrDhxJXLUN5X608U4pTeTNL6RMe MTjCjStF9eJYG11ABKH5S6sL7x21o+GS5Vm+byu2h4GS9uuapiEA1dp8toqHjDtNSzpo 4BIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703764608; x=1704369408; h=in-reply-to:content-disposition:mime-version:references :mail-followup-to:message-id:subject:cc:to:from:date:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=s6NLbdabSHcuorEbsfcOq9up2yPHuLRaIh/awgs5niU=; b=Hn9NwAAno/QfWWl0uKdPfGBiflVTTkHAYDb+yRQbzdFDKIkTsQt/MP0Eq5TmtS32rK cDZPFlNf79MOPhvonttlX/oAbl4bwjLrNbJGE9S8r3enx+erTgvxjwtjjbK5YEx072ZV jWkE6eb1pCer0ljsGQTKcnAE9q2ehK3sq5RdBIRFhlnqJlIEH5I93/vQsVUqvBHtmZfT EnlqWjg9xTBPHb8Gcz4Tgli6MunLoKLNyWMxkDr1r+ZQ9pPUynq+Cihbo7ftKeQElRpQ COP7lfVaP9mu0NEHTNM2b77x7+d3AH3ZZFAAcJbIkkKqrJ+UfMzdKq7zYDevlE55/l4d Algg== X-Gm-Message-State: AOJu0YzEXtten3ujHFuJm6HzotnOab5kfzEnCO0vibJ1sgFqUfml/FyZ Xk8fIDuLj6JUkbk3cpAVE4Q= X-Google-Smtp-Source: AGHT+IGU4ZVm1etsG1IjfnJTZKCLtOLqZQ9WtvyK5oZOz3WyhDkIyVVIuk2XUBrTHd6lIxir3WYamA== X-Received: by 2002:a05:6000:402b:b0:336:ebf3:b8f9 with SMTP id cp43-20020a056000402b00b00336ebf3b8f9mr1449243wrb.206.1703764608125; Thu, 28 Dec 2023 03:56:48 -0800 (PST) Received: from localhost ([141.226.15.142]) by smtp.gmail.com with ESMTPSA id b13-20020a056000054d00b00336b8793d5fsm10965457wrf.76.2023.12.28.03.56.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 03:56:47 -0800 (PST) Date: Thu, 28 Dec 2023 13:56:45 +0200 From: Efraim Flashner To: Sharlatan Hellseher Cc: guix-devel Subject: Re: Question on python-pydantic update, rust and maturin build tool Message-ID: Mail-Followup-To: Sharlatan Hellseher , guix-devel References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="PhFamsPNhEqIlKsW" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=efraim.flashner@gmail.com; helo=mail-wr1-x42e.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: 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-Migadu-Spam-Score: -6.81 X-Spam-Score: -6.81 X-Migadu-Queue-Id: 6296B17EF4 X-Migadu-Scanner: mx12.migadu.com X-TUID: CikNV5XC2zpr --PhFamsPNhEqIlKsW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 26, 2023 at 12:27:38AM +0000, Sharlatan Hellseher wrote: > Hi Guix! >=20 >=20 > It might be addressed to rust/python teams. > https://github.com/pydantic/pydantic-core >=20 > During update of some packages from (gnu packages astronomy) I've faced > with requirement for the fresh version of pydantic which depends on > pydantic-core built with rust and maturin. >=20 > This thread is just conversation opener for the potential strategy to deal > with similar cases where python projects start using rust with rare but n= ew > build tool. We have maturin packaged at 1.1.0 and I believe it is even used to build a couple of packages. python-rpds-py, which just landed in the repo today, is probably the best short example of how to use a combination of cargo and any other build system to build a project that doesn't really need any phases overridden, just added/replaced. Is there a specific version of pydantic that you need? I might be able to put together something either using the crates in the master branch or a newer version on the rust-team branch. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --PhFamsPNhEqIlKsW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmWNYnoACgkQQarn3Mo9 g1GVkg/+PAdOdxxW1LZx6NF1ogjXkOO9lgDh015ZBmcQGh6TrhATU5q2+M2VwiBl 2XLnHcHNc0VlyOCR+cYQV8BT+H3JDWFnGktzM424geho2B4J7Ywa0Rah1OCaFnvk a2Bn75fCom6Hb2TG9A5rtUMsw3rect3CUmVg0HknJOKlNyMqLxHtkimcLeOUBFVe s7rT12T5FB2Aw7UZ4Aj6H04Gvsx8aZqHTHMGRyWOdUnMOiQRCuVl6y5ati2cwJB/ 5QdDSpVpNLJUHB2Ikx7cbLM+Fcj/9PZBDBRBBLxLGJJe0A/xgKYvzwevLwJ9Z248 rHaorml6DHpXcVRXFpjilETM822PqxwxwuP5y8MEGenTd772DH8vnyAQZHRwI5Dh cFNzFct+b1vcktULvW9Jqcl5Z8eFHYdUx3ca7GoenPMskAcsSTKuWmt5+fZbyijG jE7gmo89G4Mq/dcrRlRLJi9BT14PqK8esJ6aRxT75luOnCeU3K3ttNa0mTf7qqnQ F6LhA/YpNKD1FMa35cHPQZdLVtaWXY470Mqa+c7Zpy7G6EkbiFp8a4q0Uanzcvve rrwPI9GR60+irMNzDO6ByEvVPC1Zuk1k8YxnCus0qWmYP+JUI8khZR31tOMHIO1m TF8f+7PncBqbszsztSG8Sr31bg9stQijKObEOqpCqjNAGYiDRmY= =+/3c -----END PGP SIGNATURE----- --PhFamsPNhEqIlKsW--