mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-08-25 05:21:31 +00:00
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 <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -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 \
|
||||
"
|
||||
Reference in New Issue
Block a user