Skip to contentSkip to conversation

package/python-fastapi: bump to version 0.108.0

PATCH In review James Hilliard 2 participants 2 messages Jan 9, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/python-fastapi: bump to version 0.108.0

Remove no longer required python-anyio runtime dependency.

---
Changes v1 -> v2:
- fix commit message

---
 package/python-fastapi/Config.in           | 1 -
 package/python-fastapi/python-fastapi.hash | 4 ++--
 package/python-fastapi/python-fastapi.mk   | 4 ++--
 3 files changed, 4 insertions(+), 5 deletions(-)
package/python-fastapi/Config.in +0 -1
index 7d376d3dd7..d4a527c601 100644
@@ -1,7 +1,6 @@
 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_ANYIO # 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
index 3dc1578cb7..8c578a386f 100644
@@ -1,5 +1,5 @@
 # md5, sha256 from https://pypi.org/pypi/fastapi/json
-md5  06bfa7c610fc9e81d05b0319eb70cae7  fastapi-0.105.0.tar.gz
-sha256  4d12838819aa52af244580675825e750ad67c9df4614f557a769606af902cf22  fastapi-0.105.0.tar.gz
+md5  6dd5b159f2d6a7c405b4cb5cb9afb564  fastapi-0.108.0.tar.gz
+sha256  5056e504ac6395bf68493d71fcfc5352fdbd5fda6f88c21f6420d80d81163296  fastapi-0.108.0.tar.gz
 # Locally computed sha256 checksums
 sha256  4ec89ffc81485b97fec584b2d4a961032eeffe834453894fd9c1274906cc744e  LICENSE
package/python-fastapi/python-fastapi.mk +2 -2
index dc6d919926..dd435445cb 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_FASTAPI_VERSION = 0.105.0
+PYTHON_FASTAPI_VERSION = 0.108.0
 PYTHON_FASTAPI_SOURCE = fastapi-$(PYTHON_FASTAPI_VERSION).tar.gz
-PYTHON_FASTAPI_SITE = https://files.pythonhosted.org/packages/77/bb/5941e6e2ce3020f64b539a49d39f49be05de17d0c47fea95012589f812a5
+PYTHON_FASTAPI_SITE = https://files.pythonhosted.org/packages/cb/0d/ec01761249b228f288b693a7ad6b2e695af521ca0f32dd09aef58890d9a4
 PYTHON_FASTAPI_SETUP_TYPE = pep517
 PYTHON_FASTAPI_LICENSE = MIT
 PYTHON_FASTAPI_LICENSE_FILES = LICENSE
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi James,

Quoted 41 lines · James Hilliard

Remove no longer required python-anyio runtime dependency.

---
Changes v1 -> v2:
- fix commit message

---
  package/python-fastapi/Config.in           | 1 -
  package/python-fastapi/python-fastapi.hash | 4 ++--
  package/python-fastapi/python-fastapi.mk   | 4 ++--
  3 files changed, 4 insertions(+), 5 deletions(-)
package/python-fastapi/Config.in +0 -1
index 7d376d3dd7..d4a527c601 100644
@@ -1,7 +1,6 @@
  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_ANYIO # 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
index 3dc1578cb7..8c578a386f 100644
@@ -1,5 +1,5 @@
  # md5, sha256 from https://pypi.org/pypi/fastapi/json
-md5  06bfa7c610fc9e81d05b0319eb70cae7  fastapi-0.105.0.tar.gz
-sha256  4d12838819aa52af244580675825e750ad67c9df4614f557a769606af902cf22  fastapi-0.105.0.tar.gz
+md5  6dd5b159f2d6a7c405b4cb5cb9afb564  fastapi-0.108.0.tar.gz
+sha256  5056e504ac6395bf68493d71fcfc5352fdbd5fda6f88c21f6420d80d81163296  fastapi-0.108.0.tar.gz
  # Locally computed sha256 checksums
  sha256  4ec89ffc81485b97fec584b2d4a961032eeffe834453894fd9c1274906cc744e  LICENSE
package/python-fastapi/python-fastapi.mk +0 -0
index dc6d919926..dd435445cb 100644

package/python-fastapi/python-fastapi.mk line 7

Quoted 5 lines
package/python-fastapi/python-fastapi.mk +1 -1
@@ -4,9 +4,9 @@
  #
  ################################################################################
 
-PYTHON_FASTAPI_VERSION = 0.105.0
+PYTHON_FASTAPI_VERSION = 0.108.0

fastapi 0.108.0 requires starlette>=0.29.0,<0.33.0: https://github.com/tiangolo/fastapi/blob/0.108.0/pyproject.toml#L43

So I think they should be bumped together?

package/python-fastapi/python-fastapi.mk line 12

Quoted 6 lines
package/python-fastapi/python-fastapi.mk +1 -1
  PYTHON_FASTAPI_SOURCE = fastapi-$(PYTHON_FASTAPI_VERSION).tar.gz
-PYTHON_FASTAPI_SITE = https://files.pythonhosted.org/packages/77/bb/5941e6e2ce3020f64b539a49d39f49be05de17d0c47fea95012589f812a5
+PYTHON_FASTAPI_SITE = https://files.pythonhosted.org/packages/cb/0d/ec01761249b228f288b693a7ad6b2e695af521ca0f32dd09aef58890d9a4
  PYTHON_FASTAPI_SETUP_TYPE = pep517
  PYTHON_FASTAPI_LICENSE = MIT
  PYTHON_FASTAPI_LICENSE_FILES = LICENSE

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot