mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-02-26 18:20:29 +00:00
python3-fastapi: Upgrade 0.124.4 -> 0.128.0
Upgrade to release 0.128.0: - Drop support for pydantic.v1 - Run performance tests only on Pydantic v2 Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
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] = "1cc179e1cef10a6be60ffe429f79b829dce99d8de32d7acb7e6c8dfdf7f2645a"
|
||||
|
||||
SRC_URI += "file://run-ptest"
|
||||
|
||||
CVE_PRODUCT = "tiangolo:fastapi"
|
||||
|
||||
inherit pypi python_pdm ptest-python-pytest
|
||||
|
||||
PACKAGECONFIG ?= ""
|
||||
# swagger-ui is in meta-webserver that meta-python does not depend upon
|
||||
# Users can still enable it in their distros explicitly but its disabled
|
||||
# by default
|
||||
PACKAGECONFIG[swagger-ui] = ",,,swagger-ui"
|
||||
|
||||
RDEPENDS:${PN} += "\
|
||||
python3-annotated-doc \
|
||||
python3-fastapi-cli \
|
||||
python3-json \
|
||||
python3-pydantic \
|
||||
python3-starlette \
|
||||
python3-typing-extensions \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-ptest += "\
|
||||
python3-coverage \
|
||||
python3-httpx \
|
||||
python3-orjson \
|
||||
python3-dirty-equals \
|
||||
python3-pytest-httpx \
|
||||
python3-python-multipart \
|
||||
python3-sqlalchemy \
|
||||
python3-trio \
|
||||
"
|
||||
Reference in New Issue
Block a user