summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-03-31 22:13:47 -0700
committerKhem Raj <raj.khem@gmail.com>2025-04-01 21:54:56 -0700
commit2694eb1fe0d929a590d9f7189942444f66f9ba63 (patch)
tree651a14b99e286ac66edf7fc0f122c2b18a712ad3 /meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb
parenta8823315bb3d08029dee5068ec7b11a6a323ecb7 (diff)
downloadmeta-openembedded-2694eb1fe0d929a590d9f7189942444f66f9ba63.tar.gz
python3-pydantic-core: Upgrade to 2.33.0 release
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb
new file mode 100644
index 0000000000..11bcbd259c
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.33.0.bb
@@ -0,0 +1,48 @@
1SUMMARY = "Provides the core functionality for pydantic validation and serialization."
2DESCRIPTION = "This package provides the core functionality for \
3pydantic validation and serialization.\
4\
5Pydantic-core is currently around 17x faster than pydantic V1."
6HOMEPAGE = "https://github.com/pydantic/pydantic-core"
7
8LICENSE = "MIT"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c"
10
11require ${BPN}-crates.inc
12
13SRC_URI[sha256sum] = "40eb8af662ba409c3cbf4a8150ad32ae73514cd7cb1f1a2113af39763dd616b3"
14
15DEPENDS = "python3-maturin-native python3-typing-extensions"
16
17inherit pypi cargo-update-recipe-crates python_maturin ptest-python-pytest
18
19PYPI_PACKAGE = "pydantic_core"
20UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
21
22RDEPENDS:${PN} += " \
23 python3-compression \
24 python3-typing-extensions \
25"
26
27INSANE_SKIP:${PN} = "already-stripped"
28
29# python3-misc is for Lib/timeit.py which is not split out elsewhere
30RDEPENDS:${PN}-ptest += "\
31 python3-dateutil \
32 python3-dirty-equals \
33 python3-hypothesis \
34 python3-inline-snapshot \
35 python3-misc \
36 python3-pytest-mock \
37 python3-pytest-timeout \
38 python3-pytest-benchmark \
39 python3-tzdata \
40 python3-zoneinfo \
41"
42
43do_install_ptest:append () {
44 cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
45 sed -i -e "/--automake/ s/$/ -k 'not test_model_class_root_validator_wrap and not test_model_class_root_validator_before and not test_model_class_root_validator_after'/" ${D}${PTEST_PATH}/run-ptest
46}
47
48BBCLASSEXTEND = "native nativesdk"