Wang Mingyu 0ded2930cf
python3-starlette: upgrade 1.1.0 -> 1.2.1
Changelog:
============
- Support httpx2 in the test client
- Use httpx2 for type checking in the testclient module
- Add assert error for requires() when request param is not Request type

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-06-07 18:21:43 -07:00

43 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] = "9b9b5ebb992e67d6093741e63c2f59e4f6fff986f81163c087867bd7b924b3f6"
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 \
"