summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-starlette_0.47.0.bb
diff options
context:
space:
mode:
authorLeon Anavi <leon.anavi@konsulko.com>2025-06-09 20:27:21 +0300
committerKhem Raj <raj.khem@gmail.com>2025-06-09 21:19:04 -0700
commit0b802c8cb834ae806eecb542f1249028b15e91ea (patch)
tree479db7b806ad48053db35efd9d2c4a0325e884fa /meta-python/recipes-devtools/python/python3-starlette_0.47.0.bb
parent7bea5f8bdd0ce919632b93715a4aae4903af498c (diff)
downloadmeta-openembedded-0b802c8cb834ae806eecb542f1249028b15e91ea.tar.gz
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 <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-starlette_0.47.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-starlette_0.47.0.bb41
1 files changed, 41 insertions, 0 deletions
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 @@
1SUMMARY = "Starlette is a lightweight ASGI framework/toolkit, which is ideal for building async web services in Python"
2LICENSE = "BSD-3-Clause"
3LIC_FILES_CHKSUM = "file://LICENSE.md;md5=11e8c8dbfd5fa373c703de492140ff7a"
4
5SRC_URI[sha256sum] = "1f64887e94a447fed5f23309fb6890ef23349b7e478faa7b24a851cd4eb844af"
6
7inherit pypi python_hatchling ptest
8
9PYPI_PACKAGE = "starlette"
10
11SRC_URI += " \
12 file://run-ptest \
13"
14
15RDEPENDS:${PN}-ptest += " \
16 python3-attrs \
17 python3-ctypes \
18 python3-httpx \
19 python3-itsdangerous \
20 python3-jinja2 \
21 python3-outcome \
22 python3-pytest \
23 python3-pytest-asyncio \
24 python3-pytest-forked \
25 python3-python-multipart \
26 python3-sortedcontainers \
27 python3-terminal \
28 python3-trio \
29 python3-typing-extensions \
30 python3-unittest-automake-output \
31 python3-pyyaml \
32"
33
34do_install_ptest() {
35 install -d ${D}${PTEST_PATH}/tests
36 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
37}
38
39RDEPENDS:${PN} += " \
40 python3-anyio \
41"