From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id sDrIJJWzyGWsFwEAqHPOHw:P1 (envelope-from ) for ; Sun, 11 Feb 2024 12:46:29 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id sDrIJJWzyGWsFwEAqHPOHw (envelope-from ) for ; Sun, 11 Feb 2024 12:46:29 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707651989; a=rsa-sha256; cv=none; b=uqCNPE1Jt7cnMUD/fszUlEZiggNCnbm/yi+iO/XhH6lrdXskIdrFC0AyXh97u/828QteMs DphI7whVwTdnmw7aOnl9rpfRYiZDHYj62m4Nbl1xPfVfHmvQBBWQm7SSNz7ZpBNjg6DlbU 68qxFF7y1aQKEYrtzV8OCXpVGZ8L4qzeaT+egenLfN2pU73UdJFhRJs4FtguChG5nz5DQ1 qjnk8IvW/t+Jacu4e4VecF9IEq0CaWnlN1HxBfYLtBsyTpnO28K+nBb42oeByt/I5urtxp pl+U6BU4MgWoov532xo8xljMhW/WEV91pV3tIIXsu3zQnZdABkgph2BktJNb1g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707651989; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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; bh=1EAk4a2ewOgk66y8uxPmzugulQXdSbe+C6eJQzr3/Aw=; b=b1El63h2el5m/3jBUkW+oaL2tXU36lz8Kq8YXgKr0EW2AljkSAcHPmo1ZnNXDBk9Cx+/Dd az7TP+M1jqNyh04xRsD+9NFS1IzGEEUSE9UKNJztGsvnM+Yco2eOGIatON3bj0mUIlM4ud 42YHRggYivrI5x/8c5nAjmOFSr31BLPwIOdkazddCBaa2Y5bEHWOcB72WKvlaNvWSRpu1R a+ogEtiRZ3rhNsDlOlL5TpZi6e1A1aYTeHbCG1pkgHp9+8BXkIgZ2T4rGBI0d2GhomOQHb JyHADJbOKz+/GkxJXLYFiERVxwGwrYz8Fwt2CaDPIie8vR9IbF2ID1zzcQUYmA== 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 6CCD822B53 for ; Sun, 11 Feb 2024 12:46:29 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rZ8HS-00063Z-69; Sun, 11 Feb 2024 06:45:54 -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 1rZ8HP-00060S-9i for guix-patches@gnu.org; Sun, 11 Feb 2024 06:45:51 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rZ8HO-0006S7-PL for guix-patches@gnu.org; Sun, 11 Feb 2024 06:45:50 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rZ8He-0008Fl-Th for guix-patches@gnu.org; Sun, 11 Feb 2024 06:46:06 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69048] [PATCH 30/32] gnu: Add python-pydantic-2. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 11 Feb 2024 11:46:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69048 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69048@debbugs.gnu.org Received: via spool by 69048-submit@debbugs.gnu.org id=B69048.170765193631523 (code B ref 69048); Sun, 11 Feb 2024 11:46:06 +0000 Received: (at 69048) by debbugs.gnu.org; 11 Feb 2024 11:45:36 +0000 Received: from localhost ([127.0.0.1]:41812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ8H9-0008CJ-K1 for submit@debbugs.gnu.org; Sun, 11 Feb 2024 06:45:36 -0500 Received: from mail05.noris.net ([62.128.1.225]:43129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rZ8H5-0008Bt-4i for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 06:45:31 -0500 Received: from mail01.noris.net ([62.128.1.221]) by mail05.noris.net with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rZ8GZ-000KYf-3j for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 12:44:59 +0100 Received: from p57b08159.dip0.t-ipconnect.de ([87.176.129.89] helo=hermia.goebel-consult.de) by mail01.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rZ8GY-0008O4-WD for 69048@debbugs.gnu.org; Sun, 11 Feb 2024 12:44:59 +0100 Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id E98B05F57A; Sun, 11 Feb 2024 12:44:00 +0100 (CET) From: Hartmut Goebel Date: Sun, 11 Feb 2024 12:43:39 +0100 Message-ID: <1f6549e0828e4a4638a98e948b9b395ae5e8e457.1707650794.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <60825c66932829f895e6426b36d6d290a081ffa5.1707650792.git.h.goebel@crazy-compilers.com> References: <60825c66932829f895e6426b36d6d290a081ffa5.1707650792.git.h.goebel@crazy-compilers.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Noris-IP: 87.176.129.89 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: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -5.38 X-Migadu-Queue-Id: 6CCD822B53 X-Migadu-Spam-Score: -5.38 X-TUID: N8Au21awjfB1 * gnu/packages/python-xyz.scm (python-pydantic-2): New variable. --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 4749c3f204..47aaa84e76 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -7424,6 +7424,39 @@ (define-public python-pydantic-core validation and serialization.") (license license:expat))) +(define-public python-pydantic-2 + (package + (inherit python-pydantic) + (name "python-pydantic") + (version "2.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "pydantic" version)) + (sha256 + (base32 "1a8zbm510czjnfa6xn56w80q121pk7qpywrjdlzcd3a8la1c3mag")))) + (build-system pyproject-build-system) + (arguments + ;; This test requires pytest-examples, which in turn requires + ;; python-ruff, which is difficult to package because it is + ;; written in Rust (TODO: Enable when Ruff is in Guix!). + (list #:test-flags #~'("--ignore" "tests/test_docs.py"))) + (native-inputs + (list python-hatchling + python-hatch-fancy-pypi-readme + python-cloudpickle + python-dirty-equals + python-email-validator + python-faker + python-pytest + python-pytest-benchmark + python-pytest-mock)) + (propagated-inputs + (list python-annotated-types + python-pydantic-core + python-typing-extensions)) + (license license:expat))) + (define-public python-pydantic-cli (package (name "python-pydantic-cli") -- 2.41.0