From patchwork Tue Feb 3 19:13:50 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 80358 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 B6181E8785D for ; Tue, 3 Feb 2026 19:14:10 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1602.1770146048902562074 for ; Tue, 03 Feb 2026 11:14:08 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=SBqtKqkP; spf=pass (domain: konsulko.com, ip: 209.85.214.180, mailfrom: tim.orling@konsulko.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-2a7a23f5915so40428135ad.2 for ; Tue, 03 Feb 2026 11:14:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1770146048; x=1770750848; 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=duP/pbnnwz5ewvko6hTo1raHRh11Dfhyl46jnt6+lkk=; b=SBqtKqkPX55lEx8nHpm+HKUQayc+ADy9Yc8lEUwALfsDW9aMZy1q0eY7eXLOtxT37J 1nc4ehuV8KMO+a546YgHbOvpRn47fOjgeu4FC/Nx/GIyiWpjUAPUYO89XVXsNk6afhyX T/bh7ZEBp8TXlTSNLg+Dv0/+sZTjNsMfaJx0U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770146048; x=1770750848; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=duP/pbnnwz5ewvko6hTo1raHRh11Dfhyl46jnt6+lkk=; b=OJzmjR/J6dZ5hNQZ5SDaMkRSnZCPnK1eEXnwxEORTMq9U/Vkgy5CSp9wuFrGtjUWWp qmgPTPYgGHAGIThmXwix8OFw+EhANCziLjGd+CnRumNfCdFWW/66bvi04z7PMDlTU/Tp Qrq263ptzmLTsVbu414WWKa5DduVuo2hhalpjDi6Sx1VbgoHft+1eRjFMlWkWrjjqFOA CXS4ZrSeVpNXi2EO9xEYweedQ8sdWHrnJq1g1IFTh6mrpkxZJnF351iDN467KlaPeQhC ZpB4EwZlW4qRFx9/1kxKh332BualArYSXoF2wfUCGgLyIVjJLVNomlzaKEq+dRBVRqJD UT7w== X-Gm-Message-State: AOJu0YzrreyIEoABjMuKJ9SqiR0p12dzb7RrUlxoHsjx108zRQzp08hS qgNkznRp083xCY79S+CeHSUcvaTjLarhTqCrdrMucIi5UvnIHO96Ws0fD0taND/tTmoo2wzV3QK nmtKE X-Gm-Gg: AZuq6aJgd2kY70OpCMAC7TeQXhC91oHOE7Dhe7vmQj8olhZmglcjVMdoV3ckmM7f/Zi Qpf6677jkZjIMk46709oOccakPUo+pruYT16RQD1YQe7Ibv2YlU0z/+6TG/EerNNlUNygDBddjK X6Od9xRUB1tJLpX8DUTmZqlHTqeevTMzvSRZsrnR9PrG0yqkSR6XOUbS+XzGYmirWTwqNJN20eD o6DT8Tk4532UrHJOjMbGRzhnN77nFv+XxUA6om7FHftf2YyWQ6gMHx/zlyJixkVtAmYIK7Hm8DV IKqeUHhggYAgFYd6fQcXvlQvZcZga6oUW3IoDFkMicmJR9j+CoF7UCV7BQznnjIuos+71TDo+Ib fZEYw8eD/dWJAGz6bdFSVmBejENxmPjGEQcjMnaTGdr9fTpzbqmpu5+uj/MmhAl3cUkFVeCjunr oDHyUkDJMXOuthVf+yOtiBVKW93/M4Ae2kMO4J/jxF5vBa9qqPxw== X-Received: by 2002:a17:902:ea0e:b0:29f:e787:2b9b with SMTP id d9443c01a7336-2a933eada62mr2799375ad.41.1770146047732; Tue, 03 Feb 2026 11:14:07 -0800 (PST) Received: from localhost (c-98-232-159-17.hsd1.or.comcast.net. [98.232.159.17]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a9335f9a3bsm2308155ad.0.2026.02.03.11.14.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Feb 2026 11:14:07 -0800 (PST) From: tim.orling@konsulko.com To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH v2 v2 1/6] python3-orjson: upgrade 3.10.17 -> 3.11.6 Date: Tue, 3 Feb 2026 11:13:50 -0800 Message-ID: <75e1e07d9d60a538d2a036ec6d98007e22639271.1770145884.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Feb 2026 19:14:10 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/124106 From: Tim Orling Update python3-orjson-crates.inc Add patches to fix compilation for arm64/riscv64 by gating x86/x86_64 only AVX512 feature(s). The approach has thus far been rejected by upstream: https://github.com/ijl/orjson/pull/609. Release Notes: https://github.com/ijl/orjson/blob/master/CHANGELOG.md#3116---2026-01-29 * orjson now includes code licensed under the Mozilla Public License 2.0 (MPL-2.0). * Drop support for Python 3.9. * ABI compatibility with CPython 3.15 alpha 5. * Build now depends on Rust 1.89 or later instead of 1.85. * Fix sporadic crash serializing deeply nested list of dict. * Show simple error message instead of traceback when attempting to build on unsupported Python versions. * ABI compatibility with CPython 3.15 alpha 1. * Publish PyPI wheels for 3.14 and manylinux i686, manylinux arm7, manylinux ppc64le, manylinux s390x. * Build now requires a C compiler. * Fix PyPI project metadata when using maturin 1.9.2 or later. * Fix build using Rust 1.89 on amd64. * Build now depends on Rust 1.85 or later instead of 1.82. * Publish PyPI wheels for CPython 3.14. * Fix str on big-endian architectures. This was introduced in 3.11.0. * Use a deserialization buffer allocated per request instead of a shared buffer allocated on import. * ABI compatibility with CPython 3.14 beta 4. * Fix incorrect escaping of the vertical tabulation character. This was introduced in 3.10.17. Comparing changes: https://github.com/ijl/orjson/compare/3.10.17...3.11.6 Signed-off-by: Tim Orling --- .../python/python3-orjson-crates.inc | 124 +++++++++--------- ...rd-avx512-module-with-x86-target-cfg.patch | 37 ++++++ ...e-detection-macro-in-pystrref-object.patch | 34 +++++ ...on_3.10.17.bb => python3-orjson_3.11.6.bb} | 6 +- 4 files changed, 140 insertions(+), 61 deletions(-) create mode 100644 meta-python/recipes-devtools/python/python3-orjson/0001-Guard-avx512-module-with-x86-target-cfg.patch create mode 100644 meta-python/recipes-devtools/python/python3-orjson/0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch rename meta-python/recipes-devtools/python/{python3-orjson_3.10.17.bb => python3-orjson_3.11.6.bb} (67%) diff --git a/meta-python/recipes-devtools/python/python3-orjson-crates.inc b/meta-python/recipes-devtools/python/python3-orjson-crates.inc index 76ed174329..43434fa690 100644 --- a/meta-python/recipes-devtools/python/python3-orjson-crates.inc +++ b/meta-python/recipes-devtools/python/python3-orjson-crates.inc @@ -3,82 +3,86 @@ # from Cargo.lock SRC_URI += " \ crate://crates.io/associative-cache/2.0.0 \ - crate://crates.io/bytecount/0.6.8 \ - crate://crates.io/castaway/0.2.3 \ - crate://crates.io/cc/1.2.20 \ - crate://crates.io/cfg-if/1.0.0 \ - crate://crates.io/compact_str/0.9.0 \ - crate://crates.io/crunchy/0.2.3 \ + crate://crates.io/bytecount/0.6.9 \ + crate://crates.io/bytes/1.11.0 \ + crate://crates.io/cc/1.2.54 \ + crate://crates.io/cfg-if/1.0.4 \ + crate://crates.io/crunchy/0.2.4 \ crate://crates.io/encoding_rs/0.8.35 \ - crate://crates.io/gimli/0.31.1 \ - crate://crates.io/half/2.6.0 \ - crate://crates.io/itoa/1.0.15 \ + crate://crates.io/find-msvc-tools/0.1.8 \ + crate://crates.io/gimli/0.32.3 \ + crate://crates.io/half/2.7.1 \ + crate://crates.io/itoa/1.0.17 \ crate://crates.io/itoap/1.0.1 \ - crate://crates.io/jiff/0.2.10 \ - crate://crates.io/jiff-static/0.2.10 \ - crate://crates.io/libc/0.2.172 \ - crate://crates.io/memchr/2.7.4 \ + crate://crates.io/jiff/0.2.18 \ + crate://crates.io/jiff-static/0.2.18 \ + crate://crates.io/libc/0.2.180 \ + crate://crates.io/memchr/2.7.6 \ crate://crates.io/once_cell/1.21.3 \ - crate://crates.io/portable-atomic/1.11.0 \ + crate://crates.io/portable-atomic/1.13.0 \ crate://crates.io/portable-atomic-util/0.2.4 \ - crate://crates.io/proc-macro2/1.0.95 \ - crate://crates.io/pyo3-build-config/0.23.3 \ - crate://crates.io/pyo3-ffi/0.23.3 \ - crate://crates.io/quote/1.0.40 \ - crate://crates.io/rustversion/1.0.20 \ - crate://crates.io/ryu/1.0.20 \ - crate://crates.io/serde/1.0.219 \ - crate://crates.io/serde_derive/1.0.219 \ - crate://crates.io/serde_json/1.0.140 \ + crate://crates.io/proc-macro2/1.0.106 \ + crate://crates.io/pyo3-build-config/0.27.2 \ + crate://crates.io/pyo3-ffi/0.27.2 \ + crate://crates.io/quote/1.0.44 \ + crate://crates.io/ryu/1.0.22 \ + crate://crates.io/serde/1.0.228 \ + crate://crates.io/serde_core/1.0.228 \ + crate://crates.io/serde_derive/1.0.228 \ + crate://crates.io/serde_json/1.0.149 \ crate://crates.io/shlex/1.3.0 \ crate://crates.io/simdutf8/0.1.5 \ - crate://crates.io/smallvec/1.15.0 \ - crate://crates.io/static_assertions/1.1.0 \ - crate://crates.io/syn/2.0.101 \ - crate://crates.io/target-lexicon/0.13.2 \ - crate://crates.io/unicode-ident/1.0.18 \ - crate://crates.io/unwinding/0.2.5 \ - crate://crates.io/uuid/1.16.0 \ + crate://crates.io/smallvec/1.15.1 \ + crate://crates.io/syn/2.0.114 \ + crate://crates.io/target-lexicon/0.13.4 \ + crate://crates.io/unicode-ident/1.0.22 \ + crate://crates.io/unwinding/0.2.8 \ + crate://crates.io/uuid/1.20.0 \ crate://crates.io/version_check/0.9.5 \ crate://crates.io/xxhash-rust/0.8.15 \ + crate://crates.io/zerocopy/0.8.35 \ + crate://crates.io/zerocopy-derive/0.8.35 \ + crate://crates.io/zmij/1.0.17 \ " SRC_URI[associative-cache-2.0.0.sha256sum] = "b993cd767a2bc7307dd87622311ca22c44329cc7a21366206bfa0896827b2bad" -SRC_URI[bytecount-0.6.8.sha256sum] = "5ce89b21cab1437276d2650d57e971f9d548a2d9037cc231abdc0562b97498ce" -SRC_URI[castaway-0.2.3.sha256sum] = "0abae9be0aaf9ea96a3b1b8b1b55c602ca751eba1b1500220cea4ecbafe7c0d5" -SRC_URI[cc-1.2.20.sha256sum] = "04da6a0d40b948dfc4fa8f5bbf402b0fc1a64a28dbf7d12ffd683550f2c1b63a" -SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" -SRC_URI[compact_str-0.9.0.sha256sum] = "3fdb1325a1cece981e8a296ab8f0f9b63ae357bd0784a9faaf548cc7b480707a" -SRC_URI[crunchy-0.2.3.sha256sum] = "43da5946c66ffcc7745f48db692ffbb10a83bfe0afd96235c5c2a4fb23994929" +SRC_URI[bytecount-0.6.9.sha256sum] = "175812e0be2bccb6abe50bb8d566126198344f707e304f45c648fd8f2cc0365e" +SRC_URI[bytes-1.11.0.sha256sum] = "b35204fbdc0b3f4446b89fc1ac2cf84a8a68971995d0bf2e925ec7cd960f9cb3" +SRC_URI[cc-1.2.54.sha256sum] = "6354c81bbfd62d9cfa9cb3c773c2b7b2a3a482d569de977fd0e961f6e7c00583" +SRC_URI[cfg-if-1.0.4.sha256sum] = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801" +SRC_URI[crunchy-0.2.4.sha256sum] = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" SRC_URI[encoding_rs-0.8.35.sha256sum] = "75030f3c4f45dafd7586dd6780965a8c7e8e285a5ecb86713e63a79c5b2766f3" -SRC_URI[gimli-0.31.1.sha256sum] = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" -SRC_URI[half-2.6.0.sha256sum] = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9" -SRC_URI[itoa-1.0.15.sha256sum] = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c" +SRC_URI[find-msvc-tools-0.1.8.sha256sum] = "8591b0bcc8a98a64310a2fae1bb3e9b8564dd10e381e6e28010fde8e8e8568db" +SRC_URI[gimli-0.32.3.sha256sum] = "e629b9b98ef3dd8afe6ca2bd0f89306cec16d43d907889945bc5d6687f2f13c7" +SRC_URI[half-2.7.1.sha256sum] = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" +SRC_URI[itoa-1.0.17.sha256sum] = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2" SRC_URI[itoap-1.0.1.sha256sum] = "9028f49264629065d057f340a86acb84867925865f73bbf8d47b4d149a7e88b8" -SRC_URI[jiff-0.2.10.sha256sum] = "5a064218214dc6a10fbae5ec5fa888d80c45d611aba169222fc272072bf7aef6" -SRC_URI[jiff-static-0.2.10.sha256sum] = "199b7932d97e325aff3a7030e141eafe7f2c6268e1d1b24859b753a627f45254" -SRC_URI[libc-0.2.172.sha256sum] = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa" -SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" +SRC_URI[jiff-0.2.18.sha256sum] = "e67e8da4c49d6d9909fe03361f9b620f58898859f5c7aded68351e85e71ecf50" +SRC_URI[jiff-static-0.2.18.sha256sum] = "e0c84ee7f197eca9a86c6fd6cb771e55eb991632f15f2bc3ca6ec838929e6e78" +SRC_URI[libc-0.2.180.sha256sum] = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" +SRC_URI[memchr-2.7.6.sha256sum] = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273" SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" -SRC_URI[portable-atomic-1.11.0.sha256sum] = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e" +SRC_URI[portable-atomic-1.13.0.sha256sum] = "f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950" SRC_URI[portable-atomic-util-0.2.4.sha256sum] = "d8a2f0d8d040d7848a709caf78912debcc3f33ee4b3cac47d73d1e1069e83507" -SRC_URI[proc-macro2-1.0.95.sha256sum] = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" -SRC_URI[pyo3-build-config-0.23.3.sha256sum] = "dc0e0469a84f208e20044b98965e1561028180219e35352a2afaf2b942beff3b" -SRC_URI[pyo3-ffi-0.23.3.sha256sum] = "eb1547a7f9966f6f1a0f0227564a9945fe36b90da5a93b3933fc3dc03fae372d" -SRC_URI[quote-1.0.40.sha256sum] = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" -SRC_URI[rustversion-1.0.20.sha256sum] = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2" -SRC_URI[ryu-1.0.20.sha256sum] = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f" -SRC_URI[serde-1.0.219.sha256sum] = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6" -SRC_URI[serde_derive-1.0.219.sha256sum] = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00" -SRC_URI[serde_json-1.0.140.sha256sum] = "20068b6e96dc6c9bd23e01df8827e6c7e1f2fddd43c21810382803c136b99373" +SRC_URI[proc-macro2-1.0.106.sha256sum] = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" +SRC_URI[pyo3-build-config-0.27.2.sha256sum] = "b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6" +SRC_URI[pyo3-ffi-0.27.2.sha256sum] = "1c85c9cbfaddf651b1221594209aed57e9e5cff63c4d11d1feead529b872a089" +SRC_URI[quote-1.0.44.sha256sum] = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" +SRC_URI[ryu-1.0.22.sha256sum] = "a50f4cf475b65d88e057964e0e9bb1f0aa9bbb2036dc65c64596b42932536984" +SRC_URI[serde-1.0.228.sha256sum] = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e" +SRC_URI[serde_core-1.0.228.sha256sum] = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad" +SRC_URI[serde_derive-1.0.228.sha256sum] = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79" +SRC_URI[serde_json-1.0.149.sha256sum] = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86" SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" SRC_URI[simdutf8-0.1.5.sha256sum] = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e" -SRC_URI[smallvec-1.15.0.sha256sum] = "8917285742e9f3e1683f0a9c4e6b57960b7314d0b08d30d1ecd426713ee2eee9" -SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" -SRC_URI[syn-2.0.101.sha256sum] = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf" -SRC_URI[target-lexicon-0.13.2.sha256sum] = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a" -SRC_URI[unicode-ident-1.0.18.sha256sum] = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" -SRC_URI[unwinding-0.2.5.sha256sum] = "51f06a05848f650946acef3bf525fe96612226b61f74ae23ffa4e98bfbb8ab3c" -SRC_URI[uuid-1.16.0.sha256sum] = "458f7a779bf54acc9f347480ac654f68407d3aab21269a6e3c9f922acd9e2da9" +SRC_URI[smallvec-1.15.1.sha256sum] = "67b1b7a3b5fe4f1376887184045fcf45c69e92af734b7aaddc05fb777b6fbd03" +SRC_URI[syn-2.0.114.sha256sum] = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a" +SRC_URI[target-lexicon-0.13.4.sha256sum] = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba" +SRC_URI[unicode-ident-1.0.22.sha256sum] = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" +SRC_URI[unwinding-0.2.8.sha256sum] = "60612c845ef41699f39dc8c5391f252942c0a88b7d15da672eff0d14101bbd6d" +SRC_URI[uuid-1.20.0.sha256sum] = "ee48d38b119b0cd71fe4141b30f5ba9c7c5d9f4e7a3a8b4a674e4b6ef789976f" SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" SRC_URI[xxhash-rust-0.8.15.sha256sum] = "fdd20c5420375476fbd4394763288da7eb0cc0b8c11deed431a91562af7335d3" +SRC_URI[zerocopy-0.8.35.sha256sum] = "fdea86ddd5568519879b8187e1cf04e24fce28f7fe046ceecbce472ff19a2572" +SRC_URI[zerocopy-derive-0.8.35.sha256sum] = "0c15e1b46eff7c6c91195752e0eeed8ef040e391cdece7c25376957d5f15df22" +SRC_URI[zmij-1.0.17.sha256sum] = "02aae0f83f69aafc94776e879363e9771d7ecbffe2c7fbb6c14c5e00dfe88439" diff --git a/meta-python/recipes-devtools/python/python3-orjson/0001-Guard-avx512-module-with-x86-target-cfg.patch b/meta-python/recipes-devtools/python/python3-orjson/0001-Guard-avx512-module-with-x86-target-cfg.patch new file mode 100644 index 0000000000..604030e062 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-orjson/0001-Guard-avx512-module-with-x86-target-cfg.patch @@ -0,0 +1,37 @@ +From c5c46664a914d3a7f048c51c3b9c2ab13e21ed1b Mon Sep 17 00:00:00 2001 +From: Tim Orling +Date: Thu, 29 Jan 2026 09:59:55 -0800 +Subject: [PATCH] Guard avx512 module with x86 target cfg + +The avx512.rs module contains x86_64-specific intrinsics and target +features that are not valid on non-x86 architectures like RISC-V. + +Upstream-Status: Inappropriate [Rejected by upstream https://github.com/ijl/orjson/pull/609] + +Signed-off-by: Tim Orling +--- + src/ffi/pystrref/avx512.rs | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/ffi/pystrref/avx512.rs b/src/ffi/pystrref/avx512.rs +index e4c7697..46450ac 100644 +--- a/src/ffi/pystrref/avx512.rs ++++ b/src/ffi/pystrref/avx512.rs +@@ -3,12 +3,14 @@ + + use super::pyunicode_new::*; + ++#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] + use core::arch::x86_64::{ + _mm512_and_si512, _mm512_cmpgt_epu8_mask, _mm512_cmpneq_epi8_mask, _mm512_loadu_epi8, + _mm512_mask_cmpneq_epi8_mask, _mm512_maskz_loadu_epi8, _mm512_max_epu8, _mm512_set1_epi8, + }; + + #[inline(never)] ++#[cfg(any(target_arch = "x86", target_arch = "x86_64"))] + #[target_feature(enable = "avx512f,avx512bw,avx512vl,bmi2")] + pub(crate) unsafe fn create_str_impl_avx512vl(buf: &str) -> *mut crate::ffi::PyObject { + unsafe { +-- +2.39.5 + diff --git a/meta-python/recipes-devtools/python/python3-orjson/0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch b/meta-python/recipes-devtools/python/python3-orjson/0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch new file mode 100644 index 0000000000..59105e723c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-orjson/0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch @@ -0,0 +1,34 @@ +From 7ef16220caaa82f7a90047c8c9b5ff2eeb15b9ce Mon Sep 17 00:00:00 2001 +From: Tim Orling +Date: Thu, 29 Jan 2026 10:22:31 -0800 +Subject: [PATCH 2/2] Guard x86 feature detection macro in pystrref/object.rs + +The std::is_x86_feature_detected! macro only works on x86/x86_64 +targets. This patch wraps the feature detection and AVX-512 code path +with cfg guards to allow compilation on non-x86 architectures. + +On non-x86 targets, the code will fall through to the generic +implementation instead of attempting AVX-512 optimizations. + +Upstream-Status: Inappropriate [Rejected by upstream https://github.com/ijl/orjson/pull/609] + +Signed-off-by: Tim Orling +--- + src/ffi/pystrref/object.rs | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/ffi/pystrref/object.rs b/src/ffi/pystrref/object.rs +index 9ef12eb..7c2c046 100644 +--- a/src/ffi/pystrref/object.rs ++++ b/src/ffi/pystrref/object.rs +@@ -29,6 +29,7 @@ static mut STR_CREATE_FN: StrDeserializer = super::scalar::str_impl_kind_scalar; + + pub fn set_str_create_fn() { + unsafe { ++ #[cfg(any(target_arch = "x86", target_arch = "x86_64"))] + #[cfg(all(CPython, feature = "avx512"))] + if std::is_x86_feature_detected!("avx512vl") { + STR_CREATE_FN = super::avx512::create_str_impl_avx512vl; +-- +2.39.5 + diff --git a/meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb b/meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb similarity index 67% rename from meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb rename to meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb index 2209569aca..e26ca77d91 100644 --- a/meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb +++ b/meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb @@ -3,7 +3,7 @@ HOMEPAGE = "https://pypi.org/project/orjson/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d" -SRC_URI[sha256sum] = "28eeae6a15243966962b658dfcf7bae9e7bb1f3260dfcf0370dbd41f5ff6058b" +SRC_URI[sha256sum] = "0a54c72259f35299fd033042367df781c2f66d10252955ca1efb7db309b954cb" CVE_PRODUCT = "orjson" @@ -11,6 +11,10 @@ require ${BPN}-crates.inc inherit pypi python_maturin cargo-update-recipe-crates +SRC_URI += " \ + file://0001-Guard-avx512-module-with-x86-target-cfg.patch \ + file://0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch \ +" DEPENDS = "python3-maturin-native" RDEPENDS:${PN} += "python3-maturin python3-mypy" From patchwork Tue Feb 3 19:13:51 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 80359 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 93029E8785F for ; Tue, 3 Feb 2026 19:14:20 +0000 (UTC) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1603.1770146051294010478 for ; Tue, 03 Feb 2026 11:14:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=g2bOZ5Hr; spf=pass (domain: konsulko.com, ip: 209.85.215.179, mailfrom: tim.orling@konsulko.com) Received: by mail-pg1-f179.google.com with SMTP id 41be03b00d2f7-c5513f598c0so13052a12.0 for ; Tue, 03 Feb 2026 11:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1770146050; x=1770750850; 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=hFpRAvxRgQwevvritFuamVmEJAzlmM2ZHd5t93bCemg=; b=g2bOZ5HrGV9HhxU+Uze9xEEXfNFj52FymvNGfuarIpOMN/Ya/Qweo7gZkiKsRmL3hm aCfrxil4NRLAhdZ2z0q/oZ5eXLslK4ezFoPMrahqYe0HdcT0YHN6neIVXKwcNfUNjlP0 At/EG4Pmo75BAAIyQT6k1uwjkTGYsR8e+y3eg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770146050; x=1770750850; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=hFpRAvxRgQwevvritFuamVmEJAzlmM2ZHd5t93bCemg=; b=ImkMsm3XzcP1GfO+gwYAg3Alb8TPC8xAXwJ4wbCm1R3RxkaQaxPC3Qmoy95r7oLd5g 0lIpwWAT3s5XvQ3bmnrX1ctyLzpV3A4c9exAd1aiEeEloyQlksJzt+wH0CNsIQ2Gct9Q LDik06CkWuRECFUVsedSJcQZnnJ0Hmqvpk6qEyyetrC1/RowMYjV04A/4eohzzXPTlZ+ lB0teICyKF/HI7L16eyGpV/z3FxL/kJD6QmpUOmAlrRdCSJZ+cVqNT6GwKWlVr4OPPeH EzISU2MNK5jFCJtHtC3111mJ4KK8lr0F4ll7YFB41hX4bqpqVDZRElCDN+x0yB8zbE7i ma2A== X-Gm-Message-State: AOJu0YyuYD79k4x/sDZ9+9y3/KYSTBcjW2pnm522ZZICNTkgFQygQTII o5tSS0TtRw/biQOBtOgBoDfsQb/GsJh3E5ElQ7SuQPWK8rLPTdsl+6STevvgAwnFoE9DsRynJrD M4ULT X-Gm-Gg: AZuq6aJnlsRrjoMtu9JoWWIdGKp0EVBkyMWOsv6Zu7DYbiBb79/9YGTELROdz5JB+s4 1sozpZhz7c82PYt/0id5k+ez30KV60sF063TUeQhbeMU1yIEr6UCOBVbd/8s/GzcLPD0snp/OKR OefEWFFJEG/4vJ2KWIFcXsZbs1LZFVzmsgXQnv5wMKCMJFQpjP9UVBHN/fgWplSAjpunG4FPrOE 3CdyZn7aqeQDfgLjwds0hiaSJYbARgPiJG76Hs52Td3e+LIHYy/M965PMqj8uSQgyUI6Fso4AN6 i3OzV3nYiH1frbwcXlHrPKjNJKU0PBV9ei/eK0XUqP3eyzpzqtjnoA/cFvtOqXYuAEjx2nl6U9g /FJ7mUsZOwrwCG95cqi1hj9Z6COyhCflLzxN9XRiTTLCTuATTltr1nDIjs156vI6O7a+3lT79Hl KAtKSlSQLgqnZKc16xDHNQT4Sf4Po84gQDpmiSC2U4bJDKy5E4KUdir0Jz7yFd X-Received: by 2002:a17:90b:1cc4:b0:340:bde5:c9e3 with SMTP id 98e67ed59e1d1-354871b1efdmr305431a91.23.1770146050209; Tue, 03 Feb 2026 11:14:10 -0800 (PST) Received: from localhost (c-98-232-159-17.hsd1.or.comcast.net. [98.232.159.17]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-c6c83127962sm78167a12.10.2026.02.03.11.14.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Feb 2026 11:14:09 -0800 (PST) From: tim.orling@konsulko.com To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH v2 v2 2/6] python3-faker: add v40.1.2 Date: Tue, 3 Feb 2026 11:13:51 -0800 Message-ID: <1c26833cd70751680d6c99767e56c1f7076fd92f.1770145884.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Feb 2026 19:14:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/124107 From: Tim Orling Faker is a Python package that generates fake data for you. Whether you need to bootstrap your database, create good-looking XML documents, fill-in your persistence to stress test it, or anonymize data taken from a production service, Faker is for you. * Skip tests/pytest as this causes the 'pytests --automake' parser to fail for some reason [1] and the handful of tests are of questionable extra value. Testsuite summary TOTAL: 2151 PASS: 2146 SKIP: 5 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 39 Dependency for python3-orjson ptest. [1] https://gitlab.com/rossburton/python-unittest-automake-output/-/issues/9 Signed-off-by: Tim Orling --- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-faker/pytest.ini | 3 ++ .../python/python3-faker_40.1.2.bb | 48 +++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-faker/pytest.ini create mode 100644 meta-python/recipes-devtools/python/python3-faker_40.1.2.bb diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 15172e7f22..a84718b704 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -130,6 +130,7 @@ PTESTS_SLOW_META_PYTHON = "\ python3-arrow \ python3-django \ python3-ecdsa \ + python3-faker \ python3-fastapi \ python3-google-auth \ python3-lz4 \ diff --git a/meta-python/recipes-devtools/python/python3-faker/pytest.ini b/meta-python/recipes-devtools/python/python3-faker/pytest.ini new file mode 100644 index 0000000000..26f64467ce --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-faker/pytest.ini @@ -0,0 +1,3 @@ +[pytest] +addopts = + --ignore=tests/pytest diff --git a/meta-python/recipes-devtools/python/python3-faker_40.1.2.bb b/meta-python/recipes-devtools/python/python3-faker_40.1.2.bb new file mode 100644 index 0000000000..2a9970a91c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-faker_40.1.2.bb @@ -0,0 +1,48 @@ +SUMMARY = "Faker is a Python package that generates fake data for you." +DESCRIPTION = "Faker is a Python package that generates fake data for you. \ +Whether you need to bootstrap your database, create good-looking XML documents, \ +fill-in your persistence to stress test it, or anonymize data taken from a \ +production service, Faker is for you." +HOMEPAGE = "https://github.com/joke2k/faker" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=53360c4126f7d03b63cb79b0dab9e9e1" + +SRC_URI[sha256sum] = "b76a68163aa5f171d260fc24827a8349bc1db672f6a665359e8d0095e8135d30" + +inherit pypi setuptools3 ptest-python-pytest + +SRC_URI += "file://pytest.ini" + +PACKAGECONFIG ?= "tzdata" +PACKAGECONFIG[tzdata] = ",,,python3-tzdata" + +RDEPENDS:${PN} += "\ + python3-compression \ + python3-core \ + python3-crypt \ + python3-datetime \ + python3-image \ + python3-json \ + python3-logging \ + python3-math \ + python3-netclient \ + python3-numbers \ + python3-pickle \ + python3-pytest \ + python3-stringold \ + python3-unittest \ + python3-xml \ + python3-zoneinfo \ + " + +RDEPENDS:${PN}-ptest += "\ + python3-freezegun \ + python3-validators \ +" + +do_install_ptest:append() { + install ${UNPACKDIR}/pytest.ini ${D}${PTEST_PATH}/ + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + From patchwork Tue Feb 3 19:13:52 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 80362 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 9EFAAE7FDCF for ; Tue, 3 Feb 2026 19:14:20 +0000 (UTC) Received: from mail-pf1-f178.google.com (mail-pf1-f178.google.com [209.85.210.178]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1635.1770146053540595930 for ; Tue, 03 Feb 2026 11:14:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=PglcCsx3; spf=pass (domain: konsulko.com, ip: 209.85.210.178, mailfrom: tim.orling@konsulko.com) Received: by mail-pf1-f178.google.com with SMTP id d2e1a72fcca58-81e93c5961cso4956283b3a.0 for ; Tue, 03 Feb 2026 11:14:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1770146052; x=1770750852; 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=nepTm1+WJih25SfA44hJsDA1XJ7vrs6nggtYSHs2u0E=; b=PglcCsx3fXsg5IFVY+7bKHfnYlYnCieycNpmEA8NA6ZTmLFo2zICZj0s7NBVNkZCtj 1On20K1xmPoIQaNZZlAZA7hn4ujtpJZdUR+vBQDJ3gV61iuSIeqhMKzq1T0NZxKt63TA KsHgNAe3umVUhr85OzIpP68YCnTBKNkGNCwLI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770146052; x=1770750852; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=nepTm1+WJih25SfA44hJsDA1XJ7vrs6nggtYSHs2u0E=; b=tresuZGwmZzHX5xDHQ/cdG/6GlS4N0q9Ff3shpKwqZ/m60SDjIwzuvjd3xun8z+ckR Elwh/bJPSeuJhRjTRrbMQcvTHMzrfeL1oKI53cpGcZnWYeCCpGKjYKpC+WJQ2e+nhsIm XNx3+lUd4TwZJCjnveKe20PYJVimzBRCm34IEX6VqNQfCXKmn7buHByX/va61vUiZ8sw hnXLniP2+4hsBCw5Am4uYeaaXL2ERvOP3etT1uSk0V2BZlHKQ+jnOqdTz51OnyQEnpSx C+XbrJG2KvL4bGXSwsqNhOlukZiYwtVHhgnxzi27eQJuzcUXsfGtzfAJAi2lSmPKYYtV RVCg== X-Gm-Message-State: AOJu0Ywpe2ekW4qdlLpBpv/fJLX31eYwCphkgdBxC+LPAXfiyozuDxlr xqYEEQVRk+gD4ERRz6NOcxCZjuckTsiH/vepDXO8vxFPk2OcjYepN5r++QIdcM9k7K1ZsxJ9ed3 iNGwv X-Gm-Gg: AZuq6aKyrhf6M+4f00ym5Op2JAN5oZz4EekhFcIMII+XAo1RLyDoQhSSS0zCET2J0Zg gdK755BIt9nZv3AEvjCSUoA0sEBWKBPI9Fy23Kt05RWCqyongguXAkgyf7yvrbIyzUXhBsxv2dJ 2CSYcaSnYA/6vpWdKhXwZWJCVwQ+L+/vo2bGM36LAt+huZi5gQO6QCQ2SEe/xt8r2z9cGhVCjmJ Js+8t608MK89kimNhM7ictUKBwx0XW//4WVwws04U8Mydts0SS76WsJ/NRuAnKOWB0CL4eBythJ y01VfJhbiSIS91hK4NycFjbJ9DQ49mqneJDghIdZmzVKlU9cbRzd7qzYqFKWhB3EsMP9b2xvCiT xla5F5QgsC4N5oWhVI4DjUcSmPRu4UChOcUINs0JKCRB/3oW5/UL7gAqSSYHI4UVOkdMV7AyVO9 v63eMit26tijZjBF6vFDbb16n4VNxdn0Wbx06v9k3dtbZNyfEJ5w== X-Received: by 2002:a05:6a00:198d:b0:81e:711d:b26f with SMTP id d2e1a72fcca58-8241c4c4789mr401895b3a.43.1770146052516; Tue, 03 Feb 2026 11:14:12 -0800 (PST) Received: from localhost (c-98-232-159-17.hsd1.or.comcast.net. [98.232.159.17]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8241d1b71cesm120091b3a.19.2026.02.03.11.14.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Feb 2026 11:14:11 -0800 (PST) From: tim.orling@konsulko.com To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH v2 v2 3/6] python3-tokenize-rt: add at v6.2.0 Date: Tue, 3 Feb 2026 11:13:52 -0800 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Feb 2026 19:14:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/124108 From: Tim Orling A wrapper around the stdlib `tokenize` which roundtrips. Dependency for python3-time-machine ptests. Use git fetcher so we have tests/ and testing/resources/ for ptest. Testsuite summary TOTAL: 45 PASS: 45 SKIP: 0 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 8 Signed-off-by: Tim Orling --- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-tokenize-rt_6.2.0.bb | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index a84718b704..bece6304e8 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -105,6 +105,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-starlette \ python3-tblib \ python3-tenacity \ + python3-tokenize-rt \ python3-tomli-w \ python3-tomlkit \ python3-trustme \ diff --git a/meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb b/meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb new file mode 100644 index 0000000000..0f5a1b34d3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-tokenize-rt_6.2.0.bb @@ -0,0 +1,21 @@ +SUMMARY = "A wrapper around the stdlib `tokenize` which roundtrips." +HOMEPAGE = "https://github.com/asottile/tokenize-rt" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5fd324061c581b8d45b8cb18c560a543" + +SRCREV = "1582bcf0259d183259da1761444c6fc73fa7ad9a" +PYPI_SRC_URI = "git://github.com/asottile/tokenize-rt.git;protocol=https;branch=main;tag=v${PV};destsuffix=tokenize_rt-${PV}" + +inherit pypi setuptools3 ptest-python-pytest + +RDEPENDS:${PN} += "python3-core" + +PYPI_PACKAGE = "tokenize_rt" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +do_install_ptest:append() { + install -d ${D}${PTEST_PATH}/testing/resources + cp -rf ${S}/testing/resources/* ${D}${PTEST_PATH}/testing/resources/ + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} From patchwork Tue Feb 3 19:13:53 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 80361 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 9EFEBE8304F for ; Tue, 3 Feb 2026 19:14:20 +0000 (UTC) Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1606.1770146055931194725 for ; Tue, 03 Feb 2026 11:14:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=MgFM2f3F; spf=pass (domain: konsulko.com, ip: 209.85.214.176, mailfrom: tim.orling@konsulko.com) Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-2a0d67f1877so40001955ad.2 for ; Tue, 03 Feb 2026 11:14:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1770146055; x=1770750855; 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=vEU77NT/OGh5WtMT1SG/roJSh36UB2OZOHZ8k9WRVfQ=; b=MgFM2f3FMPz3Z9QDCs29meMwHge4vU+fA99KyzMfS/icURSq1O5T6NhX6Xn9NQ+XAc 0VX0I4LyRBp46mwAaAoZDoS8R/by/aG8qHi5rdz1Wya+DIIIB0ZwoFPI6aYBdac6ONBr VX8tK8HoS2BJQlcG8NmBsbm/0kiK2yLPoVdC8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770146055; x=1770750855; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=vEU77NT/OGh5WtMT1SG/roJSh36UB2OZOHZ8k9WRVfQ=; b=RxAYrtk/F+2AFzglFSGy7ppqh4Om4RYPOsHmF7hV3/OMS8hEsghH9FEibs4ne05WrW 3s24uMOe5rrOlFm0bMLrtiCTyfpL+mokaXRxs6D/WGpOSzWKSNaUchJaMiGGOzEwGGKL 3a5qJpxLXG6EpXkdqfKqicoPIQUUtzvIgI/G//z/QRJOS/6pidJsg6kFf6Vo/Kf3liF0 2/YsdSW6DwyBBFc3SyQSXp5b3gibqV4b+gs8i6xjRpx3iv1d5UI3L9BMHICwyYTSvUkV /a1LPVcLyQSIWtOse5uqIKgxxHPySyR4l3XPM3oFatJGFKKx7xNm1NzB2AbOb6K2ZM8O Td4Q== X-Gm-Message-State: AOJu0YxhB3CjMM4ikJQ4Jx14Yn2GkaQZAy8ePhymc7qHG8nZehtbg29p 9uU8eFF0djqDVvH3St5//UUTMp25z4Uc6v8qIYVx9xbJmDcB/tFDiLJr/tve8lKqT60bBN9stmI lD3Gc X-Gm-Gg: AZuq6aKL9OfzHrHJTEMKoRdP9TzCcajAD72QNDcwaugfnQFfPK1MQkDCV8X22Wufh1x MJeBrgZ31E3mIYRDP8QuwX9e+9qsZh/Lv4s10GEFnvezNa1sqcwY3IxEqepqN2mfXQCBjaX/sP3 GtzgUSRGGCJT4QTIYpTHMlLCnDTFaUDYVotKfA+1zB2/DcuAqyDtZjwENBsB6lSx26FJIXshcDm 7Ydms5nGd2hleAtFgWFPnp/7U0aH6qQzy4JvVlCiKviQ/yfiWqkrj0pEm5qMa5zDZItj2YUqaWI s/+fnztsRP1ZQlYY2jM2x4uzr6lcFYi8qxRbDJ1C74/shbX0vIeIploP7izXRXvXZyA6QnyuWMu 6auuN/EV2UM4+Rp/Xk8I6GcGjmyWUPfmvK4uFP3QY/vQU8hDxAoLKtn/zh4yP6iVf1j/SqpZPJ6 q9bb4brE6EUBgYIBe4OaW6FCEYzdECJnK0AK9039LkdQO5BzBk4Q== X-Received: by 2002:a17:903:1107:b0:2a7:dd37:6e20 with SMTP id d9443c01a7336-2a933fa5ecemr3206215ad.30.1770146054937; Tue, 03 Feb 2026 11:14:14 -0800 (PST) Received: from localhost (c-98-232-159-17.hsd1.or.comcast.net. [98.232.159.17]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a9338a7009sm2020725ad.39.2026.02.03.11.14.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Feb 2026 11:14:14 -0800 (PST) From: tim.orling@konsulko.com To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH v2 v2 4/6] python3-time-machine: add at v3.2.0 Date: Tue, 3 Feb 2026 11:13:53 -0800 Message-ID: <32d30a45ae8eb70f7cd87aaf0bd34cd66a405cc2.1770145884.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Feb 2026 19:14:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/124109 From: Tim Orling Travel through time in your tests. https://time-machine.readthedocs.io/en/latest/ Dependency for python3-pendulum ptests. Based on the recipe in meta-homeassistant. Enable ptests. Use git fetcher so that we have tests/ for ptest. Signed-off-by: Tim Orling --- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-time-machine_3.2.0.bb | 28 +++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-time-machine_3.2.0.bb diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index bece6304e8..7f4c3cc48f 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -105,6 +105,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-starlette \ python3-tblib \ python3-tenacity \ + python3-time-machine \ python3-tokenize-rt \ python3-tomli-w \ python3-tomlkit \ diff --git a/meta-python/recipes-devtools/python/python3-time-machine_3.2.0.bb b/meta-python/recipes-devtools/python/python3-time-machine_3.2.0.bb new file mode 100644 index 0000000000..8e2fa51bb4 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-time-machine_3.2.0.bb @@ -0,0 +1,28 @@ +SUMMARY = "Travel through time in your tests." +HOMEPAGE = "https://github.com/adamchainz/time-machine" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=fb9b93a440d3ef2fb6eeebfa59384c53" + +SRCREV = "1b7ac45defb26c72076dc202aba46967c8c28fa9" +PYPI_SRC_URI = "git://github.com/adamchainz/time-machine;protocol=https;branch=main;tag=${PV};destsuffix=time_machine-${PV}" + +inherit pypi python_setuptools_build_meta ptest-python-pytest + +PYPI_PACKAGE = "time_machine" +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" + +RDEPENDS:${PN} += "\ + python3-tzdata \ + python3-unittest \ + python3-zoneinfo \ + " +do_install_ptest:append() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN}-ptest += "\ + python3-dateutil \ + python3-freezegun \ + python3-tokenize-rt \ +" From patchwork Tue Feb 3 19:13:54 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 80360 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 93097E7C712 for ; Tue, 3 Feb 2026 19:14:20 +0000 (UTC) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.1637.1770146058372095002 for ; Tue, 03 Feb 2026 11:14:18 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=I9/V2ii0; spf=pass (domain: konsulko.com, ip: 209.85.214.182, mailfrom: tim.orling@konsulko.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-2a7d98c1879so39235825ad.3 for ; Tue, 03 Feb 2026 11:14:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1770146057; x=1770750857; 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=ZcaorUKV0u0NvmoNi5ncAExB2Ic6HtRyuZ1hQZnBNEE=; b=I9/V2ii0fZJcFuT/c45oJV5R0C9JFiegrRW7NMQh0Huxcn3Mz/DUV2mwRwS3pYr+WY Wb790aw6H8QpdJCq2FCMZyOZ9gb7AJicMoT0EinTB2PRxx/FTr/+Mz8PguYEfry9C+yh qbJL0xofV3E3KSNvlxY8+U2euRvAyC9IC+aAI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770146057; x=1770750857; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=ZcaorUKV0u0NvmoNi5ncAExB2Ic6HtRyuZ1hQZnBNEE=; b=Tg/mEmGQNIoEzK5KgFaC/4DAmdxMQn5w/WRwGxPZy/A2vbyZzhCmhLKYQmWeacI2F1 d1FqYMwbiLP0RUJi0UMwB2ktNKJX9+JSfgWo6FxBlO9poqHBmdsWVqrAHl0NrA4pWE5d Ky3ikFVJCG8vRWYkE/YCdUsjhpeVlBZYfrdIHZqUCERY5GXfeLrJDcJPSjxB/yNVYTZx N5mE6A0RgPHI1pR2jQGEd068uAo998tXO8sGrXJjr5wlZ2rmJxYkv6pc2N6NDl6u9GDS 3luRTFNaagkMFDfQvy/WFGBPpnYg7Ekns6fL20uC4HH7m9mZ6eDmZ8adPr/DK3sn37J3 gT8w== X-Gm-Message-State: AOJu0YwiW8CRnMuhW1k+6wh/HaXr2LO6H+EYsMBrtqC2W+KO6nk1rjH8 NR+rxBZiv4jJQRjxZgQLc9MhTFDe5/AeMT4lJT6RWOXUbXi/lp6VlOjGjlRAl5ypPXt31WTnXok YDh5A X-Gm-Gg: AZuq6aJdi49cGzMdGE3IBJQ/4LN3Cy5psnpX1tBkfjQVF1q/tYJXJWkpGo9KmvxXC/P YYuoqqyTCpnhkRxnUubspBEJcvFWBjlKvEW7kDzHaB0lMWQlQaQAQVdZdMiMvwku62z+2YEu9eq 6uip1WYkLAuILqgeVLubnw/gnEzWs2s2LrkJ1EYfJe5fwUQ+oWw3YCEj+an9O4hwCAgiNB4FBNo jHC878H/ZPD+m0tB2JJ0JtGFNHHd6LdTf0OURLiaa85tNPBd730sXfJ8A0pNrN+n7QsnjzMUGNC YZOZeclHHkPJ962kTdBr/xm4IzK3PFgaRVBwkvC+4J7PmZFlsDuus2YcgZ0ktH2VF8VOf9xQ9Mv Ei6paLDVou5BtlX3zUf3m4qa2N+od/cOeTUuoNJf12oWwaBMGOKJmFlBXvBLd9xt1YJ87TSOti0 nCZDnIbemsDxBdj5+F6DTqUR0mVd94uPLNIR3yuA1eJStRHgBfrw== X-Received: by 2002:a17:902:e842:b0:2a1:3ee7:cc75 with SMTP id d9443c01a7336-2a933ceaa38mr3462915ad.19.1770146057226; Tue, 03 Feb 2026 11:14:17 -0800 (PST) Received: from localhost (c-98-232-159-17.hsd1.or.comcast.net. [98.232.159.17]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a93386e967sm2288375ad.22.2026.02.03.11.14.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Feb 2026 11:14:16 -0800 (PST) From: tim.orling@konsulko.com To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH v2 v2 5/6] python3-pendulum: add at v3.2.0 Date: Tue, 3 Feb 2026 11:13:54 -0800 Message-ID: <28b86daddafb3e57f8875a4d17975e50e2e9794d.1770145884.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Feb 2026 19:14:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/124110 From: Tim Orling Python datetimes made easy. * Add patch to not strip .so * Enable ptests * Use git fetcher so we have tests/ Testsuite summary TOTAL: 1835 PASS: 1832 SKIP: 3 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 102 Dependency for python3-orjson ptest. Signed-off-by: Tim Orling --- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-pendulum-crates.inc | 52 +++++++++++++++++++ .../0001-rust-Cargo.toml-inhibit-strip.patch | 31 +++++++++++ .../python/python3-pendulum_3.2.0.bb | 35 +++++++++++++ 4 files changed, 119 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pendulum-crates.inc create mode 100644 meta-python/recipes-devtools/python/python3-pendulum/0001-rust-Cargo.toml-inhibit-strip.patch create mode 100644 meta-python/recipes-devtools/python/python3-pendulum_3.2.0.bb diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index 7f4c3cc48f..f647b3bab1 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -60,6 +60,7 @@ PTESTS_FAST_META_PYTHON = "\ python3-parse \ python3-parse-type \ python3-parsimonious \ + python3-pendulum \ python3-platformdirs \ python3-polyline \ python3-portalocker \ diff --git a/meta-python/recipes-devtools/python/python3-pendulum-crates.inc b/meta-python/recipes-devtools/python/python3-pendulum-crates.inc new file mode 100644 index 0000000000..71a7de9d05 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pendulum-crates.inc @@ -0,0 +1,52 @@ +# Autogenerated with 'bitbake -c update_crates python3-pendulum' + +# from rust/Cargo.lock +SRC_URI += " \ + crate://crates.io/autocfg/1.5.0 \ + crate://crates.io/cc/1.2.55 \ + crate://crates.io/find-msvc-tools/0.1.9 \ + crate://crates.io/heck/0.5.0 \ + crate://crates.io/indoc/2.0.7 \ + crate://crates.io/libc/0.2.180 \ + crate://crates.io/memoffset/0.9.1 \ + crate://crates.io/once_cell/1.21.3 \ + crate://crates.io/portable-atomic/1.13.0 \ + crate://crates.io/proc-macro2/1.0.106 \ + crate://crates.io/pyo3/0.27.2 \ + crate://crates.io/pyo3-build-config/0.27.2 \ + crate://crates.io/pyo3-ffi/0.27.2 \ + crate://crates.io/pyo3-macros/0.27.2 \ + crate://crates.io/pyo3-macros-backend/0.27.2 \ + crate://crates.io/python3-dll-a/0.2.14 \ + crate://crates.io/quote/1.0.44 \ + crate://crates.io/rustversion/1.0.22 \ + crate://crates.io/shlex/1.3.0 \ + crate://crates.io/syn/2.0.114 \ + crate://crates.io/target-lexicon/0.13.4 \ + crate://crates.io/unicode-ident/1.0.22 \ + crate://crates.io/unindent/0.2.4 \ +" + +SRC_URI[autocfg-1.5.0.sha256sum] = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8" +SRC_URI[cc-1.2.55.sha256sum] = "47b26a0954ae34af09b50f0de26458fa95369a0d478d8236d3f93082b219bd29" +SRC_URI[find-msvc-tools-0.1.9.sha256sum] = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582" +SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" +SRC_URI[indoc-2.0.7.sha256sum] = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706" +SRC_URI[libc-0.2.180.sha256sum] = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc" +SRC_URI[memoffset-0.9.1.sha256sum] = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a" +SRC_URI[once_cell-1.21.3.sha256sum] = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d" +SRC_URI[portable-atomic-1.13.0.sha256sum] = "f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950" +SRC_URI[proc-macro2-1.0.106.sha256sum] = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934" +SRC_URI[pyo3-0.27.2.sha256sum] = "ab53c047fcd1a1d2a8820fe84f05d6be69e9526be40cb03b73f86b6b03e6d87d" +SRC_URI[pyo3-build-config-0.27.2.sha256sum] = "b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6" +SRC_URI[pyo3-ffi-0.27.2.sha256sum] = "1c85c9cbfaddf651b1221594209aed57e9e5cff63c4d11d1feead529b872a089" +SRC_URI[pyo3-macros-0.27.2.sha256sum] = "0a5b10c9bf9888125d917fb4d2ca2d25c8df94c7ab5a52e13313a07e050a3b02" +SRC_URI[pyo3-macros-backend-0.27.2.sha256sum] = "03b51720d314836e53327f5871d4c0cfb4fb37cc2c4a11cc71907a86342c40f9" +SRC_URI[python3-dll-a-0.2.14.sha256sum] = "d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8" +SRC_URI[quote-1.0.44.sha256sum] = "21b2ebcf727b7760c461f091f9f0f539b77b8e87f2fd88131e7f1b433b3cece4" +SRC_URI[rustversion-1.0.22.sha256sum] = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d" +SRC_URI[shlex-1.3.0.sha256sum] = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" +SRC_URI[syn-2.0.114.sha256sum] = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a" +SRC_URI[target-lexicon-0.13.4.sha256sum] = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba" +SRC_URI[unicode-ident-1.0.22.sha256sum] = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" +SRC_URI[unindent-0.2.4.sha256sum] = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3" diff --git a/meta-python/recipes-devtools/python/python3-pendulum/0001-rust-Cargo.toml-inhibit-strip.patch b/meta-python/recipes-devtools/python/python3-pendulum/0001-rust-Cargo.toml-inhibit-strip.patch new file mode 100644 index 0000000000..f721b9fe40 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pendulum/0001-rust-Cargo.toml-inhibit-strip.patch @@ -0,0 +1,31 @@ +From 74db4bc77be0e02912975ea198e58addf97bc218 Mon Sep 17 00:00:00 2001 +From: Tim Orling +Date: Fri, 30 Jan 2026 07:06:05 -0800 +Subject: [PATCH] rust/Cargo.toml: inhibit strip + +For OpenEmbedded builds, we want debug symbols which will be stripped +later by us. + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Tim Orling +--- + rust/Cargo.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/rust/Cargo.toml b/rust/Cargo.toml +index 097321f..8bde1fd 100644 +--- a/rust/Cargo.toml ++++ b/rust/Cargo.toml +@@ -10,7 +10,7 @@ crate-type = ["cdylib"] + [profile.release] + lto = "fat" + codegen-units = 1 +-strip = true ++strip = false + overflow-checks = false + + [dependencies] +-- +2.43.0 + diff --git a/meta-python/recipes-devtools/python/python3-pendulum_3.2.0.bb b/meta-python/recipes-devtools/python/python3-pendulum_3.2.0.bb new file mode 100644 index 0000000000..a2dc7e7d9e --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pendulum_3.2.0.bb @@ -0,0 +1,35 @@ +SUMMARY = "Python datetimes made easy" +DESCRIPTION = "Pendulum is a Python package to ease datetimes manipulation. \ +It provides classes that are drop-in replacements for the native ones (they \ +inherit from them). \ +Special care has been taken to ensure timezones are handled correctly, and \ +are based on the underlying tzinfo implementation. For example, all \ +comparisons are done in UTC or in the timezone of the datetime being used. \ +The default timezone, except when using the now(), method will always be UTC. \ +" +HOMEPAGE = "https://pendulum.eustace.io" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=869e1c364438f234f09673c4039ed114" + +DEPENDS = "python3-maturin-native" + +SRCREV = "aea611d7a1c15ed0da56505c3f370fe4446ba733" +PYPI_SRC_URI = "git://github.com/python-pendulum/pendulum;protocol=https;branch=master;tag=${PV};destsuffix=pendulum-${PV}" + +SRC_URI += "file://0001-rust-Cargo.toml-inhibit-strip.patch" + +require ${BPN}-crates.inc + +inherit pypi python_maturin cargo-update-recipe-crates ptest-python-pytest + +do_install_ptest:append() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += "python3-dateutil python3-tzdata" + +RDEPENDS:${PN}-ptest += "\ + python3-dateutil-zoneinfo \ + python3-time-machine \ + " From patchwork Tue Feb 3 19:13:55 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 80363 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 A6268E7FDCF for ; Tue, 3 Feb 2026 19:14:30 +0000 (UTC) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.1609.1770146060773957492 for ; Tue, 03 Feb 2026 11:14:20 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=AK6lSQ2K; spf=pass (domain: konsulko.com, ip: 209.85.214.182, mailfrom: tim.orling@konsulko.com) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-2a0c09bb78cso1204645ad.0 for ; Tue, 03 Feb 2026 11:14:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1770146060; x=1770750860; 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=dxucLDiu7QjULm9T4aHHiFxH/rbxqTJOrC/qLO7BF30=; b=AK6lSQ2KgOVLqnGe/Voj/7w6aC4QOo0dhLXG4hSJjxlJ1x3QA3Xw16o2yeVg26m812 hY3ldgySv04jS8ZcKSoG11oZgA+UoDr3rKLHJYsMi3XdeNBufvyQqVUWvcs21EJ+xTTn 2DF2jgcBLOBHoHKxVsqt1Yqphe9aCWtu6jm7k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770146060; x=1770750860; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=dxucLDiu7QjULm9T4aHHiFxH/rbxqTJOrC/qLO7BF30=; b=REbdMTFAVFFHFAAZidnpNhUSm6g7DInOvs0j4gvAkXiwvNX68mazn+AwXN2FHkNhaf wuO28p0XFT3M0aka04FFd95GZt6nvsUH9HgTgQNX7/ogGmpZZF/KBQvE49eqR5lJW425 eKQzsIfFs2AUKuBZri6QwoTRVVRfFfjaau2HG3rDKqz49We4ujjVsQVBU2gbclt98TyV /gk13hZdFJrYXpw4Ejsl9RpVopLWpSrxCR6mmsmHH0y8K8tVO1YjJa3wU0WTtMPhvaTa ogjcWSP/vDxsI4w6UYFLaPWhp3wm5HRAkEtnd7IzBJWmCE9sKeVgOwUDhuYs+lGfYB5e fU6A== X-Gm-Message-State: AOJu0YxVkvHjIITJ1c2QJ84bAFkncFoLpZgqEcEjY6kOfAcNlfe/xU2F VGkUqO0yR4pkv67HsfbsPOmFAyN6Q5QA0DnWrvlerafwP6pZaxI3tL4d06XgGabbocgUpLPEAY5 r6GwH X-Gm-Gg: AZuq6aKBsK/3t05VGEJZolBOSLZz6ykEPU738X6HiUZV8eVfCm9FPE+s1hZF3KjNXds CP0ZR3qfACDAEZ1u5Xct6GXZKRmH0gU3D/v7Q0Ej1Xg6lhbk7+CDSDviQALFLvl+tfH/SkWuxIE ekuTMJ5lil4NpSwLaYdGm1NP22uBaD0XRjJFhwEPB5EE+3zPR0XbjsHGmmIzr4GWVozxvLvlK+5 POECR/wqvDWEjnRCqjLiry84+cvRE2eeMA3NjiyYNQelKTs/+rqP4tpdOm0lbLkbc21vPSPvv7c uhIdSPWvVpvXE49hGasTORQN6Iv5K3fJdRbR/Ayrs5w/hgG+7M4m49KSqXdTb7SzgPxNnDBfjvD IluUm5zfFCK5JVf+lGx7dt5ZUR6tHMFlOTu/UZTLSO1F7ivFOorTD++GAU8F0xXuTESPGLtAhJp pl4OYa70MML6YSyEVbM8AmoQFUWqbDZJdUXBz7/seurq2EsQkAMB8cQfdEicHk X-Received: by 2002:a17:903:1245:b0:2a9:db7:4475 with SMTP id d9443c01a7336-2a9338906bdmr4595975ad.1.1770146059727; Tue, 03 Feb 2026 11:14:19 -0800 (PST) Received: from localhost (c-98-232-159-17.hsd1.or.comcast.net. [98.232.159.17]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a933884954sm2062675ad.28.2026.02.03.11.14.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Feb 2026 11:14:19 -0800 (PST) From: tim.orling@konsulko.com To: openembedded-devel@lists.openembedded.org Subject: [meta-python][PATCH v2 v2 6/6] python3-orjson: use git fetcher; enable ptest Date: Tue, 3 Feb 2026 11:13:55 -0800 Message-ID: <1ff42dd4deeaa45e3389a0e56ab91a5d679e32e9.1770145884.git.tim.orling@konsulko.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 03 Feb 2026 19:14:30 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/124111 From: Tim Orling The majority of the ptests require the data/ directory, so switch to using the git fetcher. Testsuite summary TOTAL: 1632 PASS: 1627 SKIP: 5 XFAIL: 0 FAIL: 0 XPASS: 0 ERROR: 0 DURATION: 268 Signed-off-by: Tim Orling --- .../ptest-packagelists-meta-python.inc | 1 + .../python/python3-orjson_3.11.6.bb | 24 +++++++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc b/meta-python/conf/include/ptest-packagelists-meta-python.inc index f647b3bab1..83e4490533 100644 --- a/meta-python/conf/include/ptest-packagelists-meta-python.inc +++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc @@ -138,6 +138,7 @@ PTESTS_SLOW_META_PYTHON = "\ python3-google-auth \ python3-lz4 \ python3-marshmallow \ + python3-orjson \ python3-pillow \ python3-pint \ python3-pykickstart \ diff --git a/meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb b/meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb index e26ca77d91..121b1c1964 100644 --- a/meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb +++ b/meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb @@ -3,13 +3,14 @@ HOMEPAGE = "https://pypi.org/project/orjson/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d" -SRC_URI[sha256sum] = "0a54c72259f35299fd033042367df781c2f66d10252955ca1efb7db309b954cb" +SRCREV = "ec02024c3837255064f248c0d2d331319b75e9ad" +PYPI_SRC_URI = "git://github.com/ijl/orjson;protocol=https;branch=master;tag=${PV};destsuffix=orjson-${PV}" CVE_PRODUCT = "orjson" require ${BPN}-crates.inc -inherit pypi python_maturin cargo-update-recipe-crates +inherit pypi python_maturin cargo-update-recipe-crates ptest-python-pytest SRC_URI += " \ file://0001-Guard-avx512-module-with-x86-target-cfg.patch \ @@ -23,4 +24,23 @@ do_compile:prepend() { sed -i "/panic = \"abort\"/d" ${S}/Cargo.toml } +do_install_ptest:append() { + install -d ${D}${PTEST_PATH}/data + cp -rf ${S}/data/* ${D}${PTEST_PATH}/data/ + install -d ${D}${PTEST_PATH}/test + cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ +} + +RDEPENDS:${PN}-ptest += "\ + python3-dateutil \ + python3-dateutil-zoneinfo \ + python3-faker \ + python3-numpy \ + python3-pandas \ + python3-pendulum \ + python3-psutil \ + python3-pytz \ + python3-tzdata \ +" + BBCLASSEXTEND = "native nativesdk"