From d9112efa8495a04f42325cabb5933e860c6caf7f Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 24 Dec 2024 17:26:52 +0800 Subject: python3-starlette: upgrade 0.39.2 -> 0.42.0 Changelog: ============ - Add max_part_size to MultiPartParser to limit the size of parts in multipart/form-data requests - Allow to raise HTTPException before websocket.accept() - Bump minimum python-multipart version to 0.0.13 - Change python-multipart import to python_multipart - Revert bump on python-multipart on starlette[full] extras - Raise ClientDisconnect on StreamingResponse - Use ETag from headers when parsing If-Range in FileResponse - Follow directory symlinks in StaticFiles when follow_symlinks=True - Bump minimum python-multipart version to 0.0.18 - Bump minimum httpx version to 0.27.0 - Exclude the query parameters from the scope[raw_path] on the TestClient - Replace dict by Mapping on HTTPException.headers - Correct middleware argument passing and improve factory pattern Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-starlette_0.39.2.bb | 41 ---------------------- .../python/python3-starlette_0.42.0.bb | 41 ++++++++++++++++++++++ 2 files changed, 41 insertions(+), 41 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-starlette_0.42.0.bb (limited to 'meta-python/recipes-devtools') diff --git a/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb b/meta-python/recipes-devtools/python/python3-starlette_0.39.2.bb deleted file mode 100644 index 87080e9fe9..0000000000 --- a/meta-python/recipes-devtools/python/python3-starlette_0.39.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] = "caaa3b87ef8518ef913dac4f073dea44e85f73343ad2bdc17941931835b2a26a" - -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.42.0.bb b/meta-python/recipes-devtools/python/python3-starlette_0.42.0.bb new file mode 100644 index 0000000000..ed539ed9df --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-starlette_0.42.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] = "91f1fbd612f3e3d821a8a5f46bf381afe2a9722a7b8bbde1c07fb83384c2882a" + +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