similarity index 72%
rename from meta-python/recipes-devtools/python/python3-fastapi_0.136.3.bb
rename to meta-python/recipes-devtools/python/python3-fastapi_0.137.1.bb
@@ -1,9 +1,9 @@
-DESCRIPTION = "FastAPI framework, high performance, easy to learn, fast to code, ready for production"
+
HOMEPAGE = "https://fastapi.tiangolo.com/"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=95792ff3fe8e11aa49ceb247e66e4810"
-SRC_URI[sha256sum] = "e487fae93ad408e6f47641ee4dfe389864fd7bec92e547ea8498fc13f43e83ab"
+SRC_URI[sha256sum] = "822360704230d9533d8d9475399613525968aa2f0b5bd2a3ccc9f18c88fd541c"
SRC_URI += "file://run-ptest"
@@ -36,3 +36,10 @@ RDEPENDS:${PN}-ptest += "\
python3-sqlalchemy \
python3-trio \
"
+
+do_install_ptest:append() {
+ install -d ${D}${PTEST_PATH}/scripts
+ cp -rf ${S}/scripts/* ${D}${PTEST_PATH}/scripts/
+ rm -rf ${D}${PTEST_PATH}/scripts/tests
+ echo "import sys; from pathlib import Path; sys.path.insert(0, str(Path(__file__).parent))" > ${D}${PTEST_PATH}/conftest.py
+}
Upgrade to release 0.137.1: - Fix typing checks for APIRoute. - Fix bug, allow empty path in path operation in prefixless router. Fix the following error when running ptest-runner python3-fastapi: E ModuleNotFoundError: No module named 'scripts' Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> --- ...-fastapi_0.136.3.bb => python3-fastapi_0.137.1.bb} | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) rename meta-python/recipes-devtools/python/{python3-fastapi_0.136.3.bb => python3-fastapi_0.137.1.bb} (72%)