python3-fastapi: Upgrade 0.136.3 -> 0.137.1
PATCH 1/3 python3-fastapi: Upgrade 0.136.3 -> 0.137.1
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 <[email protected]>
---
...-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%)meta-python/recipes-devtools/python/python3-fastapi_0.137.1.bb renamed from meta-python/recipes-devtools/python/python3-fastapi_0.136.3.bb +9 -2
@@ -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 +}
Signature · 1 line
2.47.3
PATCH 2/3 python3-discovery: Add recipe for release 1.4.2
Add a new recipe for python3-discovery release 1.4.2:
- fix: stop symlink resolution at stdlib landmark and framework builds
Signed-off-by Leon Anavi <[email protected]>
--- .../python/python3-discovery_1.4.2.bb | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-discovery_1.4.2.bb
meta-python/recipes-devtools/python/python3-discovery_1.4.2.bb new file +25 -0
@@ -0,0 +1,25 @@ +SUMMARY = "Python interpreter discovery" +HOMEPAGE = "https://github.com/tox-dev/python-discovery" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=11610a9d8fd95649cf8159be12b98cb7" + +PYPI_PACKAGE = "python_discovery" + +SRC_URI[sha256sum] = "8f3746c4b4968d22afbb97d36e1a0e5b66e6c0f297290f2e95f05b9b8bf18690" + +inherit pypi python_hatchling ptest-python-pytest + +DEPENDS += "python3-hatch-vcs-native" + +RDEPENDS:${PN} += "\ + python3-core \ + python3-logging \ + python3-platformdirs \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-setuptools \ + python3-filelock \ +" + +BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.47.3
PATCH 3/3 python3-filelock: Upgrade 3.29.1 -> 3.29.4
In reply to Leon AnaviUpgrade to release 3.29.4:
- Verify inode in break_lock_file before unlinking a stale lock
- Keep the read/write heartbeat alive on a transient touch error
Signed-off-by Leon Anavi <[email protected]>
---
...{python3-filelock_3.29.1.bb => python3-filelock_3.29.4.bb} | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
rename meta-python/recipes-devtools/python/{python3-filelock_3.29.1.bb => python3-filelock_3.29.4.bb} (86%)meta-python/recipes-devtools/python/python3-filelock_3.29.4.bb renamed from meta-python/recipes-devtools/python/python3-filelock_3.29.1.bb +3 -1
@@ -6,7 +6,8 @@ LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=2c6acbdf7bb74caa37512c3a5ca6857b" SRC_URI += "file://run-ptest" -SRC_URI[sha256sum] = "d97e6b1b9757569626c58caa07dc4beb1613f4a2938b1e8cc81afca398906c9e" + +SRC_URI[sha256sum] = "10cdb3656fc44541cdf30652a93fb10ec6b05325620eb316bd26893e4201538a" BBCLASSEXTEND = "native nativesdk"
@@ -26,4 +27,5 @@ RDEPENDS:${PN}-ptest += " \ python3-pytest-asyncio \ python3-pytest-mock \ python3-virtualenv \ + python3-discovery \ "
Signature · 1 line
2.47.3