From 9dbe4374a2426edd763e91546cf1c9ee0a0e3921 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 27 May 2026 17:47:53 +0800 Subject: python3-starlette: upgrade 1.0.0 -> 1.1.0 Changelog: ========== - Ignore malformed Host header when constructing request.url - Use "application/octet-stream" as the FileResponse media type fallback - Only dispatch standard HTTP verbs in HTTPEndpoint - Reject absolute paths in StaticFiles.lookup_path Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-starlette_1.0.0.bb | 42 ---------------------- .../python/python3-starlette_1.1.0.bb | 42 ++++++++++++++++++++++ 2 files changed, 42 insertions(+), 42 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-starlette_1.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-starlette_1.1.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-starlette_1.0.0.bb b/meta-python/recipes-devtools/python/python3-starlette_1.0.0.bb deleted file mode 100644 index 8f50678875..0000000000 --- a/meta-python/recipes-devtools/python/python3-starlette_1.0.0.bb +++ /dev/null @@ -1,42 +0,0 @@ -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] = "6a4beaf1f81bb472fd19ea9b918b50dc3a77a6f2e190a12954b25e6ed5eea149" - -inherit pypi python_hatchling ptest - -PYPI_PACKAGE = "starlette" -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 \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - -RDEPENDS:${PN} += " \ - python3-anyio \ -" diff --git a/meta-python/recipes-devtools/python/python3-starlette_1.1.0.bb b/meta-python/recipes-devtools/python/python3-starlette_1.1.0.bb new file mode 100644 index 0000000000..7bddc99f7c --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-starlette_1.1.0.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] = "e83c7fe0ddecd8719c5b840080325aec0260acec86e9832899e377b91d65e90f" + +inherit pypi python_hatchling ptest + +PYPI_PACKAGE = "starlette" +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 \ +" + +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