Skip to contentSkip to conversation

package/python-typing-extensions: bump to version 4.9.0

PATCH In review James Hilliard 3 participants 17 messages Dec 14, 2023 – Dec 28, 2023

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/8 package/python-typing-extensions: bump to version 4.9.0

---
 .../python-typing-extensions/python-typing-extensions.hash  | 6 +++---
 .../python-typing-extensions/python-typing-extensions.mk    | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)
package/python-typing-extensions/python-typing-extensions.hash +3 -3
index fedb9e0446..778b2d5771 100644
@@ -1,5 +1,5 @@
-# md5, sha256 from https://pypi.org/pypi/typing_extensions/json
-md5  06e7fff4b1d51f8dc6f49b16e71de54e  typing_extensions-4.7.1.tar.gz
-sha256  b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2  typing_extensions-4.7.1.tar.gz
+# md5, sha256 from https://pypi.org/pypi/typing-extensions/json
+md5  2bcafbd6817cb0d7a29ed7a7f1bb1e5d  typing_extensions-4.9.0.tar.gz
+sha256  23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783  typing_extensions-4.9.0.tar.gz
 # Locally computed sha256 checksums
 sha256  3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf  LICENSE
package/python-typing-extensions/python-typing-extensions.mk +2 -2
index 9d41b0a6a5..89ed75bda7 100644
@@ -4,9 +4,9 @@
 #
 ################################################################################
 
-PYTHON_TYPING_EXTENSIONS_VERSION = 4.7.1
+PYTHON_TYPING_EXTENSIONS_VERSION = 4.9.0
 PYTHON_TYPING_EXTENSIONS_SOURCE = typing_extensions-$(PYTHON_TYPING_EXTENSIONS_VERSION).tar.gz
-PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/3c/8b/0111dd7d6c1478bf83baa1cab85c686426c7a6274119aceb2bd9d35395ad
+PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/0c/1d/eb26f5e75100d531d7399ae800814b069bc2ed2a7410834d57374d010d96
 PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = flit
 PYTHON_TYPING_EXTENSIONS_LICENSE = Python-2.0
 PYTHON_TYPING_EXTENSIONS_LICENSE_FILES = LICENSE
Signature · 6 lines
2.34.1

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

PATCH v3 2/8 package/python-anyio: new package

---
Changes v1 -> v2:
- downgrade to version 3.7.1

---
 package/Config.in                      |  1 +
 package/python-anyio/Config.in         |  9 +++++++++
 package/python-anyio/python-anyio.hash |  5 +++++
 package/python-anyio/python-anyio.mk   | 15 +++++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 package/python-anyio/Config.in
 create mode 100644 package/python-anyio/python-anyio.hash
 create mode 100644 package/python-anyio/python-anyio.mk
package/Config.in +1 -0
index fcc09b07c4..c023e0ef3f 100644
@@ -976,6 +976,7 @@ menu "External python modules"
 	source "package/python-alsaaudio/Config.in"
 	source "package/python-annotated-types/Config.in"
 	source "package/python-ansicolors/Config.in"
+	source "package/python-anyio/Config.in"
 	source "package/python-apispec/Config.in"
 	source "package/python-appdirs/Config.in"
 	source "package/python-argh/Config.in"
package/python-anyio/Config.in new file +9 -0
new file mode 100644
index 0000000000..d843f37af0
@@ -0,0 +1,9 @@
+config BR2_PACKAGE_PYTHON_ANYIO
+	bool "python-anyio"
+	select BR2_PACKAGE_PYTHON_IDNA # runtime
+	select BR2_PACKAGE_PYTHON_SNIFFIO # runtime
+	help
+	  High level compatibility layer for multiple asynchronous
+	  event loop implementations.
+
+	  https://github.com/agronholm/anyio
package/python-anyio/python-anyio.hash new file +5 -0
new file mode 100644
index 0000000000..1cea549bc1
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/anyio/json
+md5  58d288dd84e28e2507ff9ce7e4620010  anyio-3.7.1.tar.gz
+sha256  44a3c9aba0f5defa43261a8b3efb97891f2bd7d804e0e1f56419befa1adfc780  anyio-3.7.1.tar.gz
+# Locally computed sha256 checksums
+sha256  5361ac9dc58f2ef5fd2e9b09c68297c17f04950909bbc8023bdb82eacf22c2b0  LICENSE
package/python-anyio/python-anyio.mk new file +15 -0
new file mode 100644
index 0000000000..80404ac660
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-anyio
+#
+################################################################################
+
+PYTHON_ANYIO_VERSION = 3.7.1
+PYTHON_ANYIO_SOURCE = anyio-$(PYTHON_ANYIO_VERSION).tar.gz
+PYTHON_ANYIO_SITE = https://files.pythonhosted.org/packages/28/99/2dfd53fd55ce9838e6ff2d4dac20ce58263798bd1a0dbe18b3a9af3fcfce
+PYTHON_ANYIO_SETUP_TYPE = setuptools
+PYTHON_ANYIO_LICENSE = MIT
+PYTHON_ANYIO_LICENSE_FILES = LICENSE
+PYTHON_ANYIO_DEPENDENCIES = host-python-setuptools-scm
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

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

PATCH v3 3/8 package/python-starlette: new package

In reply to James Hilliard

---
Changes v1 -> v2:
- downgrade to version 0.27.0

---
 package/Config.in                              |  1 +
 package/python-starlette/Config.in             |  7 +++++++
 package/python-starlette/python-starlette.hash |  5 +++++
 package/python-starlette/python-starlette.mk   | 15 +++++++++++++++
 4 files changed, 28 insertions(+)
 create mode 100644 package/python-starlette/Config.in
 create mode 100644 package/python-starlette/python-starlette.hash
 create mode 100644 package/python-starlette/python-starlette.mk
package/Config.in +1 -0
index c023e0ef3f..3a4bf21a2a 100644
@@ -1338,6 +1338,7 @@ menu "External python modules"
 	source "package/python-sqliteschema/Config.in"
 	source "package/python-sqlparse/Config.in"
 	source "package/python-stack-data/Config.in"
+	source "package/python-starlette/Config.in"
 	source "package/python-systemd/Config.in"
 	source "package/python-tabledata/Config.in"
 	source "package/python-tempora/Config.in"
package/python-starlette/Config.in new file +7 -0
new file mode 100644
index 0000000000..90f590689a
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_STARLETTE
+	bool "python-starlette"
+	select BR2_PACKAGE_PYTHON_ANYIO # runtime
+	help
+	  The little ASGI library that shines.
+
+	  https://github.com/encode/starlette
package/python-starlette/python-starlette.hash new file +5 -0
new file mode 100644
index 0000000000..a7f1f66446
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/starlette/json
+md5  5193c4b7d2ea4c93635c340a7ba9b54f  starlette-0.27.0.tar.gz
+sha256  6a6b0d042acb8d469a01eba54e9cda6cbd24ac602c4cd016723117d6a7e73b75  starlette-0.27.0.tar.gz
+# Locally computed sha256 checksums
+sha256  dcb95677a02240243187e964f941847d19b17821cf99e5afae684fab328c19bf  LICENSE.md
package/python-starlette/python-starlette.mk new file +15 -0
new file mode 100644
index 0000000000..40932929a0
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-starlette
+#
+################################################################################
+
+PYTHON_STARLETTE_VERSION = 0.27.0
+PYTHON_STARLETTE_SOURCE = starlette-$(PYTHON_STARLETTE_VERSION).tar.gz
+PYTHON_STARLETTE_SITE = https://files.pythonhosted.org/packages/06/68/559bed5484e746f1ab2ebbe22312f2c25ec62e4b534916d41a8c21147bf8
+PYTHON_STARLETTE_SETUP_TYPE = pep517
+PYTHON_STARLETTE_LICENSE = BSD-3-Clause
+PYTHON_STARLETTE_LICENSE_FILES = LICENSE.md
+PYTHON_STARLETTE_DEPENDENCIES = host-python-hatchling
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

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

PATCH v3 4/8 package/python-fastapi: new package

In reply to James Hilliard
---
 package/Config.in                          |  1 +
 package/python-fastapi/Config.in           | 12 ++++++++++++
 package/python-fastapi/python-fastapi.hash |  5 +++++
 package/python-fastapi/python-fastapi.mk   | 15 +++++++++++++++
 4 files changed, 33 insertions(+)
 create mode 100644 package/python-fastapi/Config.in
 create mode 100644 package/python-fastapi/python-fastapi.hash
 create mode 100644 package/python-fastapi/python-fastapi.mk
package/Config.in +1 -0
index 3a4bf21a2a..8a97eb2897 100644
@@ -1073,6 +1073,7 @@ menu "External python modules"
 	source "package/python-evdev/Config.in"
 	source "package/python-executing/Config.in"
 	source "package/python-falcon/Config.in"
+	source "package/python-fastapi/Config.in"
 	source "package/python-filelock/Config.in"
 	source "package/python-fire/Config.in"
 	source "package/python-flask/Config.in"
package/python-fastapi/Config.in new file +12 -0
new file mode 100644
index 0000000000..7d376d3dd7
@@ -0,0 +1,12 @@
+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
+	help
+	  FastAPI framework, high performance, easy to learn, fast to
+	  code, ready for production.
+
+	  https://github.com/tiangolo/fastapi
package/python-fastapi/python-fastapi.hash new file +5 -0
new file mode 100644
index 0000000000..3dc1578cb7
@@ -0,0 +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
+# Locally computed sha256 checksums
+sha256  4ec89ffc81485b97fec584b2d4a961032eeffe834453894fd9c1274906cc744e  LICENSE
package/python-fastapi/python-fastapi.mk new file +15 -0
new file mode 100644
index 0000000000..db86bfce30
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-fastapi
+#
+################################################################################
+
+PYTHON_FASTAPI_VERSION = 0.105.0
+PYTHON_FASTAPI_SOURCE = fastapi-$(PYTHON_FASTAPI_VERSION).tar.gz
+PYTHON_FASTAPI_SITE = https://files.pythonhosted.org/packages/77/bb/5941e6e2ce3020f64b539a49d39f49be05de17d0c47fea95012589f812a5
+PYTHON_FASTAPI_SETUP_TYPE = pep517
+PYTHON_FASTAPI_LICENSE = MIT
+PYTHON_FASTAPI_LICENSE_FILES = LICENSE
+PYTHON_FASTAPI_DEPENDENCIES = host-python-hatchling
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by Marcus Hoffmann on v3 4/8
#4 lore raw

Re: [Buildroot] [PATCH v3 4/8] package/python-fastapi: new package

Quoted 1 line · James Hilliard
Quoted 62 lines
---
  package/Config.in                          |  1 +
  package/python-fastapi/Config.in           | 12 ++++++++++++
  package/python-fastapi/python-fastapi.hash |  5 +++++
  package/python-fastapi/python-fastapi.mk   | 15 +++++++++++++++
  4 files changed, 33 insertions(+)

create mode 100644 package/python-fastapi/Config.in create mode 100644 package/python-fastapi/python-fastapi.hash create mode 100644 package/python-fastapi/python-fastapi.mk

package/Config.in +1 -0
index 3a4bf21a2a..8a97eb2897 100644
@@ -1073,6 +1073,7 @@ menu "External python modules"
      source "package/python-evdev/Config.in"
      source "package/python-executing/Config.in"
      source "package/python-falcon/Config.in"
+     source "package/python-fastapi/Config.in"
      source "package/python-filelock/Config.in"
      source "package/python-fire/Config.in"
      source "package/python-flask/Config.in"
package/python-fastapi/Config.in new file +12 -0
new file mode 100644
index 0000000000..7d376d3dd7
@@ -0,0 +1,12 @@
+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
+     help
+       FastAPI framework, high performance, easy to learn, fast to
+       code, ready for production.
+
+       https://github.com/tiangolo/fastapi
package/python-fastapi/python-fastapi.hash new file +5 -0
new file mode 100644
index 0000000000..3dc1578cb7
@@ -0,0 +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
+# Locally computed sha256 checksums
+sha256  4ec89ffc81485b97fec584b2d4a961032eeffe834453894fd9c1274906cc744e  LICENSE
package/python-fastapi/python-fastapi.mk new file +5 -0
new file mode 100644
index 0000000000..db86bfce30
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-fastapi
+#
+################################################################################

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

Quoted 10 lines
package/python-fastapi/python-fastapi.mk new file +10 -0
+
+PYTHON_FASTAPI_VERSION = 0.105.0
+PYTHON_FASTAPI_SOURCE = fastapi-$(PYTHON_FASTAPI_VERSION).tar.gz
+PYTHON_FASTAPI_SITE = https://files.pythonhosted.org/packages/77/bb/5941e6e2ce3020f64b539a49d39f49be05de17d0c47fea95012589f812a5
+PYTHON_FASTAPI_SETUP_TYPE = pep517
+PYTHON_FASTAPI_LICENSE = MIT
+PYTHON_FASTAPI_LICENSE_FILES = LICENSE
+PYTHON_FASTAPI_DEPENDENCIES = host-python-hatchling
+
+$(eval $(python-package))

________________________________

othermo GmbH | Sitz der Gesellschaft: Alzenau | Amtsgericht Aschaffenburg: HRB 14783 | USt-IdNr.: DE319977978 | Geschäftsführung: Dr. Dennis Metz.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#5 lore raw

PATCH v3 5/8 package/python-uvicorn: new package

In reply to James Hilliard
---
 package/Config.in                          |  1 +
 package/python-uvicorn/Config.in           |  8 ++++++++
 package/python-uvicorn/python-uvicorn.hash |  5 +++++
 package/python-uvicorn/python-uvicorn.mk   | 15 +++++++++++++++
 4 files changed, 29 insertions(+)
 create mode 100644 package/python-uvicorn/Config.in
 create mode 100644 package/python-uvicorn/python-uvicorn.hash
 create mode 100644 package/python-uvicorn/python-uvicorn.mk
package/Config.in +1 -0
index 8a97eb2897..cf530b1355 100644
@@ -1375,6 +1375,7 @@ menu "External python modules"
 	source "package/python-unittest-xml-reporting/Config.in"
 	source "package/python-urllib3/Config.in"
 	source "package/python-urwid/Config.in"
+	source "package/python-uvicorn/Config.in"
 	source "package/python-uvloop/Config.in"
 	source "package/python-validators/Config.in"
 	source "package/python-versiontools/Config.in"
package/python-uvicorn/Config.in new file +8 -0
new file mode 100644
index 0000000000..3e769392f9
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_UVICORN
+	bool "python-uvicorn"
+	select BR2_PACKAGE_PYTHON_CLICK # runtime
+	select BR2_PACKAGE_PYTHON_H11 # runtime
+	help
+	  The lightning-fast ASGI server.
+
+	  https://www.uvicorn.org/
package/python-uvicorn/python-uvicorn.hash new file +5 -0
new file mode 100644
index 0000000000..cfa999e210
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/uvicorn/json
+md5  a1af843e7e305d551030abfa09dd3b15  uvicorn-0.24.0.post1.tar.gz
+sha256  09c8e5a79dc466bdf28dead50093957db184de356fcdc48697bad3bde4c2588e  uvicorn-0.24.0.post1.tar.gz
+# Locally computed sha256 checksums
+sha256  efe1acf3e62fb99c288b0ec73e5a773b7268ef4320fe757ea994214e4b63c371  LICENSE.md
package/python-uvicorn/python-uvicorn.mk new file +15 -0
new file mode 100644
index 0000000000..887e4ac390
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-uvicorn
+#
+################################################################################
+
+PYTHON_UVICORN_VERSION = 0.24.0.post1
+PYTHON_UVICORN_SOURCE = uvicorn-$(PYTHON_UVICORN_VERSION).tar.gz
+PYTHON_UVICORN_SITE = https://files.pythonhosted.org/packages/e5/84/d43ce8fe6b31a316ef0ed04ea0d58cab981bdf7f17f8423491fa8b4f50b6
+PYTHON_UVICORN_SETUP_TYPE = pep517
+PYTHON_UVICORN_LICENSE = BSD-3-Clause
+PYTHON_UVICORN_LICENSE_FILES = LICENSE.md
+PYTHON_UVICORN_DEPENDENCIES = host-python-hatchling
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by Marcus Hoffmann on v3 5/8
#6 lore raw

Re: [Buildroot] [PATCH v3 5/8] package/python-uvicorn: new package

Quoted 1 line · James Hilliard
Quoted 58 lines
---
  package/Config.in                          |  1 +
  package/python-uvicorn/Config.in           |  8 ++++++++
  package/python-uvicorn/python-uvicorn.hash |  5 +++++
  package/python-uvicorn/python-uvicorn.mk   | 15 +++++++++++++++
  4 files changed, 29 insertions(+)

create mode 100644 package/python-uvicorn/Config.in create mode 100644 package/python-uvicorn/python-uvicorn.hash create mode 100644 package/python-uvicorn/python-uvicorn.mk

package/Config.in +1 -0
index 8a97eb2897..cf530b1355 100644
@@ -1375,6 +1375,7 @@ menu "External python modules"
      source "package/python-unittest-xml-reporting/Config.in"
      source "package/python-urllib3/Config.in"
      source "package/python-urwid/Config.in"
+     source "package/python-uvicorn/Config.in"
      source "package/python-uvloop/Config.in"
      source "package/python-validators/Config.in"
      source "package/python-versiontools/Config.in"
package/python-uvicorn/Config.in new file +8 -0
new file mode 100644
index 0000000000..3e769392f9
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_UVICORN
+     bool "python-uvicorn"
+     select BR2_PACKAGE_PYTHON_CLICK # runtime
+     select BR2_PACKAGE_PYTHON_H11 # runtime
+     help
+       The lightning-fast ASGI server.
+
+       https://www.uvicorn.org/
package/python-uvicorn/python-uvicorn.hash new file +5 -0
new file mode 100644
index 0000000000..cfa999e210
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/uvicorn/json
+md5  a1af843e7e305d551030abfa09dd3b15  uvicorn-0.24.0.post1.tar.gz
+sha256  09c8e5a79dc466bdf28dead50093957db184de356fcdc48697bad3bde4c2588e  uvicorn-0.24.0.post1.tar.gz
+# Locally computed sha256 checksums
+sha256  efe1acf3e62fb99c288b0ec73e5a773b7268ef4320fe757ea994214e4b63c371  LICENSE.md
package/python-uvicorn/python-uvicorn.mk new file +5 -0
new file mode 100644
index 0000000000..887e4ac390
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-uvicorn
+#
+################################################################################

package/python-uvicorn/python-uvicorn.mk line 15

Quoted 10 lines
package/python-uvicorn/python-uvicorn.mk new file +10 -0
+
+PYTHON_UVICORN_VERSION = 0.24.0.post1
+PYTHON_UVICORN_SOURCE = uvicorn-$(PYTHON_UVICORN_VERSION).tar.gz
+PYTHON_UVICORN_SITE = https://files.pythonhosted.org/packages/e5/84/d43ce8fe6b31a316ef0ed04ea0d58cab981bdf7f17f8423491fa8b4f50b6
+PYTHON_UVICORN_SETUP_TYPE = pep517
+PYTHON_UVICORN_LICENSE = BSD-3-Clause
+PYTHON_UVICORN_LICENSE_FILES = LICENSE.md
+PYTHON_UVICORN_DEPENDENCIES = host-python-hatchling
+
+$(eval $(python-package))

________________________________

othermo GmbH | Sitz der Gesellschaft: Alzenau | Amtsgericht Aschaffenburg: HRB 14783 | USt-IdNr.: DE319977978 | Geschäftsführung: Dr. Dennis Metz.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#7 lore raw

PATCH v3 6/8 package/python-fastapi-sessions: new package

In reply to James Hilliard
---
 package/Config.in                                  |  1 +
 package/python-fastapi-sessions/Config.in          | 10 ++++++++++
 .../python-fastapi-sessions.hash                   |  5 +++++
 .../python-fastapi-sessions.mk                     | 14 ++++++++++++++
 4 files changed, 30 insertions(+)
 create mode 100644 package/python-fastapi-sessions/Config.in
 create mode 100644 package/python-fastapi-sessions/python-fastapi-sessions.hash
 create mode 100644 package/python-fastapi-sessions/python-fastapi-sessions.mk
package/Config.in +1 -0
index cf530b1355..a0134fa724 100644
@@ -1074,6 +1074,7 @@ menu "External python modules"
 	source "package/python-executing/Config.in"
 	source "package/python-falcon/Config.in"
 	source "package/python-fastapi/Config.in"
+	source "package/python-fastapi-sessions/Config.in"
 	source "package/python-filelock/Config.in"
 	source "package/python-fire/Config.in"
 	source "package/python-flask/Config.in"
package/python-fastapi-sessions/Config.in new file +10 -0
new file mode 100644
index 0000000000..a54b072f09
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_FASTAPI_SESSIONS
+	bool "python-fastapi-sessions"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pydantic -> python-pydantic-core
+	select BR2_PACKAGE_PYTHON_FASTAPI # runtime
+	select BR2_PACKAGE_PYTHON_ITSDANGEROUS # runtime
+	select BR2_PACKAGE_PYTHON_PYDANTIC # runtime
+	help
+	  Ready-to-use session library for FastAPI.
+
+	  https://github.com/jordanisaacs/fastapi-sessions
package/python-fastapi-sessions/python-fastapi-sessions.hash new file +5 -0
new file mode 100644
index 0000000000..dd5e224bde
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/fastapi-sessions/json
+md5  397ee37291bdbb7330ef8f4af378cd28  fastapi-sessions-0.3.2.tar.gz
+sha256  5159023fd548f8a9c198a966cf1086a73a43038cf3b9b79175fe33129f15e64c  fastapi-sessions-0.3.2.tar.gz
+# Locally computed sha256 checksums
+sha256  4962ee6d7777ff7d2f96ad81424c2e78d73ea7f6282d368afa14a7500c2d223e  LICENSE
package/python-fastapi-sessions/python-fastapi-sessions.mk new file +14 -0
new file mode 100644
index 0000000000..abfb41b5b6
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-fastapi-sessions
+#
+################################################################################
+
+PYTHON_FASTAPI_SESSIONS_VERSION = 0.3.2
+PYTHON_FASTAPI_SESSIONS_SOURCE = fastapi-sessions-$(PYTHON_FASTAPI_SESSIONS_VERSION).tar.gz
+PYTHON_FASTAPI_SESSIONS_SITE = https://files.pythonhosted.org/packages/1d/89/da83ba47bd70101e14eca0ac57c7f300b055b70104446badfdc1dcbe813f
+PYTHON_FASTAPI_SESSIONS_SETUP_TYPE = setuptools
+PYTHON_FASTAPI_SESSIONS_LICENSE = MIT
+PYTHON_FASTAPI_SESSIONS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

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

Re: [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package

Hello James,

Quoted 1 line · On Thu, 14 Dec 2023 09:54:18 -0700 James Hilliard <[email protected]>…

I am applying this series, and I have a few questions on this patch. They won't prevent applying the patch, they are more for my curiosity/understanding.

package/python-fastapi-sessions/Config.in line 6

Quoted 12 lines
package/python-fastapi-sessions/Config.in new file +6 -0
new file mode 100644
index 0000000000..a54b072f09
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_FASTAPI_SESSIONS
+	bool "python-fastapi-sessions"
+	depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pydantic -> python-pydantic-core
+	select BR2_PACKAGE_PYTHON_FASTAPI # runtime
+	select BR2_PACKAGE_PYTHON_ITSDANGEROUS # runtime
+	select BR2_PACKAGE_PYTHON_PYDANTIC # runtime

I indeed see pydantic imported in two places:

$ grep -r pydantic *
fastapi_sessions/backends/session_backend.py:from pydantic.main import BaseModel
fastapi_sessions/frontends/implementations/cookie.py:from pydantic.main import BaseModel

However, it's not listed in setup.py or pyproject.toml, even as an optional dependency. Is this an upstream "bug" ?

package/python-fastapi-sessions/Config.in line 10

Quoted 4 lines
package/python-fastapi-sessions/Config.in new file +4 -0
+PYTHON_FASTAPI_SESSIONS_VERSION = 0.3.2
+PYTHON_FASTAPI_SESSIONS_SOURCE = fastapi-sessions-$(PYTHON_FASTAPI_SESSIONS_VERSION).tar.gz
+PYTHON_FASTAPI_SESSIONS_SITE = https://files.pythonhosted.org/packages/1d/89/da83ba47bd70101e14eca0ac57c7f300b055b70104446badfdc1dcbe813f
+PYTHON_FASTAPI_SESSIONS_SETUP_TYPE = setuptools

I see you're using plain old setuptools, but this package has a pyproject.toml, though it doesn't define a [build-system]. Is this why you can't use pep517?

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#9 lore raw

Re: [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package

Quoted 27 lines · Thomas Petazzoni

Hello James,

Quoted 1 line · On Thu, 14 Dec 2023 09:54:18 -0700 James Hilliard <[email protected]>…

I am applying this series, and I have a few questions on this patch. They won't prevent applying the patch, they are more for my curiosity/understanding.

package/python-fastapi-sessions/Config.in line 6

Quoted 12 lines
package/python-fastapi-sessions/Config.in new file +6 -0
new file mode 100644
index 0000000000..a54b072f09
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_PYTHON_FASTAPI_SESSIONS
+     bool "python-fastapi-sessions"
+     depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pydantic -> python-pydantic-core
+     select BR2_PACKAGE_PYTHON_FASTAPI # runtime
+     select BR2_PACKAGE_PYTHON_ITSDANGEROUS # runtime
+     select BR2_PACKAGE_PYTHON_PYDANTIC # runtime

I indeed see pydantic imported in two places:

Quoted 6 lines
$ grep -r pydantic *
fastapi_sessions/backends/session_backend.py:from pydantic.main import BaseModel
fastapi_sessions/frontends/implementations/cookie.py:from pydantic.main import BaseModel

However, it's not listed in setup.py or pyproject.toml, even as an optional dependency. Is this an upstream "bug" ?

I see it in setup.py here:
https://github.com/jordanisaacs/fastapi-sessions/blob/be4126938011abd709fa18e9d9fc8a54c66a2130/setup.py#L12

Quoted 10 lines

package/python-fastapi-sessions/Config.in line 10

Quoted 6 lines
package/python-fastapi-sessions/Config.in new file +4 -0
+PYTHON_FASTAPI_SESSIONS_VERSION = 0.3.2
+PYTHON_FASTAPI_SESSIONS_SOURCE = fastapi-sessions-$(PYTHON_FASTAPI_SESSIONS_VERSION).tar.gz
+PYTHON_FASTAPI_SESSIONS_SITE = https://files.pythonhosted.org/packages/1d/89/da83ba47bd70101e14eca0ac57c7f300b055b70104446badfdc1dcbe813f
+PYTHON_FASTAPI_SESSIONS_SETUP_TYPE = setuptools

I see you're using plain old setuptools, but this package has a pyproject.toml, though it doesn't define a [build-system]. Is this why you can't use pep517?

A package with no [build-system] section in pyproject.toml per pep517 falls back to the setuptools build backend.

We can use a pep517 frontend with setuptools packages, see:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Quoted 8 lines

Thanks!

Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com

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

#10 lore raw

Re: [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package

James, All,

On 2023-12-25 17:47 -0700, James Hilliard spake thusly:

Quoted 8 lines
Quoted 6 lines · Thomas Petazzoni
Quoted 1 line · On Thu, 14 Dec 2023 09:54:18 -0700 James Hilliard <[email protected]>…

I am applying this series, and I have a few questions on this patch. They won't prevent applying the patch, they are more for my curiosity/understanding.

[--SNIP--]

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

+ select BR2_PACKAGE_PYTHON_PYDANTIC # runtime

I indeed see pydantic imported in two places:

[--SNIP--]

Quoted 4 lines
Quoted 2 lines

However, it's not listed in setup.py or pyproject.toml, even as an optional dependency. Is this an upstream "bug" ?

I see it in setup.py here:
https://github.com/jordanisaacs/fastapi-sessions/blob/be4126938011abd709fa18e9d9fc8a54c66a2130/setup.py#L12

So, indeed it is visible in setup.py that is on github. But what we are using is the tarball we retrieve from PyPi [0]. And if you look in that tarball, you'll notice a few things;

1. pydantic is indeed neither in setup.py nor in pyproject.toml, as

    they are in the archive on PyPi;

2. the setup.py from PyPi differs from the one on Gihub;

Also, looking at the github repository;

3. the project has not tag for 0.3.2, even though the commit

    be4126938011 (update version) from 2021-09-11 seems to match, both
    in date and content;

4. the only commit since then was to mark the project untmaintained

    as of 2022-01-27;

5. the repository has been marked "archived" on github as of 2023-12-06, as noted on the top banner on the github browser for the
projet: https://github.com/jordanisaacs/fastapi-sessions
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

So, it means that we now use a project that is unmaintained, and has discrepancy between what is available on gihub vs. what is puclished on PyPi.

Is there a newer upstream location, or someone who actually forked the project and maintains it elsewhere?

If not, is it really interesting for Buildroot to have just added a new package that is known to be mothballed, and for which we will never see any fix (security or otherwise), and which has no users in Buildroot?

[0] this is one of the reason I do not like that we use archives published on PyPi, and I thinkt we should instead be using the packages from the true, official source: as we can see above, we have no guarantee that what is on PyPi is indeed what we can see on the public forge, and can cause quite some grievance when debugging issues, as this package nicely demontrates.

Regards,
Yann E. MORIN.

Signature · 23 lines
                                        ____________
.-----------------.--------------------:       _    :------------------.
|  Yann E. MORIN  | Real-Time Embedded |    __/ )   | /"\ ASCII RIBBON |
|                 | Software  Designer |  _/ - /'   | \ / CAMPAIGN     |
| +33 638.411.245 '--------------------: (_    `--, |  X  AGAINST      |
| yann.morin (at) orange.com           |_="    ,--' | / \ HTML MAIL    |
'--------------------------------------:______/_____:------------------'

____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

This message and its attachments may contain confidential or privileged information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
Thank you.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#11 lore raw

Re: [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package

Quoted 21 lines · On Tue, Dec 26, 2023 at 3:26 AM <[email protected]> wrote:

James, All,

On 2023-12-25 17:47 -0700, James Hilliard spake thusly:

Quoted 8 lines
Quoted 6 lines · Thomas Petazzoni
Quoted 1 line · On Thu, 14 Dec 2023 09:54:18 -0700 James Hilliard <[email protected]>…

I am applying this series, and I have a few questions on this patch. They won't prevent applying the patch, they are more for my curiosity/understanding.

[--SNIP--]

Quoted 2 lines
Quoted 2 lines
Quoted 1 line

+ select BR2_PACKAGE_PYTHON_PYDANTIC # runtime

I indeed see pydantic imported in two places:

[--SNIP--]

Quoted 4 lines
Quoted 2 lines

However, it's not listed in setup.py or pyproject.toml, even as an optional dependency. Is this an upstream "bug" ?

I see it in setup.py here:
https://github.com/jordanisaacs/fastapi-sessions/blob/be4126938011abd709fa18e9d9fc8a54c66a2130/setup.py#L12

Quoted 8 lines

So, indeed it is visible in setup.py that is on github. But what we are using is the tarball we retrieve from PyPi [0]. And if you look in that tarball, you'll notice a few things;

1. pydantic is indeed neither in setup.py nor in pyproject.toml, as

    they are in the archive on PyPi;

2. the setup.py from PyPi differs from the one on Gihub;

Hmm, yeah, I'm guessing the setup.py on pypi was autogenerated by poetry and replaced the setup.py on github.

Quoted 16 lines

Also, looking at the github repository;

3. the project has not tag for 0.3.2, even though the commit

    be4126938011 (update version) from 2021-09-11 seems to match, both
    in date and content;

4. the only commit since then was to mark the project untmaintained

    as of 2022-01-27;

5. the repository has been marked "archived" on github as of 2023-12-06, as noted on the top banner on the github browser for the
projet: https://github.com/jordanisaacs/fastapi-sessions
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Quoted 6 lines

So, it means that we now use a project that is unmaintained, and has discrepancy between what is available on gihub vs. what is puclished on PyPi.

Is there a newer upstream location, or someone who actually forked the project and maintains it elsewhere?

I've not come across one yet, it was only recently archived and still seems to work fine so probably there just hasn't been much incentive for a fork yet.

Quoted 4 lines

If not, is it really interesting for Buildroot to have just added a new package that is known to be mothballed, and for which we will never see any fix (security or otherwise), and which has no users in Buildroot?

I added it since I have a project pulling it in as a dependency, I'll try and keep an eye out for a replacement and remove/replace it once no longer used.

Quoted 7 lines

[0] this is one of the reason I do not like that we use archives published on PyPi, and I thinkt we should instead be using the packages from the true, official source: as we can see above, we have no guarantee that what is on PyPi is indeed what we can see on the public forge, and can cause quite some grievance when debugging issues, as this package nicely demontrates.

Well...python's normal dependency management tools pull from pypi so those are typically the versions that are actually expected by dependent packages.

There's also projects that would be quite difficult to build from the github sources due to having to generate sources and such using non-standard tooling in order to build the pypi sdist releases.

For example building python-selenium from the github sources would require us to add support for the bazel build system due to it making use of bazel for generating various source files that get added to the sdist.

Quoted 19 lines

Regards,
Yann E. MORIN.

--

                                        ____________
.-----------------.--------------------:       _    :------------------.
|  Yann E. MORIN  | Real-Time Embedded |    __/ )   | /"\ ASCII RIBBON |
|                 | Software  Designer |  _/ - /'   | \ / CAMPAIGN     |
| +33 638.411.245 '--------------------: (_    `--, |  X  AGAINST      |
| yann.morin (at) orange.com           |_="    ,--' | / \ HTML MAIL    |

'--------------------------------------:______/_____:------------------'

____________________________________________________________________________________________________________
Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration, Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.

Quoted 5 lines

This message and its attachments may contain confidential or privileged information that may be protected by law; they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete this message and its attachments. As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified. Thank you.

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

#12 lore raw

Re: [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package

In reply to James Hilliard

Hello James,

Quoted 9 lines · On Mon, 25 Dec 2023 17:47:01 -0700 James Hilliard <[email protected]>…
Quoted 6 lines
$ grep -r pydantic *
fastapi_sessions/backends/session_backend.py:from pydantic.main import BaseModel
fastapi_sessions/frontends/implementations/cookie.py:from pydantic.main import BaseModel

However, it's not listed in setup.py or pyproject.toml, even as an optional dependency. Is this an upstream "bug" ?

I see it in setup.py here:
https://github.com/jordanisaacs/fastapi-sessions/blob/be4126938011abd709fa18e9d9fc8a54c66a2130/setup.py#L12

Thanks for the feedback. Yann replied to you about what I didn't see
it: it's not in the tarball from pypi, and I always look at the code in output/build/<pkg>-<version>/, which is the code really seen by Buildroot.

Quoted 6 lines
Quoted 3 lines

I see you're using plain old setuptools, but this package has a pyproject.toml, though it doesn't define a [build-system]. Is this why you can't use pep517?

A package with no [build-system] section in pyproject.toml per pep517 falls back to the setuptools build backend.

Ah, OK, thanks for clarifying this.

Quoted 2 lines

We can use a pep517 frontend with setuptools packages, see:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

ACK!

Thanks for those details, very useful.

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#13 lore raw

PATCH v3 7/8 package/python-httpcore: new package

In reply to James Hilliard
---
 package/Config.in                            |  1 +
 package/python-httpcore/Config.in            |  8 ++++++++
 package/python-httpcore/python-httpcore.hash |  5 +++++
 package/python-httpcore/python-httpcore.mk   | 17 +++++++++++++++++
 4 files changed, 31 insertions(+)
 create mode 100644 package/python-httpcore/Config.in
 create mode 100644 package/python-httpcore/python-httpcore.hash
 create mode 100644 package/python-httpcore/python-httpcore.mk
package/Config.in +1 -0
index a0134fa724..b304ae8514 100644
@@ -1104,6 +1104,7 @@ menu "External python modules"
 	source "package/python-hkdf/Config.in"
 	source "package/python-hpack/Config.in"
 	source "package/python-html5lib/Config.in"
+	source "package/python-httpcore/Config.in"
 	source "package/python-httplib2/Config.in"
 	source "package/python-huepy/Config.in"
 	source "package/python-humanize/Config.in"
package/python-httpcore/Config.in new file +8 -0
new file mode 100644
index 0000000000..d8c9083da8
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_PYTHON_HTTPCORE
+	bool "python-httpcore"
+	select BR2_PACKAGE_PYTHON_CERTIFI # runtime
+	select BR2_PACKAGE_PYTHON_H11 # runtime
+	help
+	  A minimal low-level HTTP client.
+
+	  https://www.encode.io/httpcore/
package/python-httpcore/python-httpcore.hash new file +5 -0
new file mode 100644
index 0000000000..1623573b65
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/httpcore/json
+md5  155fbd7794ce7351b607d408cb8182bf  httpcore-1.0.2.tar.gz
+sha256  9fc092e4799b26174648e54b74ed5f683132a464e95643b226e00c2ed2fa6535  httpcore-1.0.2.tar.gz
+# Locally computed sha256 checksums
+sha256  fdcb59154c74cbaba16a11242f7740bea9f23d6feb5547917d8c5f94a80392a5  LICENSE.md
package/python-httpcore/python-httpcore.mk new file +17 -0
new file mode 100644
index 0000000000..f1b3b810d7
@@ -0,0 +1,17 @@
+################################################################################
+#
+# python-httpcore
+#
+################################################################################
+
+PYTHON_HTTPCORE_VERSION = 1.0.2
+PYTHON_HTTPCORE_SOURCE = httpcore-$(PYTHON_HTTPCORE_VERSION).tar.gz
+PYTHON_HTTPCORE_SITE = https://files.pythonhosted.org/packages/18/56/78a38490b834fa0942cbe6d39bd8a7fd76316e8940319305a98d2b320366
+PYTHON_HTTPCORE_SETUP_TYPE = pep517
+PYTHON_HTTPCORE_LICENSE = BSD-3-Clause
+PYTHON_HTTPCORE_LICENSE_FILES = LICENSE.md
+PYTHON_HTTPCORE_DEPENDENCIES = \
+	host-python-hatchling \
+	host-python-hatch-fancy-pypi-readme
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

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

PATCH v3 8/8 package/python-httpx: new package

In reply to James Hilliard
---
 package/Config.in                      |  1 +
 package/python-httpx/Config.in         | 11 +++++++++++
 package/python-httpx/python-httpx.hash |  5 +++++
 package/python-httpx/python-httpx.mk   | 17 +++++++++++++++++
 4 files changed, 34 insertions(+)
 create mode 100644 package/python-httpx/Config.in
 create mode 100644 package/python-httpx/python-httpx.hash
 create mode 100644 package/python-httpx/python-httpx.mk
package/Config.in +1 -0
index b304ae8514..fb673560fd 100644
@@ -1106,6 +1106,7 @@ menu "External python modules"
 	source "package/python-html5lib/Config.in"
 	source "package/python-httpcore/Config.in"
 	source "package/python-httplib2/Config.in"
+	source "package/python-httpx/Config.in"
 	source "package/python-huepy/Config.in"
 	source "package/python-humanize/Config.in"
 	source "package/python-hwdata/Config.in"
package/python-httpx/Config.in new file +11 -0
new file mode 100644
index 0000000000..592cd559cd
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PYTHON_HTTPX
+	bool "python-httpx"
+	select BR2_PACKAGE_PYTHON_ANYIO # runtime
+	select BR2_PACKAGE_PYTHON_CERTIFI # runtime
+	select BR2_PACKAGE_PYTHON_HTTPCORE # runtime
+	select BR2_PACKAGE_PYTHON_IDNA # runtime
+	select BR2_PACKAGE_PYTHON_SNIFFIO # runtime
+	help
+	  The next generation HTTP client.
+
+	  https://github.com/encode/httpx
package/python-httpx/python-httpx.hash new file +5 -0
new file mode 100644
index 0000000000..fc4a68cf51
@@ -0,0 +1,5 @@
+# md5, sha256 from https://pypi.org/pypi/httpx/json
+md5  f4dcf1002b2116c634a53534ce9d6776  httpx-0.25.2.tar.gz
+sha256  8b8fcaa0c8ea7b05edd69a094e63a2094c4efcb48129fb757361bc423c0ad9e8  httpx-0.25.2.tar.gz
+# Locally computed sha256 checksums
+sha256  4ec59d544f12b5f539a3a716fd321ac58ccd8030b465221f2c880200cdf28d8d  LICENSE.md
package/python-httpx/python-httpx.mk new file +17 -0
new file mode 100644
index 0000000000..4227acec59
@@ -0,0 +1,17 @@
+################################################################################
+#
+# python-httpx
+#
+################################################################################
+
+PYTHON_HTTPX_VERSION = 0.25.2
+PYTHON_HTTPX_SOURCE = httpx-$(PYTHON_HTTPX_VERSION).tar.gz
+PYTHON_HTTPX_SITE = https://files.pythonhosted.org/packages/8c/23/911d93a022979d3ea295f659fbe7edb07b3f4561a477e83b3a6d0e0c914e
+PYTHON_HTTPX_SETUP_TYPE = pep517
+PYTHON_HTTPX_LICENSE = BSD-3-Clause
+PYTHON_HTTPX_LICENSE_FILES = LICENSE.md
+PYTHON_HTTPX_DEPENDENCIES = \
+	host-python-hatchling \
+	host-python-hatch-fancy-pypi-readme
+
+$(eval $(python-package))
Signature · 6 lines
2.34.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Reviewed-by Marcus Hoffmann on v3 1/8
#15 lore raw
In reply to James Hilliard
Quoted 1 line · James Hilliard
Quoted 24 lines
---
  .../python-typing-extensions/python-typing-extensions.hash  | 6 +++---
  .../python-typing-extensions/python-typing-extensions.mk    | 4 ++--
  2 files changed, 5 insertions(+), 5 deletions(-)
package/python-typing-extensions/python-typing-extensions.hash +3 -3
index fedb9e0446..778b2d5771 100644
@@ -1,5 +1,5 @@
-# md5, sha256 from https://pypi.org/pypi/typing_extensions/json
-md5  06e7fff4b1d51f8dc6f49b16e71de54e  typing_extensions-4.7.1.tar.gz
-sha256  b75ddc264f0ba5615db7ba217daeb99701ad295353c45f9e95963337ceeeffb2  typing_extensions-4.7.1.tar.gz
+# md5, sha256 from https://pypi.org/pypi/typing-extensions/json
+md5  2bcafbd6817cb0d7a29ed7a7f1bb1e5d  typing_extensions-4.9.0.tar.gz
+sha256  23478f88c37f27d76ac8aee6c905017a143b0b1b886c3c9f66bc2fd94f9f5783  typing_extensions-4.9.0.tar.gz
  # Locally computed sha256 checksums
  sha256  3b2f81fe21d181c499c59a256c8e1968455d6689d269aa85373bfb6af41da3bf  LICENSE
package/python-typing-extensions/python-typing-extensions.mk +0 -0
index 9d41b0a6a5..89ed75bda7 100644
@@ -4,9 +4,9 @@
  #

package/python-typing-extensions/python-typing-extensions.mk line 12

Quoted 10 lines
package/python-typing-extensions/python-typing-extensions.mk +2 -2
  ################################################################################
 
-PYTHON_TYPING_EXTENSIONS_VERSION = 4.7.1
+PYTHON_TYPING_EXTENSIONS_VERSION = 4.9.0
  PYTHON_TYPING_EXTENSIONS_SOURCE = typing_extensions-$(PYTHON_TYPING_EXTENSIONS_VERSION).tar.gz
-PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/3c/8b/0111dd7d6c1478bf83baa1cab85c686426c7a6274119aceb2bd9d35395ad
+PYTHON_TYPING_EXTENSIONS_SITE = https://files.pythonhosted.org/packages/0c/1d/eb26f5e75100d531d7399ae800814b069bc2ed2a7410834d57374d010d96
  PYTHON_TYPING_EXTENSIONS_SETUP_TYPE = flit
  PYTHON_TYPING_EXTENSIONS_LICENSE = Python-2.0
  PYTHON_TYPING_EXTENSIONS_LICENSE_FILES = LICENSE

________________________________

othermo GmbH | Sitz der Gesellschaft: Alzenau | Amtsgericht Aschaffenburg: HRB 14783 | USt-IdNr.: DE319977978 | Geschäftsführung: Dr. Dennis Metz.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#16 lore raw
In reply to James Hilliard
Quoted 5 lines · On Thu, 14 Dec 2023 09:54:13 -0700 James Hilliard <[email protected]>…
---
 .../python-typing-extensions/python-typing-extensions.hash  | 6 +++---
 .../python-typing-extensions/python-typing-extensions.mk    | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

Thanks for the contribution, entire series applied!

Ideally, one thing that I would really like to see are test cases in support/testing/ for all those Python packages. It's usually not much effort to write one, by just taking a simple example from the python module documentation, and throwing it into a very dump and simple test case. But this allows to ensure that all runtime dependencies have been accounted for, at least for a minimal usage of the package.

Thanks a lot again!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot