diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2026-03-12 18:51:59 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-03-17 13:25:31 -0700 |
| commit | 67b858ec99655d6540a4ecc61242dbe5232f55fb (patch) | |
| tree | daea8d26908061b55be3f8b2b9fe6c01bd44c362 /meta-python/recipes-devtools/python/python3-orjson_3.11.7.bb | |
| parent | 1698357b41fc287413d7e8bbc7ba10cb2158760f (diff) | |
| download | meta-openembedded-67b858ec99655d6540a4ecc61242dbe5232f55fb.tar.gz | |
python3-orjson: upgrade 3.11.6 -> 3.11.7
Changelog:
==============
- Use a faster library to serialize float. Users with byte-exact regression
tests should note positive exponents are now written using a +, e.g.,
1.2e+30 instead of 1.2e30. Both formats are spec-compliant.
- ABI compatibility with CPython 3.15 alpha 5 free-threading.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-orjson_3.11.7.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-orjson_3.11.7.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-orjson_3.11.7.bb b/meta-python/recipes-devtools/python/python3-orjson_3.11.7.bb new file mode 100644 index 0000000000..63e2e089e1 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-orjson_3.11.7.bb | |||
| @@ -0,0 +1,46 @@ | |||
| 1 | SUMMARY = "orjson is a fast, correct JSON library for Python" | ||
| 2 | HOMEPAGE = "https://pypi.org/project/orjson/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE-MIT;md5=b377b220f43d747efdec40d69fcaa69d" | ||
| 5 | |||
| 6 | SRCREV = "ec2b066cae79ae4a90ed126ac5723335dd99e408" | ||
| 7 | PYPI_SRC_URI = "git://github.com/ijl/orjson;protocol=https;branch=master;tag=${PV};destsuffix=orjson-${PV}" | ||
| 8 | |||
| 9 | CVE_PRODUCT = "orjson" | ||
| 10 | |||
| 11 | require ${BPN}-crates.inc | ||
| 12 | |||
| 13 | inherit pypi python_maturin cargo-update-recipe-crates ptest-python-pytest | ||
| 14 | |||
| 15 | SRC_URI += " \ | ||
| 16 | file://0001-Guard-avx512-module-with-x86-target-cfg.patch \ | ||
| 17 | file://0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch \ | ||
| 18 | " | ||
| 19 | DEPENDS = "python3-maturin-native" | ||
| 20 | |||
| 21 | RDEPENDS:${PN} += "python3-maturin python3-mypy" | ||
| 22 | |||
| 23 | do_compile:prepend() { | ||
| 24 | sed -i "/panic = \"abort\"/d" ${S}/Cargo.toml | ||
| 25 | } | ||
| 26 | |||
| 27 | do_install_ptest:append() { | ||
| 28 | install -d ${D}${PTEST_PATH}/data | ||
| 29 | cp -rf ${S}/data/* ${D}${PTEST_PATH}/data/ | ||
| 30 | install -d ${D}${PTEST_PATH}/test | ||
| 31 | cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ | ||
| 32 | } | ||
| 33 | |||
| 34 | RDEPENDS:${PN}-ptest += "\ | ||
| 35 | python3-dateutil \ | ||
| 36 | python3-dateutil-zoneinfo \ | ||
| 37 | python3-faker \ | ||
| 38 | python3-numpy \ | ||
| 39 | python3-pandas \ | ||
| 40 | python3-pendulum \ | ||
| 41 | python3-psutil \ | ||
| 42 | python3-pytz \ | ||
| 43 | python3-tzdata \ | ||
| 44 | " | ||
| 45 | |||
| 46 | BBCLASSEXTEND = "native nativesdk" | ||
