summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb
diff options
context:
space:
mode:
authorWang Mingyu <wangmy@fujitsu.com>2024-01-03 16:38:27 +0800
committerKhem Raj <raj.khem@gmail.com>2024-01-04 11:17:26 -0800
commit45672db184f39030417d8412f0aa0c8589be6a74 (patch)
treec9c0778e83e397147aef5576564aa57972cf741e /meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb
parent7b66ea10817f90fe4b869de7b3b04d3aa4b2714f (diff)
downloadmeta-openembedded-45672db184f39030417d8412f0aa0c8589be6a74.tar.gz
python3-pydantic-core: upgrade 2.14.5 -> 2.14.6
Changelog: fix memory leak with recursive definitions creating reference cycles 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-pydantic-core_2.14.6.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb40
1 files changed, 40 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb
new file mode 100644
index 0000000000..601ba25b60
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.14.6.bb
@@ -0,0 +1,40 @@
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
11SRC_URI[sha256sum] = "1fd0c1d395372843fba13a51c28e3bb9d59bd7aebfeb17358ffaaa1e4dbbe948"
12
13DEPENDS = "python3-maturin-native python3-typing-extensions"
14
15require ${BPN}-crates.inc
16
17inherit pypi cargo-update-recipe-crates python_maturin
18
19S = "${WORKDIR}/pydantic_core-${PV}"
20
21PYPI_ARCHIVE_NAME = "pydantic_core-${PV}.${PYPI_PACKAGE_EXT}"
22
23RDEPENDS:${PN} += "python3-typing-extensions"
24
25INSANE_SKIP:${PN} = "already-stripped"
26
27inherit ptest
28SRC_URI += "file://run-ptest"
29RDEPENDS:${PN}-ptest += "\
30 python3-dirty-equals \
31 python3-hypothesis \
32 python3-pytest \
33 python3-pytest-mock \
34 python3-unittest-automake-output \
35"
36
37do_install_ptest() {
38 cp -rf ${S}/tests/ ${D}${PTEST_PATH}/
39 rm -rf ${D}${PTEST_PATH}/tests/benchmarks
40}