package/python-fastapi: bump to 0.121.3
PATCH 1/1 package/python-fastapi: bump to 0.121.3
This introduces a new trivial [1] runtime dependency (annotated-doc), so we add that as a separate package.
Changes:
* https://github.com/fastapi/fastapi/releases/tag/0.120.0
* https://github.com/fastapi/fastapi/releases/tag/0.120.1
* https://github.com/fastapi/fastapi/releases/tag/0.120.2
* https://github.com/fastapi/fastapi/releases/tag/0.120.3
* https://github.com/fastapi/fastapi/releases/tag/0.120.4
* https://github.com/fastapi/fastapi/releases/tag/0.121.0
* https://github.com/fastapi/fastapi/releases/tag/0.121.1
* https://github.com/fastapi/fastapi/releases/tag/0.121.2
* https://github.com/fastapi/fastapi/releases/tag/0.121.3
[1] https://github.com/fastapi/annotated-doc/blob/main/src/annotated_doc/main.py
--- DEVELOPERS | 1 + package/Config.in | 1 + package/python-annotated-doc/Config.in | 7 +++++++ .../python-annotated-doc.hash | 5 +++++ .../python-annotated-doc/python-annotated-doc.mk | 15 +++++++++++++++ package/python-fastapi/Config.in | 1 + package/python-fastapi/python-fastapi.hash | 4 ++-- package/python-fastapi/python-fastapi.mk | 4 ++-- 8 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 package/python-annotated-doc/Config.in create mode 100644 package/python-annotated-doc/python-annotated-doc.hash create mode 100644 package/python-annotated-doc/python-annotated-doc.mk
DEVELOPERS +1 -0
@@ -2260,6 +2260,7 @@ N: Marcus Hoffmann <[email protected]> F: package/nethogs/ F: package/pico-sdk/ F: package/picotool/ +F: package/python-annotated-doc/ F: package/python-apscheduler/ F: package/python-crc/ F: package/python-django/
package/Config.in +1 -0
@@ -992,6 +992,7 @@ menu "External python modules" source "package/python-alembic/Config.in" source "package/python-alsaaudio/Config.in" source "package/python-aniso8601/Config.in" + source "package/python-annotated-doc/Config.in" source "package/python-annotated-types/Config.in" source "package/python-ansicolors/Config.in" source "package/python-anyio/Config.in"
package/python-annotated-doc/Config.in new file +7 -0
@@ -0,0 +1,7 @@ +config BR2_PACKAGE_PYTHON_ANNOTATED_DOC + bool "python-annotated-doc" + help + Document parameters, class attributes, return types, and + variables inline, with Annotated. + + https://github.com/fastapi/annotated-doc
package/python-annotated-doc/python-annotated-doc.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/annotated-doc/json +md5 825f2ecff1f182cd942ea09907ebafdb annotated_doc-0.0.4.tar.gz +sha256 fbcda96e87e9c92ad167c2e53839e57503ecfda18804ea28102353485033faa4 annotated_doc-0.0.4.tar.gz +# Locally computed sha256 checksums +sha256 fff170779a6acbf65abdb405c087f1cee1786691e4a96a4034517e4a504a0cdf LICENSE
package/python-annotated-doc/python-annotated-doc.mk new file +15 -0
@@ -0,0 +1,15 @@ +################################################################################ +# +# python-annotated-doc +# +################################################################################ + + +PYTHON_ANNOTATED_DOC_VERSION = 0.0.4 +PYTHON_ANNOTATED_DOC_SOURCE = annotated_doc-$(PYTHON_ANNOTATED_DOC_VERSION).tar.gz +PYTHON_ANNOTATED_DOC_SITE = https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558c +PYTHON_ANNOTATED_DOC_SETUP_TYPE = pep517 +PYTHON_ANNOTATED_DOC_LICENSE = MIT +PYTHON_ANNOTATED_DOC_LICENSE_FILES = LICENSE +PYTHON_ANNOTATED_DOC_DEPENDENCIES = host-python-pdm-backend +$(eval $(python-package))
package/python-fastapi/Config.in +1 -0
@@ -1,6 +1,7 @@ config BR2_PACKAGE_PYTHON_FASTAPI bool "python-fastapi" depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pydantic -> python-pydantic-core + select BR2_PACKAGE_PYTHON_ANNOTATED_DOC # runtime select BR2_PACKAGE_PYTHON_PYDANTIC # runtime select BR2_PACKAGE_PYTHON_STARLETTE # runtime select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
package/python-fastapi/python-fastapi.hash +2 -2
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/fastapi/json -md5 5d539db8065d3579430ed00577e8a86b fastapi-0.119.1.tar.gz -sha256 a5e3426edce3fe221af4e1992c6d79011b247e3b03cc57999d697fe76cbf8ae0 fastapi-0.119.1.tar.gz +md5 a62694a0a9a111fc76178e02707573b7 fastapi-0.121.3.tar.gz +sha256 0055bc24fe53e56a40e9e0ad1ae2baa81622c406e548e501e717634e2dfbc40b fastapi-0.121.3.tar.gz # Locally computed sha256 checksums sha256 4ec89ffc81485b97fec584b2d4a961032eeffe834453894fd9c1274906cc744e LICENSE
package/python-fastapi/python-fastapi.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_FASTAPI_VERSION = 0.119.1 +PYTHON_FASTAPI_VERSION = 0.121.3 PYTHON_FASTAPI_SOURCE = fastapi-$(PYTHON_FASTAPI_VERSION).tar.gz -PYTHON_FASTAPI_SITE = https://files.pythonhosted.org/packages/a6/f4/152127681182e6413e7a89684c434e19e7414ed7ac0c632999c3c6980640 +PYTHON_FASTAPI_SITE = https://files.pythonhosted.org/packages/80/f0/086c442c6516195786131b8ca70488c6ef11d2f2e33c9a893576b2b0d3f7 PYTHON_FASTAPI_SETUP_TYPE = pep517 PYTHON_FASTAPI_LICENSE = MIT PYTHON_FASTAPI_LICENSE_FILES = LICENSE
Signature · 6 lines
2.52.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Marcus,
Thanks for the patch.
Quoted 2 lines · Marcus Hoffmann via buildroot
This introduces a new trivial [1] runtime dependency (annotated-doc), so we add that as a separate package.
Any specific reason to introduce this new package with the bump?
If not, could you please split this patch in two: a first one introducing the package, and the second doing the fastapi bump.
Also, there is a check-package error. See below.
Quoted 31 lines
Changes:
* https://github.com/fastapi/fastapi/releases/tag/0.120.0
* https://github.com/fastapi/fastapi/releases/tag/0.120.1
* https://github.com/fastapi/fastapi/releases/tag/0.120.2
* https://github.com/fastapi/fastapi/releases/tag/0.120.3
* https://github.com/fastapi/fastapi/releases/tag/0.120.4
* https://github.com/fastapi/fastapi/releases/tag/0.121.0
* https://github.com/fastapi/fastapi/releases/tag/0.121.1
* https://github.com/fastapi/fastapi/releases/tag/0.121.2
* https://github.com/fastapi/fastapi/releases/tag/0.121.3[1] https://github.com/fastapi/annotated-doc/blob/main/src/annotated_doc/main.py
Signed-off-by Marcus Hoffmann <[email protected]>--- DEVELOPERS | 1 + package/Config.in | 1 + package/python-annotated-doc/Config.in | 7 +++++++ .../python-annotated-doc.hash | 5 +++++ .../python-annotated-doc/python-annotated-doc.mk | 15 +++++++++++++++ package/python-fastapi/Config.in | 1 + package/python-fastapi/python-fastapi.hash | 4 ++-- package/python-fastapi/python-fastapi.mk | 4 ++-- 8 files changed, 34 insertions(+), 4 deletions(-) create mode 100644 package/python-annotated-doc/Config.in create mode 100644 package/python-annotated-doc/python-annotated-doc.hash create mode 100644
package/python-annotated-doc/python-annotated-doc.mk
[...]
package/python-annotated-doc/python-annotated-doc.mk line 7
Quoted 13 lines
package/python-annotated-doc/python-annotated-doc.mk new file +7
-0@@ -0,0 +1,15 @@ +################################################################################ +# +# python-annotated-doc +# +################################################################################ + +
Running "utils/docker-run make check-package" generates
an error here:package/python-annotated-doc/python-annotated-doc.mk:7: consecutive empty lines
Could you remove it, please?
package/python-annotated-doc/python-annotated-doc.mk line 14
Quoted 9 lines
package/python-annotated-doc/python-annotated-doc.mk new file +2
-0+PYTHON_ANNOTATED_DOC_VERSION = 0.0.4 +PYTHON_ANNOTATED_DOC_SOURCE =annotated_doc-$(PYTHON_ANNOTATED_DOC_VERSION).tar.gz +PYTHON_ANNOTATED_DOC_SITE =
https://files.pythonhosted.org/packages/57/ba/046ceea27344560984e26a590f90bc7f4a75b06701f653222458922b558cpackage/python-annotated-doc/python-annotated-doc.mk new file +4
-0+PYTHON_ANNOTATED_DOC_SETUP_TYPE = pep517 +PYTHON_ANNOTATED_DOC_LICENSE = MIT +PYTHON_ANNOTATED_DOC_LICENSE_FILES = LICENSE +PYTHON_ANNOTATED_DOC_DEPENDENCIES = host-python-pdm-backend
And to follow the format of all other packages, could you add a new line here?
Quoted 1 line
+$(eval $(python-package))
Could you send an updated patch addressing those issues, please?
Best regards,
Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Julien,
Quoted 9 lines · Julien Olivain
Hi Marcus,
Thanks for the patch.
Quoted 2 lines · Marcus Hoffmann via buildroot
This introduces a new trivial [1] runtime dependency (annotated-doc), so we add that as a separate package.
Any specific reason to introduce this new package with the bump?
I think my reasoning was, we only need this package for the fastapi bump. But nothing breaks if it applied individually first, so sending it as two patches makes sense, I guess.
Quoted 5 lines
If not, could you please split this patch in two: a first one introducing the package, and the second doing the fastapi bump.
Also, there is a check-package error. See below.
Fixed in the second try of the new series I sent :).
(oh and also fastapi has released 11(!) new versions in the last 5 days, so I updated to the latest one now, but not idea what's going on over there...)
Marcus
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Marcus" == Marcus Hoffmann via buildroot <[email protected]> writes:
Hi,
Quoted 3 lines
(oh and also fastapi has released 11(!) new versions in the last 5 days, so I updated to the latest one now, but not idea what's going on over there...)
It _IS_ called *fast*api ;)
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot