meta-openembedded/meta-python/recipes-devtools/python/python3-starlette_0.46.0.bb
Wang Mingyu f4e12b6d36
python3-starlette: upgrade 0.45.3 -> 0.46.0
Changelog:
=============
- GZipMiddleware: Make sure Vary header is always added if a response can be compressed
- Raise exception from background task on BaseHTTPMiddleware
- GZipMiddleware: Don't compress on server sent events
- MultiPartParser: Rename max_file_size to spool_max_size
- Add deprecated warning to TestClient(timeout=...)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-02-26 08:30:55 -08:00

42 lines
1.1 KiB
BlitzBasic

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] = "b359e4567456b28d473d0193f34c0de0ed49710d75ef183a74a5ce0499324f50"
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 \
"