From dfe448d205a77aaceb4e1acecf9d717cb0071001 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Fri, 12 Jun 2026 18:34:04 +0300 Subject: python3-starlette: Upgrade 1.2.1 -> 1.3.1 Upgrade to release 1.3.1: - Use StarletteDeprecationWarning instead of DeprecationWarning - Enforce max_fields and max_part_size in FormParser - Enforce FormParser limits in parser callbacks Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-starlette_1.3.1.bb | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-starlette_1.3.1.bb (limited to 'meta-python/recipes-devtools/python/python3-starlette_1.3.1.bb') diff --git a/meta-python/recipes-devtools/python/python3-starlette_1.3.1.bb b/meta-python/recipes-devtools/python/python3-starlette_1.3.1.bb new file mode 100644 index 0000000000..17f187a5f3 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-starlette_1.3.1.bb @@ -0,0 +1,42 @@ +SUMMARY = "Starlette is a lightweight ASGI framework/toolkit, which is ideal for building async web services in Python" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a" + +SRC_URI[sha256sum] = "05d0213193f2fbaae60e2ecb593b4add4262ad4e46536b54abe36f11a71724e0" + +inherit pypi python_hatchling ptest + +CVE_PRODUCT = "starlette" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-attrs \ + python3-ctypes \ + python3-httpx \ + python3-itsdangerous \ + python3-jinja2 \ + python3-outcome \ + python3-pytest \ + python3-pytest-asyncio \ + python3-pytest-forked \ + python3-python-multipart \ + python3-sortedcontainers \ + python3-terminal \ + python3-trio \ + python3-typing-extensions \ + python3-unittest-automake-output \ + python3-pyyaml \ + python3-httpx2 \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += " \ + python3-anyio \ +" -- cgit v1.2.3-54-g00ecf