From 0b802c8cb834ae806eecb542f1249028b15e91ea Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Mon, 9 Jun 2025 20:27:21 +0300 Subject: python3-starlette: Upgrade 0.46.2 -> 0.47.0 Upgrade to release 0.47.0: - Add support for ASGI pathsend extension - Add partitioned attribute to Response.set_cookie - Change methods parameter type from list[str] to Collection[str] - Replace import typing by from typing import ... in the whole codebase - Mark ExceptionMiddleware.http_exception as async to prevent thread creation Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-starlette_0.46.2.bb | 41 ---------------------- .../python/python3-starlette_0.47.0.bb | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-starlette_0.46.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-starlette_0.47.0.bb (limited to 'meta-python') diff --git a/meta-python/recipes-devtools/python/python3-starlette_0.46.2.bb b/meta-python/recipes-devtools/python/python3-starlette_0.46.2.bb deleted file mode 100644 index cdbb951647..0000000000 --- a/meta-python/recipes-devtools/python/python3-starlette_0.46.2.bb +++ /dev/null @@ -1,41 +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] = "7f7361f34eed179294600af672f565727419830b54b7b084efe44bb82d2fccd5" - -inherit pypi python_hatchling ptest - -PYPI_PACKAGE = "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_0.47.0.bb b/meta-python/recipes-devtools/python/python3-starlette_0.47.0.bb new file mode 100644 index 0000000000..182b6d60d5 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-starlette_0.47.0.bb @@ -0,0 +1,41 @@ +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] = "1f64887e94a447fed5f23309fb6890ef23349b7e478faa7b24a851cd4eb844af" + +inherit pypi python_hatchling ptest + +PYPI_PACKAGE = "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