From patchwork Thu Dec 7 23:23:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 35883 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D9773C4167B for ; Thu, 7 Dec 2023 23:24:31 +0000 (UTC) Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mx.groups.io with SMTP id smtpd.web10.113514.1701991469258189521 for ; Thu, 07 Dec 2023 15:24:29 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=H9sYwdCs; spf=pass (domain: gmail.com, ip: 209.85.210.175, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6cebbf51742so736058b3a.1 for ; Thu, 07 Dec 2023 15:24:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701991468; x=1702596268; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=zoPj2tlaa8vrDiTfPKKBCo3r6vkjELttgtJpJ1cpg9g=; b=H9sYwdCssNMtOawXQiHNrI1q0TuzR5fx7jzw/G/y27FB7Q9xHdVmdNSIXDKJ4Tvbu4 +uYGbDpaArwH5hflccsza9af/lEI5qhDmmH9s6lBiVlPiKZFEdY/TzTDhwguccUlBd1+ ONbVsd0nAlQUJWjcuQ4TNSeU3F/lCi03BMcLRO8BrHnSEHBbN7VISJJLpMuA8Brjjvj+ fndP1xhyeBr9EkXVzPKzp85ZgLKbSimBy6PN2uCAfayLYm5yEX6ZSmP6id66FDVWxbcZ 7MF2NEowbC+MoLqYT4ep0GbYkTOi054An4RAEfJlaibT1Fgm3CV7G/xux2t+omkhvZH3 Ah2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701991468; x=1702596268; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zoPj2tlaa8vrDiTfPKKBCo3r6vkjELttgtJpJ1cpg9g=; b=mqBS4H77hmG+yu738Tf/moT7jVxJEOgqjQSMPGKtsA7dMyUpQ5E3Mk8HdzMC/PDzbH p4TZzxlgjU+ookvxr6fd1Tt+wZ1eaNHEJMqVWQB34NS+kiPP81LceOmZR3BoyUSF5fHZ 5sGIiOYjzWSWPnZx51XxrQDPrT9j6c8Iz8xfkhcKQcwMu9//sk/6fHntYQLXOvIq8Wzp njpU4PJeKTM2hHuVQbRKPF6cxwp74mS/94bG6V1xeG069w0vTMG7om867BD9JaEUEqfv phtYDIhFrHaY7wij7RcuH+ExYUW9eXpgVsQaQtxoSdR/byQwEw+nlklmde7QfUpjZEmE mHIw== X-Gm-Message-State: AOJu0YwuSrvkdVdOzCzLhs9UT4JA4506uWFxvxwHOu0Ne+54bEXkxeRU 31CBtdrkKRU00WC6JAWjVFos5iVBRK4= X-Google-Smtp-Source: AGHT+IH5bXGQtw//In3sIIF9F0lsyKs59iSymIUW5KXPg03zQgX5o4ySFXEaRjLxG63psUksBTwkiA== X-Received: by 2002:a05:6a00:198b:b0:6ce:78c9:5979 with SMTP id d11-20020a056a00198b00b006ce78c95979mr4794pfl.18.1701991468095; Thu, 07 Dec 2023 15:24:28 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:f523:dc1d:b135:87b9]) by smtp.gmail.com with ESMTPSA id ff16-20020a056a002f5000b006ce742b6b1fsm324266pfb.63.2023.12.07.15.24.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 15:24:27 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 1/7] python3-pydantic-core: add v2.14.5 Date: Thu, 7 Dec 2023 15:23:51 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 07 Dec 2023 23:24:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107293 Runtime dependency for current python3-pydantic This package provides the core functionality for pydantic validation and serialization. Pydantic-core is currently around 17x faster than pydantic V1. See tests/benchmarks/ for details. https://github.com/pydantic/pydantic-core/tree/v2.14.5/tests/benchmarks Signed-off-by: Tim Orling --- .../python/python3-pydantic-core-crates.inc | 166 ++++++++++++++++++ .../python/python3-pydantic-core_2.14.5.bb | 25 +++ 2 files changed, 191 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc create mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc b/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc new file mode 100644 index 000000000..932cfc852 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc @@ -0,0 +1,166 @@ +# Autogenerated with 'bitbake -c update_crates python3-pydantic-core' + +# from Cargo.lock +SRC_URI += " \ + crate://crates.io/ahash/0.8.6 \ + crate://crates.io/aho-corasick/1.0.2 \ + crate://crates.io/autocfg/1.1.0 \ + crate://crates.io/base64/0.21.5 \ + crate://crates.io/bitflags/1.3.2 \ + crate://crates.io/cc/1.0.79 \ + crate://crates.io/cfg-if/1.0.0 \ + crate://crates.io/enum_dispatch/0.3.12 \ + crate://crates.io/equivalent/1.0.1 \ + crate://crates.io/form_urlencoded/1.2.0 \ + crate://crates.io/getrandom/0.2.10 \ + crate://crates.io/hashbrown/0.14.0 \ + crate://crates.io/heck/0.4.1 \ + crate://crates.io/idna/0.4.0 \ + crate://crates.io/indexmap/2.0.0 \ + crate://crates.io/indoc/2.0.4 \ + crate://crates.io/itoa/1.0.8 \ + crate://crates.io/jiter/0.0.4 \ + crate://crates.io/lexical-core/0.8.5 \ + crate://crates.io/lexical-parse-float/0.8.5 \ + crate://crates.io/lexical-parse-integer/0.8.6 \ + crate://crates.io/lexical-util/0.8.5 \ + crate://crates.io/lexical-write-float/0.8.5 \ + crate://crates.io/lexical-write-integer/0.8.5 \ + crate://crates.io/libc/0.2.147 \ + crate://crates.io/lock_api/0.4.10 \ + crate://crates.io/memchr/2.6.3 \ + crate://crates.io/memoffset/0.9.0 \ + crate://crates.io/num-bigint/0.4.4 \ + crate://crates.io/num-integer/0.1.45 \ + crate://crates.io/num-traits/0.2.16 \ + crate://crates.io/once_cell/1.18.0 \ + crate://crates.io/parking_lot/0.12.1 \ + crate://crates.io/parking_lot_core/0.9.8 \ + crate://crates.io/percent-encoding/2.3.0 \ + crate://crates.io/proc-macro2/1.0.69 \ + crate://crates.io/pyo3/0.20.0 \ + crate://crates.io/pyo3-build-config/0.20.0 \ + crate://crates.io/pyo3-ffi/0.20.0 \ + crate://crates.io/pyo3-macros/0.20.0 \ + crate://crates.io/pyo3-macros-backend/0.20.0 \ + crate://crates.io/python3-dll-a/0.2.9 \ + crate://crates.io/quote/1.0.29 \ + crate://crates.io/redox_syscall/0.3.5 \ + crate://crates.io/regex/1.10.2 \ + crate://crates.io/regex-automata/0.4.3 \ + crate://crates.io/regex-syntax/0.8.2 \ + crate://crates.io/rustversion/1.0.13 \ + crate://crates.io/ryu/1.0.14 \ + crate://crates.io/scopeguard/1.1.0 \ + crate://crates.io/serde/1.0.190 \ + crate://crates.io/serde_derive/1.0.190 \ + crate://crates.io/serde_json/1.0.108 \ + crate://crates.io/smallvec/1.11.1 \ + crate://crates.io/speedate/0.13.0 \ + crate://crates.io/static_assertions/1.1.0 \ + crate://crates.io/strum/0.25.0 \ + crate://crates.io/strum_macros/0.25.3 \ + crate://crates.io/syn/2.0.38 \ + crate://crates.io/target-lexicon/0.12.9 \ + crate://crates.io/tinyvec/1.6.0 \ + crate://crates.io/tinyvec_macros/0.1.1 \ + crate://crates.io/unicode-bidi/0.3.13 \ + crate://crates.io/unicode-ident/1.0.10 \ + crate://crates.io/unicode-normalization/0.1.22 \ + crate://crates.io/unindent/0.2.3 \ + crate://crates.io/url/2.4.1 \ + crate://crates.io/uuid/1.5.0 \ + crate://crates.io/version_check/0.9.4 \ + crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ + crate://crates.io/windows-targets/0.48.1 \ + crate://crates.io/windows_aarch64_gnullvm/0.48.0 \ + crate://crates.io/windows_aarch64_msvc/0.48.0 \ + crate://crates.io/windows_i686_gnu/0.48.0 \ + crate://crates.io/windows_i686_msvc/0.48.0 \ + crate://crates.io/windows_x86_64_gnu/0.48.0 \ + crate://crates.io/windows_x86_64_gnullvm/0.48.0 \ + crate://crates.io/windows_x86_64_msvc/0.48.0 \ + crate://crates.io/zerocopy/0.7.20 \ + crate://crates.io/zerocopy-derive/0.7.20 \ +" + +SRC_URI[ahash-0.8.6.sha256sum] = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" +SRC_URI[aho-corasick-1.0.2.sha256sum] = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" +SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +SRC_URI[base64-0.21.5.sha256sum] = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +SRC_URI[cc-1.0.79.sha256sum] = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" +SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +SRC_URI[enum_dispatch-0.3.12.sha256sum] = "8f33313078bb8d4d05a2733a94ac4c2d8a0df9a2b84424ebf4f33bfc224a890e" +SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +SRC_URI[form_urlencoded-1.2.0.sha256sum] = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" +SRC_URI[getrandom-0.2.10.sha256sum] = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" +SRC_URI[hashbrown-0.14.0.sha256sum] = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +SRC_URI[idna-0.4.0.sha256sum] = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +SRC_URI[indexmap-2.0.0.sha256sum] = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +SRC_URI[indoc-2.0.4.sha256sum] = "1e186cfbae8084e513daff4240b4797e342f988cecda4fb6c939150f96315fd8" +SRC_URI[itoa-1.0.8.sha256sum] = "62b02a5381cc465bd3041d84623d0fa3b66738b52b8e2fc3bab8ad63ab032f4a" +SRC_URI[jiter-0.0.4.sha256sum] = "b27d419c535bf7b50ad355278b1159cbf0cc8d507ea003d625b17bf0375720b8" +SRC_URI[lexical-core-0.8.5.sha256sum] = "2cde5de06e8d4c2faabc400238f9ae1c74d5412d03a7bd067645ccbc47070e46" +SRC_URI[lexical-parse-float-0.8.5.sha256sum] = "683b3a5ebd0130b8fb52ba0bdc718cc56815b6a097e28ae5a6997d0ad17dc05f" +SRC_URI[lexical-parse-integer-0.8.6.sha256sum] = "6d0994485ed0c312f6d965766754ea177d07f9c00c9b82a5ee62ed5b47945ee9" +SRC_URI[lexical-util-0.8.5.sha256sum] = "5255b9ff16ff898710eb9eb63cb39248ea8a5bb036bea8085b1a767ff6c4e3fc" +SRC_URI[lexical-write-float-0.8.5.sha256sum] = "accabaa1c4581f05a3923d1b4cfd124c329352288b7b9da09e766b0668116862" +SRC_URI[lexical-write-integer-0.8.5.sha256sum] = "e1b6f3d1f4422866b68192d62f77bc5c700bee84f3069f2469d7bc8c77852446" +SRC_URI[libc-0.2.147.sha256sum] = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +SRC_URI[lock_api-0.4.10.sha256sum] = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" +SRC_URI[memchr-2.6.3.sha256sum] = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" +SRC_URI[memoffset-0.9.0.sha256sum] = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" +SRC_URI[num-bigint-0.4.4.sha256sum] = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +SRC_URI[num-integer-0.1.45.sha256sum] = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +SRC_URI[num-traits-0.2.16.sha256sum] = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" +SRC_URI[once_cell-1.18.0.sha256sum] = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" +SRC_URI[parking_lot_core-0.9.8.sha256sum] = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" +SRC_URI[percent-encoding-2.3.0.sha256sum] = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" +SRC_URI[proc-macro2-1.0.69.sha256sum] = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" +SRC_URI[pyo3-0.20.0.sha256sum] = "04e8453b658fe480c3e70c8ed4e3d3ec33eb74988bd186561b0cc66b85c3bc4b" +SRC_URI[pyo3-build-config-0.20.0.sha256sum] = "a96fe70b176a89cff78f2fa7b3c930081e163d5379b4dcdf993e3ae29ca662e5" +SRC_URI[pyo3-ffi-0.20.0.sha256sum] = "214929900fd25e6604661ed9cf349727c8920d47deff196c4e28165a6ef2a96b" +SRC_URI[pyo3-macros-0.20.0.sha256sum] = "dac53072f717aa1bfa4db832b39de8c875b7c7af4f4a6fe93cdbf9264cf8383b" +SRC_URI[pyo3-macros-backend-0.20.0.sha256sum] = "7774b5a8282bd4f25f803b1f0d945120be959a36c72e08e7cd031c792fdfd424" +SRC_URI[python3-dll-a-0.2.9.sha256sum] = "d5f07cd4412be8fa09a721d40007c483981bbe072cd6a21f2e83e04ec8f8343f" +SRC_URI[quote-1.0.29.sha256sum] = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105" +SRC_URI[redox_syscall-0.3.5.sha256sum] = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +SRC_URI[regex-1.10.2.sha256sum] = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +SRC_URI[regex-automata-0.4.3.sha256sum] = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +SRC_URI[regex-syntax-0.8.2.sha256sum] = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +SRC_URI[rustversion-1.0.13.sha256sum] = "dc31bd9b61a32c31f9650d18add92aa83a49ba979c143eefd27fe7177b05bd5f" +SRC_URI[ryu-1.0.14.sha256sum] = "fe232bdf6be8c8de797b22184ee71118d63780ea42ac85b61d1baa6d3b782ae9" +SRC_URI[scopeguard-1.1.0.sha256sum] = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +SRC_URI[serde-1.0.190.sha256sum] = "91d3c334ca1ee894a2c6f6ad698fe8c435b76d504b13d436f0685d648d6d96f7" +SRC_URI[serde_derive-1.0.190.sha256sum] = "67c5609f394e5c2bd7fc51efda478004ea80ef42fee983d5c67a65e34f32c0e3" +SRC_URI[serde_json-1.0.108.sha256sum] = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +SRC_URI[smallvec-1.11.1.sha256sum] = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" +SRC_URI[speedate-0.13.0.sha256sum] = "242f76c50fd18cbf098607090ade73a08d39cfd84ea835f3796a2c855223b19b" +SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +SRC_URI[strum-0.25.0.sha256sum] = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +SRC_URI[strum_macros-0.25.3.sha256sum] = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +SRC_URI[syn-2.0.38.sha256sum] = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b" +SRC_URI[target-lexicon-0.12.9.sha256sum] = "df8e77cb757a61f51b947ec4a7e3646efd825b73561db1c232a8ccb639e611a0" +SRC_URI[tinyvec-1.6.0.sha256sum] = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" +SRC_URI[unicode-bidi-0.3.13.sha256sum] = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" +SRC_URI[unicode-ident-1.0.10.sha256sum] = "22049a19f4a68748a168c0fc439f9516686aa045927ff767eca0a85101fb6e73" +SRC_URI[unicode-normalization-0.1.22.sha256sum] = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +SRC_URI[unindent-0.2.3.sha256sum] = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce" +SRC_URI[url-2.4.1.sha256sum] = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" +SRC_URI[uuid-1.5.0.sha256sum] = "88ad59a7560b41a70d191093a945f0b87bc1deeda46fb237479708a1d6b6cdfc" +SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +SRC_URI[windows-targets-0.48.1.sha256sum] = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" +SRC_URI[windows_aarch64_gnullvm-0.48.0.sha256sum] = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +SRC_URI[windows_aarch64_msvc-0.48.0.sha256sum] = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +SRC_URI[windows_i686_gnu-0.48.0.sha256sum] = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +SRC_URI[windows_i686_msvc-0.48.0.sha256sum] = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +SRC_URI[windows_x86_64_gnu-0.48.0.sha256sum] = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +SRC_URI[windows_x86_64_gnullvm-0.48.0.sha256sum] = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +SRC_URI[windows_x86_64_msvc-0.48.0.sha256sum] = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +SRC_URI[zerocopy-0.7.20.sha256sum] = "dd66a62464e3ffd4e37bd09950c2b9dd6c4f8767380fabba0d523f9a775bc85a" +SRC_URI[zerocopy-derive-0.7.20.sha256sum] = "255c4596d41e6916ced49cfafea18727b24d67878fa180ddfd69b9df34fd1726" diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb new file mode 100644 index 000000000..8221de80b --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb @@ -0,0 +1,25 @@ +SUMMARY = "Provides the core functionality for pydantic validation and serialization." +DESCRIPTION = "This package provides the core functionality for \ +pydantic validation and serialization.\ +\ +Pydantic-core is currently around 17x faster than pydantic V1." +HOMEPAGE = "https://github.com/pydantic/pydantic-core" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" + +SRC_URI[sha256sum] = "6d30226dfc816dd0fdf120cae611dd2215117e4f9b124af8c60ab9093b6e8e71" + +DEPENDS = "python3-maturin-native python3-typing-extensions" + +require ${BPN}-crates.inc + +inherit pypi cargo-update-recipe-crates python_maturin + +S = "${WORKDIR}/pydantic_core-${PV}" + +PYPI_ARCHIVE_NAME = "pydantic_core-${PV}.${PYPI_PACKAGE_EXT}" + +RDEPENDS:${PN} += "python3-typing-extensions" + +INSANE_SKIP:${PN} = "already-stripped" From patchwork Thu Dec 7 23:23:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 35884 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6693C10DC3 for ; Thu, 7 Dec 2023 23:24:31 +0000 (UTC) Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) by mx.groups.io with SMTP id smtpd.web11.113083.1701991470590363719 for ; Thu, 07 Dec 2023 15:24:30 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=W39HV+By; spf=pass (domain: gmail.com, ip: 209.85.210.179, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-6ce9c8c45a7so1087615b3a.0 for ; Thu, 07 Dec 2023 15:24:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701991470; x=1702596270; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=ZkgMC1bVJEipoFptbY3j2Fl2HaYtpBWAzBcg/OPhUXM=; b=W39HV+ByH+YjYVwBvmUlThB4Xd4qr9T8clFO6mkmzW+MHWEnZ7DcfViY1xX4ggqb/e 8xmo4gQH0titICTbujgfv6IJZsaTHbrhdoVbaOgQ5XoDWeN3vvbQcy/lnDJO4BPOyCXr pw9255zotNTteF2LPEzH+coUsEkkFZosbbEUy9VHZz4IeMAk/bYiTudB6tKfxVF8lK7p R8hTPm7G2mI+sOflhDJl4/C6au3j/xcBCtmX0RNwpyn0ixdRJdzl8KHJh2OfCAJ4LRyG D8doVhbUrtPG756K2JHHUQB3vUv1tuoBo4+4zBlasZfGYLvI9r70jW5OgM/IPn90zF3b GKiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701991470; x=1702596270; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZkgMC1bVJEipoFptbY3j2Fl2HaYtpBWAzBcg/OPhUXM=; b=vZ0aH9r7fyUAGkLcSAK8866YzaKBf3KzIBZ98WXcmtRVVL78k9a5Rm8qBaDeSB1BeO hawKDKWIXUiTQ7wvPpQ8fTKw+5eAmT50hAP1oExaNCeMvHFg1GTGuXMrYm7ZM7sU0pzw YaW9B/mUl8huk1yVPA1G29exWiqxzw/53lhxoDXutLI6pbECLz0rDh57ILHmnnBrTrYG yrzjSLL3gxb11OiJ538j16JSil8nI5Up/Xr6kFmwrMejLVMj2E0dfquGOoX2pvbIpfvV brCV70IhstOgiF4qiNet6Tq8Lj4N20KXN4evLZNSYCmJBrl7Ykr11uysr3eWqpI5Y3EQ UB7w== X-Gm-Message-State: AOJu0YxHwMBpJiE3AwjOCFOW6LgDoQnBGfmcDHOu0jGj/J50QZCzW6+b 8Oc0MssEhoOm3bvVtKbYh3zoYX2MAug= X-Google-Smtp-Source: AGHT+IGdxChLJ5MCxxBK28UyFugyEAiOA6uL2CKa/LD3BEBiK/SF0J2VgXs3+OmySsEtrK7wmcAYww== X-Received: by 2002:a05:6a00:84b:b0:6cd:faa6:fc44 with SMTP id q11-20020a056a00084b00b006cdfaa6fc44mr3129853pfk.25.1701991469615; Thu, 07 Dec 2023 15:24:29 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:f523:dc1d:b135:87b9]) by smtp.gmail.com with ESMTPSA id ff16-20020a056a002f5000b006ce742b6b1fsm324266pfb.63.2023.12.07.15.24.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 15:24:29 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 2/7] python3-annotated-types: add v0.6.0 Date: Thu, 7 Dec 2023 15:23:52 -0800 Message-Id: <7297f8648cff813d9b0211ad5f17d38c2d56b10e.1701991044.git.ticotimo@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 07 Dec 2023 23:24:31 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107294 Run-time dependency for python3-pydantic """ PEP-593 added typing.Annotated as a way of adding context-specific metadata to existing types, and specifies that Annotated[T, x] should be treated as T by any tool or library without special logic for x. This package provides metadata objects which can be used to represent common constraints such as upper and lower bounds on scalar values and collection sizes, a Predicate marker for runtime checks, and descriptions of how we intend these metadata to be interpreted. In some cases, we also note alternative representations which do not require this package. """ References: https://peps.python.org/pep-0593/ Signed-off-by: Tim Orling --- .../python/python3-annotated-types_0.6.0.bb | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-annotated-types_0.6.0.bb diff --git a/meta-python/recipes-devtools/python/python3-annotated-types_0.6.0.bb b/meta-python/recipes-devtools/python/python3-annotated-types_0.6.0.bb new file mode 100644 index 000000000..79cbb66bc --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-annotated-types_0.6.0.bb @@ -0,0 +1,14 @@ +SUMMARY = "Reusable constraint types to use with typing.Annotated" +DESCRIPTION = "" +HOMEPAGE = "" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c6afb13fdc220497ee5cded1e717ed67" + +SRC_URI[sha256sum] = "563339e807e53ffd9c267e99fc6d9ea23eb8443c08f112651963e24e22f84a5d" + +S = "${WORKDIR}/annotated_types-${PV}" +PYPI_PACKAGE = "annotated_types" + +inherit pypi python_hatchling + +RDEPENDS:${PN} = "python3-typing-extensions" From patchwork Thu Dec 7 23:23:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 35885 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB69AC46CA3 for ; Thu, 7 Dec 2023 23:24:41 +0000 (UTC) Received: from mail-oi1-f174.google.com (mail-oi1-f174.google.com [209.85.167.174]) by mx.groups.io with SMTP id smtpd.web11.113085.1701991472144636262 for ; Thu, 07 Dec 2023 15:24:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=YHx2SaMV; spf=pass (domain: gmail.com, ip: 209.85.167.174, mailfrom: ticotimo@gmail.com) Received: by mail-oi1-f174.google.com with SMTP id 5614622812f47-3b844357f7cso1125599b6e.1 for ; Thu, 07 Dec 2023 15:24:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701991471; x=1702596271; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=CT4rE6ZBybBzjr2T8+raeIO0Ns9T3HqFHAoo/kr23xk=; b=YHx2SaMV60Gyh3PPriqWSynwxfspYHZnndRxSvgJe3sOuVUAp82fZNPRtAE0eThSRv tOWhWcUJwiBBCjI6jeXzpYYtrD53YOEuQ0G1zkXzedaEHSLExG890Fr5z++5WDqaeo8O kOOlUUwMCwvpezkGlUzaU7SZWqkJ+FSTNH/AsPOJUROmH9LLMtRAo9FGQBYi07CJ7P9d 1Lia9WNRWWVHluD1a5XiICwMxn+d/DWevjuIVsQA/Eh7LOL/TOli3Fq9KE2icd9u1D5c ++dF9IqSC1fBMIEenNNylKHIPt118orkboi+NQHdGM/eX2J15IljD/UnRhWqY1RcUDc9 KvtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701991471; x=1702596271; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=CT4rE6ZBybBzjr2T8+raeIO0Ns9T3HqFHAoo/kr23xk=; b=bpT/8PyYF7lNHiyRlfAYcqDmDQpkLvtLwSo9IjFkCfxHY8TnnKe0NL6qHhJtvb58ZN i9zJRyZfkfjGeKMF4ssOf2w4hDlRWdo4/yG3s1/dluD0zYa01gG8FAZjGbhVsV+0rTHJ +jHe8fs4uj6SWY/nUEgNN9i4rkNrhgkE7y0UASjquc0Np0VEv1/7incWvTmb6y5ATZVF pEJbEOu2KCUKhZhl4Z5RXwLw7L87QZ6zLeV2BMJQyWZv9kpDScG5B2ppdrhpq2UXXFCC yqoyUqNvdBAEMy4L13zrK9UiJa+NOYnEI6nSSiWtVIPXqAwWLzOmEKhUj9UX3r+Ab+9N KXyw== X-Gm-Message-State: AOJu0Yw0YUlt+jHhrwi3YCmlqByb1Psd0q+9RofeI2SSDEeibcKa+wT0 wR/fDYWQXEnv5F+VY92G95Iogm7sHPA= X-Google-Smtp-Source: AGHT+IERElI/N8qEitxoDXDacsS07Vd7GWQBhobN75c4IjTq0GrBWLMc+P9fOTN9lIstBptpuPakuA== X-Received: by 2002:a05:6808:148e:b0:3b8:b063:6ba7 with SMTP id e14-20020a056808148e00b003b8b0636ba7mr4110936oiw.86.1701991471174; Thu, 07 Dec 2023 15:24:31 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:f523:dc1d:b135:87b9]) by smtp.gmail.com with ESMTPSA id ff16-20020a056a002f5000b006ce742b6b1fsm324266pfb.63.2023.12.07.15.24.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 15:24:30 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 3/7] python3-pydantic: fix RDEPENDS Date: Thu, 7 Dec 2023 15:23:53 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 07 Dec 2023 23:24:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107295 * Newer python3-pydantic offloaded some of its code to python3-pydantic-core * Add python3-annotated-types to RDEPENDS. * Add DESCRIPTION and trim SUMMARY. Signed-off-by: Tim Orling --- .../recipes-devtools/python/python3-pydantic_2.5.2.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.5.2.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.5.2.bb index 3750d49a9..226c58e87 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic_2.5.2.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic_2.5.2.bb @@ -1,4 +1,10 @@ -SUMMARY = "Data validation and settings management using Python type hinting" +SUMMARY = "Data validation using Python type hinting" +DESCRIPTION = "Data validation and settings management using Python \ +type hints.\ +\ +Fast and extensible, Pydantic plays nicely with your linters/IDE/brain. \ +Define how data should be in pure, canonical Python 3.7+; validate it with \ +Pydantic." HOMEPAGE = "https://github.com/samuelcolvin/pydantic" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" @@ -10,6 +16,7 @@ SRC_URI[sha256sum] = "ff177ba64c6faf73d7afa2e8cad38fd456c0dbe01c9954e71038001cd1 DEPENDS += "python3-hatch-fancy-pypi-readme-native" RDEPENDS:${PN} += "\ + python3-annotated-types \ python3-core \ python3-datetime \ python3-image \ @@ -19,5 +26,6 @@ RDEPENDS:${PN} += "\ python3-netclient \ python3-numbers \ python3-profile \ + python3-pydantic-core \ python3-typing-extensions \ " From patchwork Thu Dec 7 23:23:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 35888 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E424CC10DCE for ; Thu, 7 Dec 2023 23:24:41 +0000 (UTC) Received: from mail-pg1-f182.google.com (mail-pg1-f182.google.com [209.85.215.182]) by mx.groups.io with SMTP id smtpd.web10.113519.1701991473666410144 for ; Thu, 07 Dec 2023 15:24:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Wm//hefx; spf=pass (domain: gmail.com, ip: 209.85.215.182, mailfrom: ticotimo@gmail.com) Received: by mail-pg1-f182.google.com with SMTP id 41be03b00d2f7-5c66e7eafabso1240120a12.0 for ; Thu, 07 Dec 2023 15:24:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701991473; x=1702596273; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=AlNVGRp7Zy/trSzm/rrOJNdUukYY6sE4+X1IX26iL5w=; b=Wm//hefx+jl2yjeNx/iWJS+HIsh8czjVffD1oq+FthRbCsLvig7zqq5PChGgjJQXWc Y6QyOM/xYGs09JFYv/T9h6tW9xLUgHH4Ycyzlc5QxY3zRgRfK4z+BeiIi/jIaEXFuK+b LEnYJXyFi9skIC18Wxe+ZVy6NSbJRvnzrrdlsPFLu8puJWk0EYty89E9JiuPONyMZVB9 CY+xmT4cAVU5h7bmUbLULCX8Ij5/y7Ym69JWoiFPEA8bl6IubXI45vGcDlDjc53iNxor 7ThX/Egs+z8Dr6zSHsLSLutnob/dMKV4UyQB+Esyuj0RgyIdbFBeOtYTr/rFiwsdQ1l2 fdnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701991473; x=1702596273; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AlNVGRp7Zy/trSzm/rrOJNdUukYY6sE4+X1IX26iL5w=; b=nFoIeANAwr/AwgXsKOQ14KtXGgjWgILZFr2NYqL4sH+JgCNp+yYx0heNajikFO3Ths x9x4EiNaLGb/a7xcwSNtpal56CJACNJQD5KdoACxCw6d/7wV4GHLjpr44BnDG5fbUSpj LpOWqYJrABIwOFevH4CcTNea9KntNxLaJ3agXszBXUsZenfknxYEZUxdV9DGp7PIjKSX jRcJM0eFtVk79IeE0b6qwE6uarCrQ/F1/QXX2ckjBiP2mRD/TOG/xQkC8vLn1j1Rh5Kx /+wr9PT3TvAfBgT6nYbw2PXtFPWMzJYaGEuGfjHXLWMU2cmlqx5fVC68Oae1JSO7Anyz rc9Q== X-Gm-Message-State: AOJu0YyiLqjEr4cPj/CztySEBtouJFfuORoYDzBJMzcUlz2LHHQ0pJlh Cq1E05dDdujH4fuB3C3L/QwkXccRs4U= X-Google-Smtp-Source: AGHT+IEAoiDoY43PWQII5Zg6xt8hj87iFg2ICcHzBSFnrRvDiPT/Day4CwqYZPibf124GAgCQlSCtA== X-Received: by 2002:a05:6a20:43a7:b0:18f:bf91:2938 with SMTP id i39-20020a056a2043a700b0018fbf912938mr4203654pzl.125.1701991472683; Thu, 07 Dec 2023 15:24:32 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:f523:dc1d:b135:87b9]) by smtp.gmail.com with ESMTPSA id ff16-20020a056a002f5000b006ce742b6b1fsm324266pfb.63.2023.12.07.15.24.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 15:24:32 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 4/7] python3-dirty-equals: add v0.7.1 Date: Thu, 7 Dec 2023 15:23:54 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 07 Dec 2023 23:24:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107296 Dependency for python3-pydantic-core ptests. """ dirty-equals is a python library that (mis)uses the __eq__ method to make python code (generally unit tests) more declarative and therefore easier to read and write. dirty-equals can be used in whatever context you like, but it comes into its own when writing unit tests for applications where you're commonly checking the response to API calls and the contents of a database. Signed-off-by: Tim Orling --- .../python/python3-dirty-equals_0.7.1.bb | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-dirty-equals_0.7.1.bb diff --git a/meta-python/recipes-devtools/python/python3-dirty-equals_0.7.1.bb b/meta-python/recipes-devtools/python/python3-dirty-equals_0.7.1.bb new file mode 100644 index 000000000..ea9303b17 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-dirty-equals_0.7.1.bb @@ -0,0 +1,21 @@ +SUMMARY = "Doing dirty (but extremely useful) things with equals." +DESCRIPTION = "dirty-equals is a python library that (mis)uses the \ +__eq__ method to make python code (generally unit tests) more \ +declarative and therefore easier to read and write.\ +\ +dirty-equals can be used in whatever context you like, but it comes \ +into its own when writing unit tests for applications where you're \ +commonly checking the response to API calls and the contents of a database." +HOMEPAGE = "https://github.com/samuelcolvin/dirty-equals" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" + +SRC_URI[sha256sum] = "a580513f3285e93656a770a04e428f8bfc513848877bf278282dbfbb907fdbb4" + +S = "${WORKDIR}/dirty_equals-${PV}" + +inherit pypi python_hatchling + +PYPI_PACKAGE = "dirty_equals" + +RDEPENDS:${PN} += "python3-pytz" From patchwork Thu Dec 7 23:23:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 35889 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E8A3BC46CA0 for ; Thu, 7 Dec 2023 23:24:41 +0000 (UTC) Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) by mx.groups.io with SMTP id smtpd.web11.113088.1701991475696432686 for ; Thu, 07 Dec 2023 15:24:35 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=AXa2x+yn; spf=pass (domain: gmail.com, ip: 209.85.210.51, mailfrom: ticotimo@gmail.com) Received: by mail-ot1-f51.google.com with SMTP id 46e09a7af769-6d9b05bed94so964093a34.1 for ; Thu, 07 Dec 2023 15:24:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701991474; x=1702596274; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=25Xs9fiKTeMYl+whsNTzxktB8U4Bk0Xh6aoEvm55jWs=; b=AXa2x+ynX6PQY2YBpQO8Nrf8LyCuwnh3JjrkMo527uaTxT16ZBY4nHCl4o8CtdMvO/ Qz5HOR/xZnldJdX7ewTd7H9yJM2OXa9aIxuiVipkxEgRwVX5q9OB0NaDU7v9LAly6u3V uYiGqOP+QQTKZ9W3c2gGamS0HQomIG9ZpCGV8zQNotDhlCogdh9Jka+ROHoWK3RI53Rx bGaIASDntm1eiaHlzuoxiBA8//hKxWS5xp9AdATfwZ75kTabOj5D3thq/RsBRIH5VYU8 eza0YZQdOl+oqn21G0asrs4u0kXcIXl9Fi6Y4qoBjK4nawrt2Sls4QZ9HJzjUbqMw0UM 1ycA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701991474; x=1702596274; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=25Xs9fiKTeMYl+whsNTzxktB8U4Bk0Xh6aoEvm55jWs=; b=b4p6hnXFLZLGDAtEaJ1xmXOvJNsv0D3VfcJRA7BwRNYR6yn6vZGRU0gfHcEEJPZUi0 rWjxBZ6wCTPkszktv7E6N0aUZVo1YP1CScbu0gmCakmg1g+iD6uLNSsDGlvVyA4Tlcdw cLTL3GPD9fLrfKyZYvommO0omb9REyJklBqQ7UJaU3nkJ45Z4C46xDHwUHj1XvHUZ7oF /p76MlRTcKIFMdvjyu8otKHkiODBl/AR333YK0RDVjfYUYPT1iCft/s62o9TKzguHhe2 lCvbU0oqdL2Th/K4go05eCXgpWEkDmPNHviCdRdY4FX1rd5HACq+AhzOKsCn7+H+C3HG qtyw== X-Gm-Message-State: AOJu0YxM22yZHqHgGSfuSY9ggM14uMMTW3Khd8k5iaQCaS+/qjNexWD+ tVpshpQR4RX1Fq31C6oOj3FC3piIpn0= X-Google-Smtp-Source: AGHT+IHqzKyRDfMB17UBZ4lrdEuGtc/clPKhtRT6cSk58Mq9Os+jiftZTWExVAu8SrH9RcCaSneFHw== X-Received: by 2002:a05:6358:730b:b0:170:17eb:204c with SMTP id d11-20020a056358730b00b0017017eb204cmr3388037rwg.53.1701991474231; Thu, 07 Dec 2023 15:24:34 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:f523:dc1d:b135:87b9]) by smtp.gmail.com with ESMTPSA id ff16-20020a056a002f5000b006ce742b6b1fsm324266pfb.63.2023.12.07.15.24.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 15:24:33 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 5/7] python3-pydantic-core: enable ptest Date: Thu, 7 Dec 2023 15:23:55 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 07 Dec 2023 23:24:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107297 * Add to ptest-packagelists-meta-python.inc "FAST" under 30 seconds Signed-off-by: Tim Orling --- .../include/ptest-packagelists-meta-python.inc | 1 + .../python/python3-pydantic-core/run-ptest | 3 +++ .../python/python3-pydantic-core_2.14.5.bb | 15 +++++++++++++++ 3 files changed, 19 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 3272d9819..13dcb621d 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -27,6 +27,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-polyline \ python3-precise-runner \ python3-prettytable \ + python3-pydantic-core \ python3-pylint \ python3-ptyprocess \ python3-py-cpuinfo \ diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest b/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest new file mode 100644 index 000000000..8d2017d39 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb index 8221de80b..01f180c8c 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb @@ -23,3 +23,18 @@ PYPI_ARCHIVE_NAME = "pydantic_core-${PV}.${PYPI_PACKAGE_EXT}" RDEPENDS:${PN} += "python3-typing-extensions" INSANE_SKIP:${PN} = "already-stripped" + +inherit ptest +SRC_URI += "file://run-ptest" +RDEPENDS:${PN}-ptest += "\ + python3-dirty-equals \ + python3-hypothesis \ + python3-pytest \ + python3-pytest-mock \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ + rm -rf ${D}${PTEST_PATH}/tests/benchmarks +} From patchwork Thu Dec 7 23:23:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 35887 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id F1C2CC10DC3 for ; Thu, 7 Dec 2023 23:24:41 +0000 (UTC) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mx.groups.io with SMTP id smtpd.web11.113089.1701991476592222096 for ; Thu, 07 Dec 2023 15:24:36 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=JNVsT8Oz; spf=pass (domain: gmail.com, ip: 209.85.210.173, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6ce9e897aeaso1120143b3a.2 for ; Thu, 07 Dec 2023 15:24:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701991476; x=1702596276; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=dqqIxKUNV5aK7/bdXWYdR62qoIryRqWEcKsqipH0GN0=; b=JNVsT8OzHekM4u5CtB0YW8Py8ZWDeFH3QdsuiQy5v945cGckCXptTWV39gpUIGWZpC OT1tnuEGFvvAlkjQSjMJkxniPJRM64mkseXpAjrVATMfvAcpTmITbBYhvbRR6BOSVHfk c5uLsPCfGpJmMWr4tpy3vjNbidhY3FWSlPX0tanHSrtnYgnwzFLxVvYX+EkJl+wMd5BN q2h/ycgHyqExdKR3YLV5sxxzFUXYLBQzTAsu3TAQW/qX8LKjrHd/HKZveqW/AnrV69T5 66MQKOS1nkSOpqhlagFoiothcHF2ec2vWXjrX51FYN/d5mo+Q0eMzLHThviH57/ExvF2 sZ5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701991476; x=1702596276; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dqqIxKUNV5aK7/bdXWYdR62qoIryRqWEcKsqipH0GN0=; b=pdnJyPrLmN/G5YWTUr1ymuCFSD++AYya9Ko9Naam1iY4rjnAKfC0X0+oEfvS/NteQa JWZQcoHzlj6wG2JGuNP26Ldru3NnVYMZqg5xsS9u8br2/s7yKvxnnWxwxZAjwcinq0sS Z2mEkICXbuT/N42rnTcwZUifnkwHBXu1WjMUAk5mG/LtNBbumGMjWdlEmE/BIDHGeifC TRYNg60GbRq2GpAu9HPc5r0Rk2wGS7MZYjTWnBW+m/jjP19N1064iHe23wPwGMmwQ+j6 balIAb+XODV9P+FYYr7JU5R9I1UJIjI9Y4FT7/4saZjbzfNJex5+5R81cLsWsYfvBbjw GPZw== X-Gm-Message-State: AOJu0Yz5x2PD2WpKtMzRrQTccFfM4cEeR1vO5gvQULGVhqpPjsVDmsPW sKVN3lPW7BkD6Dn7Xp6QJtwCFP+Calc= X-Google-Smtp-Source: AGHT+IGvlkSvDlN6qXu0RnuBzgWzd2+P9v5e4wGeG0sIwe4MV0rJsuUDlZCXwHyQoE4spiGiGa0xQQ== X-Received: by 2002:a05:6a20:8429:b0:189:fd93:c969 with SMTP id c41-20020a056a20842900b00189fd93c969mr4294781pzd.26.1701991475727; Thu, 07 Dec 2023 15:24:35 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:f523:dc1d:b135:87b9]) by smtp.gmail.com with ESMTPSA id ff16-20020a056a002f5000b006ce742b6b1fsm324266pfb.63.2023.12.07.15.24.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 15:24:35 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 6/7] python3-cloudpickle: add v3.0.0 Date: Thu, 7 Dec 2023 15:23:56 -0800 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 07 Dec 2023 23:24:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107298 Dependency for python3-pydantic ptests. """ cloudpickle makes it possible to serialize Python constructs not supported by the default pickle module from the Python standard library. cloudpickle is especially useful for cluster computing where Python code is shipped over the network to execute on remote hosts, possibly close to the data. """ Signed-off-by: Tim Orling --- .../python/python3-cloudpickle_3.0.0.bb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb diff --git a/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb b/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb new file mode 100644 index 000000000..25c379590 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb @@ -0,0 +1,18 @@ +SUMMARY = "Pickler class to extend the standard pickle.Pickler functionality" +DESCRIPTION = "cloudpickle makes it possible to serialize Python constructs \ +not supported by the default pickle module from the Python standard library.\ +\ +cloudpickle is especially useful for cluster computing where Python code is \ +shipped over the network to execute on remote hosts, possibly close to the \ +data." +HOMEPAGE = "https://github.com/cloudpipe/cloudpickle" + +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE.cloudpickle;md5=b4d59aa5e2cc777722aac17841237931" + +inherit pypi python_flit_core + +SRC_URI += "https://raw.githubusercontent.com/cloudpipe/cloudpickle/v${PV}/LICENSE;downloadfilename=LICENSE.cloudpickle;name=license" + +SRC_URI[sha256sum] = "996d9a482c6fb4f33c1a35335cf8afd065d2a56e973270364840712d9131a882" +SRC_URI[license.sha256sum] = "3029ea34173e9fdc233ad315dc6b100bd1ea71f529b1c1af97664a272fdc55f5" From patchwork Thu Dec 7 23:23:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 35886 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB61AC4167B for ; Thu, 7 Dec 2023 23:24:41 +0000 (UTC) Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mx.groups.io with SMTP id smtpd.web11.113090.1701991478384421756 for ; Thu, 07 Dec 2023 15:24:38 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=XeSKmPyi; spf=pass (domain: gmail.com, ip: 209.85.210.176, mailfrom: ticotimo@gmail.com) Received: by mail-pf1-f176.google.com with SMTP id d2e1a72fcca58-6ceb93fb381so777974b3a.0 for ; Thu, 07 Dec 2023 15:24:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701991477; x=1702596277; darn=lists.openembedded.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=fHnPkPRXriCDZCeZ6Wj3sz6iuBttUS+ioa0gHxs/7F8=; b=XeSKmPyiDrHgPXLQWJskjEXgCH9yOeBUAOeKqx+DP2G0t0XNP95cX0GV39GQ1+4AUi n25wILRmSRYFzKoZyo1N/l0wAV/mraAYHCfXWpigQcIoSZqDPfSdnsCynmv8Zu168jaC KionutP3q4kyjrA0aLsSx8cpdeUU6q0etXbnUcRPpdqrqpIRHY4yaDiXslUA+3Oh1+I4 0mpxo9HiSLLwPgvFA5DBycOAMeO1C6D8wkzvZvur10IAGRF0E5CeOwdTW91lIYz0l9aH +5jyCGgE5h2eq+V2nbT+HazTs8rzDobjGrmX3ri5rmfEonSi5zg5DaeOvBnt1V54DOvw pykQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701991477; x=1702596277; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fHnPkPRXriCDZCeZ6Wj3sz6iuBttUS+ioa0gHxs/7F8=; b=KRAll0juPY5q3isXpbb18XsD0Q3g+OAdv60s/SbgFp/ZgF6Ca6EnwXzSlsF1yAbhTt ZFBnb79tzGtpIHXSOhtyU4GyKc6qeJVWoIl1j8iT3Lp15eC/udDLJa+41Q1E1pWGRTBk qgC25vxNNn9zjHZmdaYgAd26mcFcVslxdNodUf1gt0gk4FH+PIc9aQgYMvnSlaRUzDeV 0v9CvmW31bZ7/1g7ayC9ftFMkq67k8Rd6cxb4m2hlvuD/B/b2qV4JAZAGwUNz6iC6EHn 4aTwvRcpCxSTPLCnJItIyZvxsNveijdA7nSWdyhnxLmEkErBPr7i9/hJ3Ltf/NiE6Yxu 4yVA== X-Gm-Message-State: AOJu0Yzs7zpBnuL+VRZ/rTpf96baqslRxNlHe0pEbq/5BZ6qf6D3aNr/ Kfkuqit24v9iNZ6N0wbWJGMJMO32cSw= X-Google-Smtp-Source: AGHT+IE2Ir7XrRPEn3K3WC21qxUWD4g6SViBM7FRmDvF1ecD9MSRG7wOD5yZsHMbUqJoYVgYIoHsCQ== X-Received: by 2002:a05:6a00:cc9:b0:6ce:2731:47b4 with SMTP id b9-20020a056a000cc900b006ce273147b4mr3539pfv.20.1701991477251; Thu, 07 Dec 2023 15:24:37 -0800 (PST) Received: from chiron.hsd1.or.comcast.net ([2601:1c0:ca00:cea0:f523:dc1d:b135:87b9]) by smtp.gmail.com with ESMTPSA id ff16-20020a056a002f5000b006ce742b6b1fsm324266pfb.63.2023.12.07.15.24.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 15:24:36 -0800 (PST) From: Tim Orling To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH 7/7] python3-pydantic: enable ptest Date: Thu, 7 Dec 2023 15:23:57 -0800 Message-Id: <7d6f92c65d843ad7f4db15a43be065759fe8e7eb.1701991044.git.ticotimo@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 07 Dec 2023 23:24:41 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/107299 * Add to ptest-packelists-meta-python.inc "FAST" under 30 s Signed-off-by: Tim Orling --- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-pydantic/run-ptest | 3 +++ .../python/python3-pydantic_2.5.2.bb | 22 +++++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pydantic/run-ptest diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 13dcb621d..f6ae86a1f 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -27,6 +27,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-polyline \ python3-precise-runner \ python3-prettytable \ + python3-pydantic \ python3-pydantic-core \ python3-pylint \ python3-ptyprocess \ diff --git a/meta-python/recipes-devtools/python/python3-pydantic/run-ptest b/meta-python/recipes-devtools/python/python3-pydantic/run-ptest new file mode 100644 index 000000000..8d2017d39 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pydantic/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.5.2.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.5.2.bb index 226c58e87..8fc59aa93 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic_2.5.2.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic_2.5.2.bb @@ -29,3 +29,25 @@ RDEPENDS:${PN} += "\ python3-pydantic-core \ python3-typing-extensions \ " + +inherit ptest +SRC_URI += "file://run-ptest" +RDEPENDS:${PN}-ptest += "\ + python3-cloudpickle \ + python3-dirty-equals \ + python3-pytest \ + python3-pytest-mock \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ + # Requires 'ruff' (python3-ruff) which we cannot build + # until we have Rust 1.71+ in oe-core + rm -f ${D}${PTEST_PATH}/tests/test_docs.py + # We are not trying to support mypy + rm -f ${D}${PTEST_PATH}/tests/test_mypy.py + # We are not trying to run benchmarks + rm -rf ${D}${PTEST_PATH}/tests/benchmarks +} +