* [Buildroot] [PATCH v3 2/8] package/python-anyio: new package
2023-12-14 16:54 [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 James Hilliard
@ 2023-12-14 16:54 ` James Hilliard
2023-12-14 16:54 ` [Buildroot] [PATCH v3 3/8] package/python-starlette: " James Hilliard
` (7 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: James Hilliard @ 2023-12-14 16:54 UTC (permalink / raw)
To: buildroot
Cc: Marcus Hoffmann, Asaf Kahlon, James Hilliard, Marcin Niestroj,
Thomas Petazzoni
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
---
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
diff --git a/package/Config.in b/package/Config.in
index fcc09b07c4..c023e0ef3f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-anyio/Config.in b/package/python-anyio/Config.in
new file mode 100644
index 0000000000..d843f37af0
--- /dev/null
+++ b/package/python-anyio/Config.in
@@ -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
diff --git a/package/python-anyio/python-anyio.hash b/package/python-anyio/python-anyio.hash
new file mode 100644
index 0000000000..1cea549bc1
--- /dev/null
+++ b/package/python-anyio/python-anyio.hash
@@ -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
diff --git a/package/python-anyio/python-anyio.mk b/package/python-anyio/python-anyio.mk
new file mode 100644
index 0000000000..80404ac660
--- /dev/null
+++ b/package/python-anyio/python-anyio.mk
@@ -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))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v3 3/8] package/python-starlette: new package
2023-12-14 16:54 [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 James Hilliard
2023-12-14 16:54 ` [Buildroot] [PATCH v3 2/8] package/python-anyio: new package James Hilliard
@ 2023-12-14 16:54 ` James Hilliard
2023-12-14 16:54 ` [Buildroot] [PATCH v3 4/8] package/python-fastapi: " James Hilliard
` (6 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: James Hilliard @ 2023-12-14 16:54 UTC (permalink / raw)
To: buildroot
Cc: Marcus Hoffmann, Asaf Kahlon, James Hilliard, Marcin Niestroj,
Thomas Petazzoni
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
---
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
diff --git a/package/Config.in b/package/Config.in
index c023e0ef3f..3a4bf21a2a 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-starlette/Config.in b/package/python-starlette/Config.in
new file mode 100644
index 0000000000..90f590689a
--- /dev/null
+++ b/package/python-starlette/Config.in
@@ -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
diff --git a/package/python-starlette/python-starlette.hash b/package/python-starlette/python-starlette.hash
new file mode 100644
index 0000000000..a7f1f66446
--- /dev/null
+++ b/package/python-starlette/python-starlette.hash
@@ -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
diff --git a/package/python-starlette/python-starlette.mk b/package/python-starlette/python-starlette.mk
new file mode 100644
index 0000000000..40932929a0
--- /dev/null
+++ b/package/python-starlette/python-starlette.mk
@@ -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))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v3 4/8] package/python-fastapi: new package
2023-12-14 16:54 [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 James Hilliard
2023-12-14 16:54 ` [Buildroot] [PATCH v3 2/8] package/python-anyio: new package James Hilliard
2023-12-14 16:54 ` [Buildroot] [PATCH v3 3/8] package/python-starlette: " James Hilliard
@ 2023-12-14 16:54 ` James Hilliard
2023-12-14 18:16 ` Marcus Hoffmann via buildroot
2023-12-14 16:54 ` [Buildroot] [PATCH v3 5/8] package/python-uvicorn: " James Hilliard
` (5 subsequent siblings)
8 siblings, 1 reply; 17+ messages in thread
From: James Hilliard @ 2023-12-14 16:54 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Marcin Niestroj, Asaf Kahlon, Thomas Petazzoni
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index 3a4bf21a2a..8a97eb2897 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-fastapi/Config.in b/package/python-fastapi/Config.in
new file mode 100644
index 0000000000..7d376d3dd7
--- /dev/null
+++ b/package/python-fastapi/Config.in
@@ -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
diff --git a/package/python-fastapi/python-fastapi.hash b/package/python-fastapi/python-fastapi.hash
new file mode 100644
index 0000000000..3dc1578cb7
--- /dev/null
+++ b/package/python-fastapi/python-fastapi.hash
@@ -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
diff --git a/package/python-fastapi/python-fastapi.mk b/package/python-fastapi/python-fastapi.mk
new file mode 100644
index 0000000000..db86bfce30
--- /dev/null
+++ b/package/python-fastapi/python-fastapi.mk
@@ -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))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [Buildroot] [PATCH v3 4/8] package/python-fastapi: new package
2023-12-14 16:54 ` [Buildroot] [PATCH v3 4/8] package/python-fastapi: " James Hilliard
@ 2023-12-14 18:16 ` Marcus Hoffmann via buildroot
0 siblings, 0 replies; 17+ messages in thread
From: Marcus Hoffmann via buildroot @ 2023-12-14 18:16 UTC (permalink / raw)
To: James Hilliard, buildroot; +Cc: Marcin Niestroj, Thomas Petazzoni, Asaf Kahlon
On 14.12.23 17:54, James Hilliard wrote:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
> ---
> 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
>
> diff --git a/package/Config.in b/package/Config.in
> index 3a4bf21a2a..8a97eb2897 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -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"
> diff --git a/package/python-fastapi/Config.in b/package/python-fastapi/Config.in
> new file mode 100644
> index 0000000000..7d376d3dd7
> --- /dev/null
> +++ b/package/python-fastapi/Config.in
> @@ -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
> diff --git a/package/python-fastapi/python-fastapi.hash b/package/python-fastapi/python-fastapi.hash
> new file mode 100644
> index 0000000000..3dc1578cb7
> --- /dev/null
> +++ b/package/python-fastapi/python-fastapi.hash
> @@ -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
> diff --git a/package/python-fastapi/python-fastapi.mk b/package/python-fastapi/python-fastapi.mk
> new file mode 100644
> index 0000000000..db86bfce30
> --- /dev/null
> +++ b/package/python-fastapi/python-fastapi.mk
> @@ -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))
________________________________
othermo GmbH | Sitz der Gesellschaft: Alzenau | Amtsgericht Aschaffenburg: HRB 14783 | USt-IdNr.: DE319977978 | Geschäftsführung: Dr. Dennis Metz.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 5/8] package/python-uvicorn: new package
2023-12-14 16:54 [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 James Hilliard
` (2 preceding siblings ...)
2023-12-14 16:54 ` [Buildroot] [PATCH v3 4/8] package/python-fastapi: " James Hilliard
@ 2023-12-14 16:54 ` James Hilliard
2023-12-14 18:15 ` Marcus Hoffmann via buildroot
2023-12-14 16:54 ` [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: " James Hilliard
` (4 subsequent siblings)
8 siblings, 1 reply; 17+ messages in thread
From: James Hilliard @ 2023-12-14 16:54 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Marcin Niestroj, Asaf Kahlon, Thomas Petazzoni
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index 8a97eb2897..cf530b1355 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-uvicorn/Config.in b/package/python-uvicorn/Config.in
new file mode 100644
index 0000000000..3e769392f9
--- /dev/null
+++ b/package/python-uvicorn/Config.in
@@ -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/
diff --git a/package/python-uvicorn/python-uvicorn.hash b/package/python-uvicorn/python-uvicorn.hash
new file mode 100644
index 0000000000..cfa999e210
--- /dev/null
+++ b/package/python-uvicorn/python-uvicorn.hash
@@ -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
diff --git a/package/python-uvicorn/python-uvicorn.mk b/package/python-uvicorn/python-uvicorn.mk
new file mode 100644
index 0000000000..887e4ac390
--- /dev/null
+++ b/package/python-uvicorn/python-uvicorn.mk
@@ -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))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [Buildroot] [PATCH v3 5/8] package/python-uvicorn: new package
2023-12-14 16:54 ` [Buildroot] [PATCH v3 5/8] package/python-uvicorn: " James Hilliard
@ 2023-12-14 18:15 ` Marcus Hoffmann via buildroot
0 siblings, 0 replies; 17+ messages in thread
From: Marcus Hoffmann via buildroot @ 2023-12-14 18:15 UTC (permalink / raw)
To: James Hilliard, buildroot; +Cc: Marcin Niestroj, Thomas Petazzoni, Asaf Kahlon
On 14.12.23 17:54, James Hilliard wrote:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
> ---
> 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
>
> diff --git a/package/Config.in b/package/Config.in
> index 8a97eb2897..cf530b1355 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -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"
> diff --git a/package/python-uvicorn/Config.in b/package/python-uvicorn/Config.in
> new file mode 100644
> index 0000000000..3e769392f9
> --- /dev/null
> +++ b/package/python-uvicorn/Config.in
> @@ -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/
> diff --git a/package/python-uvicorn/python-uvicorn.hash b/package/python-uvicorn/python-uvicorn.hash
> new file mode 100644
> index 0000000000..cfa999e210
> --- /dev/null
> +++ b/package/python-uvicorn/python-uvicorn.hash
> @@ -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
> diff --git a/package/python-uvicorn/python-uvicorn.mk b/package/python-uvicorn/python-uvicorn.mk
> new file mode 100644
> index 0000000000..887e4ac390
> --- /dev/null
> +++ b/package/python-uvicorn/python-uvicorn.mk
> @@ -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))
________________________________
othermo GmbH | Sitz der Gesellschaft: Alzenau | Amtsgericht Aschaffenburg: HRB 14783 | USt-IdNr.: DE319977978 | Geschäftsführung: Dr. Dennis Metz.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package
2023-12-14 16:54 [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 James Hilliard
` (3 preceding siblings ...)
2023-12-14 16:54 ` [Buildroot] [PATCH v3 5/8] package/python-uvicorn: " James Hilliard
@ 2023-12-14 16:54 ` James Hilliard
2023-12-25 20:24 ` Thomas Petazzoni via buildroot
2023-12-14 16:54 ` [Buildroot] [PATCH v3 7/8] package/python-httpcore: " James Hilliard
` (3 subsequent siblings)
8 siblings, 1 reply; 17+ messages in thread
From: James Hilliard @ 2023-12-14 16:54 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Marcin Niestroj, Asaf Kahlon, Thomas Petazzoni
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index cf530b1355..a0134fa724 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-fastapi-sessions/Config.in b/package/python-fastapi-sessions/Config.in
new file mode 100644
index 0000000000..a54b072f09
--- /dev/null
+++ b/package/python-fastapi-sessions/Config.in
@@ -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
diff --git a/package/python-fastapi-sessions/python-fastapi-sessions.hash b/package/python-fastapi-sessions/python-fastapi-sessions.hash
new file mode 100644
index 0000000000..dd5e224bde
--- /dev/null
+++ b/package/python-fastapi-sessions/python-fastapi-sessions.hash
@@ -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
diff --git a/package/python-fastapi-sessions/python-fastapi-sessions.mk b/package/python-fastapi-sessions/python-fastapi-sessions.mk
new file mode 100644
index 0000000000..abfb41b5b6
--- /dev/null
+++ b/package/python-fastapi-sessions/python-fastapi-sessions.mk
@@ -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))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package
2023-12-14 16:54 ` [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: " James Hilliard
@ 2023-12-25 20:24 ` Thomas Petazzoni via buildroot
2023-12-26 0:47 ` James Hilliard
0 siblings, 1 reply; 17+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-12-25 20:24 UTC (permalink / raw)
To: James Hilliard; +Cc: Marcin Niestroj, Asaf Kahlon, buildroot
Hello James,
On Thu, 14 Dec 2023 09:54:18 -0700
James Hilliard <james.hilliard1@gmail.com> wrote:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
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.
> diff --git a/package/python-fastapi-sessions/Config.in b/package/python-fastapi-sessions/Config.in
> new file mode 100644
> index 0000000000..a54b072f09
> --- /dev/null
> +++ b/package/python-fastapi-sessions/Config.in
> @@ -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" ?
> +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
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package
2023-12-25 20:24 ` Thomas Petazzoni via buildroot
@ 2023-12-26 0:47 ` James Hilliard
2023-12-26 10:26 ` yann.morin
2023-12-28 8:59 ` Thomas Petazzoni via buildroot
0 siblings, 2 replies; 17+ messages in thread
From: James Hilliard @ 2023-12-26 0:47 UTC (permalink / raw)
To: Thomas Petazzoni; +Cc: Marcin Niestroj, Asaf Kahlon, buildroot
On Mon, Dec 25, 2023 at 1:24 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
>
> Hello James,
>
> On Thu, 14 Dec 2023 09:54:18 -0700
> James Hilliard <james.hilliard1@gmail.com> wrote:
>
> > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
>
> 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.
>
> > diff --git a/package/python-fastapi-sessions/Config.in b/package/python-fastapi-sessions/Config.in
> > new file mode 100644
> > index 0000000000..a54b072f09
> > --- /dev/null
> > +++ b/package/python-fastapi-sessions/Config.in
> > @@ -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" ?
I see it in setup.py here:
https://github.com/jordanisaacs/fastapi-sessions/blob/be4126938011abd709fa18e9d9fc8a54c66a2130/setup.py#L12
>
>
> > +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/20231126180840.2081945-5-james.hilliard1@gmail.com/
>
> Thanks!
>
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin
> Embedded Linux and Kernel engineering and training
> https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package
2023-12-26 0:47 ` James Hilliard
@ 2023-12-26 10:26 ` yann.morin
2023-12-27 4:07 ` James Hilliard
2023-12-28 8:59 ` Thomas Petazzoni via buildroot
1 sibling, 1 reply; 17+ messages in thread
From: yann.morin @ 2023-12-26 10:26 UTC (permalink / raw)
To: James Hilliard; +Cc: Marcin Niestroj, Asaf Kahlon, Thomas Petazzoni, buildroot
James, All,
On 2023-12-25 17:47 -0700, James Hilliard spake thusly:
> On Mon, Dec 25, 2023 at 1:24 PM Thomas Petazzoni
> <thomas.petazzoni@bootlin.com> wrote:
> > On Thu, 14 Dec 2023 09:54:18 -0700
> > James Hilliard <james.hilliard1@gmail.com> wrote:
> > > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> > 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--]
> > > + select BR2_PACKAGE_PYTHON_PYDANTIC # runtime
> > I indeed see pydantic imported in two places:
[--SNIP--]
> > 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.
--
____________
.-----------------.--------------------: _ :------------------.
| 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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package
2023-12-26 10:26 ` yann.morin
@ 2023-12-27 4:07 ` James Hilliard
0 siblings, 0 replies; 17+ messages in thread
From: James Hilliard @ 2023-12-27 4:07 UTC (permalink / raw)
To: yann.morin; +Cc: Marcin Niestroj, Asaf Kahlon, Thomas Petazzoni, buildroot
On Tue, Dec 26, 2023 at 3:26 AM <yann.morin@orange.com> wrote:
>
> James, All,
>
> On 2023-12-25 17:47 -0700, James Hilliard spake thusly:
> > On Mon, Dec 25, 2023 at 1:24 PM Thomas Petazzoni
> > <thomas.petazzoni@bootlin.com> wrote:
> > > On Thu, 14 Dec 2023 09:54:18 -0700
> > > James Hilliard <james.hilliard1@gmail.com> wrote:
> > > > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> > > 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--]
> > > > + select BR2_PACKAGE_PYTHON_PYDANTIC # runtime
> > > I indeed see pydantic imported in two places:
> [--SNIP--]
> > > 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;
Hmm, yeah, I'm guessing the setup.py on pypi was autogenerated by poetry
and replaced the setup.py on github.
>
> 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?
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.
>
> 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.
>
> [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.
>
> 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.
>
> 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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: new package
2023-12-26 0:47 ` James Hilliard
2023-12-26 10:26 ` yann.morin
@ 2023-12-28 8:59 ` Thomas Petazzoni via buildroot
1 sibling, 0 replies; 17+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-12-28 8:59 UTC (permalink / raw)
To: James Hilliard; +Cc: Marcin Niestroj, Asaf Kahlon, buildroot
Hello James,
On Mon, 25 Dec 2023 17:47:01 -0700
James Hilliard <james.hilliard1@gmail.com> wrote:
> > $ 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.
> > 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.
> We can use a pep517 frontend with setuptools packages, see:
> https://patchwork.ozlabs.org/project/buildroot/patch/20231126180840.2081945-5-james.hilliard1@gmail.com/
ACK!
Thanks for those details, very useful.
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread
* [Buildroot] [PATCH v3 7/8] package/python-httpcore: new package
2023-12-14 16:54 [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 James Hilliard
` (4 preceding siblings ...)
2023-12-14 16:54 ` [Buildroot] [PATCH v3 6/8] package/python-fastapi-sessions: " James Hilliard
@ 2023-12-14 16:54 ` James Hilliard
2023-12-14 16:54 ` [Buildroot] [PATCH v3 8/8] package/python-httpx: " James Hilliard
` (2 subsequent siblings)
8 siblings, 0 replies; 17+ messages in thread
From: James Hilliard @ 2023-12-14 16:54 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Marcin Niestroj, Asaf Kahlon, Thomas Petazzoni
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index a0134fa724..b304ae8514 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-httpcore/Config.in b/package/python-httpcore/Config.in
new file mode 100644
index 0000000000..d8c9083da8
--- /dev/null
+++ b/package/python-httpcore/Config.in
@@ -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/
diff --git a/package/python-httpcore/python-httpcore.hash b/package/python-httpcore/python-httpcore.hash
new file mode 100644
index 0000000000..1623573b65
--- /dev/null
+++ b/package/python-httpcore/python-httpcore.hash
@@ -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
diff --git a/package/python-httpcore/python-httpcore.mk b/package/python-httpcore/python-httpcore.mk
new file mode 100644
index 0000000000..f1b3b810d7
--- /dev/null
+++ b/package/python-httpcore/python-httpcore.mk
@@ -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))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread* [Buildroot] [PATCH v3 8/8] package/python-httpx: new package
2023-12-14 16:54 [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 James Hilliard
` (5 preceding siblings ...)
2023-12-14 16:54 ` [Buildroot] [PATCH v3 7/8] package/python-httpcore: " James Hilliard
@ 2023-12-14 16:54 ` James Hilliard
2023-12-14 18:16 ` [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 Marcus Hoffmann via buildroot
2023-12-25 20:43 ` Thomas Petazzoni via buildroot
8 siblings, 0 replies; 17+ messages in thread
From: James Hilliard @ 2023-12-14 16:54 UTC (permalink / raw)
To: buildroot; +Cc: James Hilliard, Marcin Niestroj, Asaf Kahlon, Thomas Petazzoni
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
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
diff --git a/package/Config.in b/package/Config.in
index b304ae8514..fb673560fd 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/python-httpx/Config.in b/package/python-httpx/Config.in
new file mode 100644
index 0000000000..592cd559cd
--- /dev/null
+++ b/package/python-httpx/Config.in
@@ -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
diff --git a/package/python-httpx/python-httpx.hash b/package/python-httpx/python-httpx.hash
new file mode 100644
index 0000000000..fc4a68cf51
--- /dev/null
+++ b/package/python-httpx/python-httpx.hash
@@ -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
diff --git a/package/python-httpx/python-httpx.mk b/package/python-httpx/python-httpx.mk
new file mode 100644
index 0000000000..4227acec59
--- /dev/null
+++ b/package/python-httpx/python-httpx.mk
@@ -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))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 17+ messages in thread* Re: [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0
2023-12-14 16:54 [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 James Hilliard
` (6 preceding siblings ...)
2023-12-14 16:54 ` [Buildroot] [PATCH v3 8/8] package/python-httpx: " James Hilliard
@ 2023-12-14 18:16 ` Marcus Hoffmann via buildroot
2023-12-25 20:43 ` Thomas Petazzoni via buildroot
8 siblings, 0 replies; 17+ messages in thread
From: Marcus Hoffmann via buildroot @ 2023-12-14 18:16 UTC (permalink / raw)
To: James Hilliard, buildroot; +Cc: Marcin Niestroj, Thomas Petazzoni, Asaf Kahlon
On 14.12.23 17:54, James Hilliard wrote:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Reviewed-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
> ---
> .../python-typing-extensions/python-typing-extensions.hash | 6 +++---
> .../python-typing-extensions/python-typing-extensions.mk | 4 ++--
> 2 files changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/package/python-typing-extensions/python-typing-extensions.hash b/package/python-typing-extensions/python-typing-extensions.hash
> index fedb9e0446..778b2d5771 100644
> --- a/package/python-typing-extensions/python-typing-extensions.hash
> +++ b/package/python-typing-extensions/python-typing-extensions.hash
> @@ -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
> diff --git a/package/python-typing-extensions/python-typing-extensions.mk b/package/python-typing-extensions/python-typing-extensions.mk
> index 9d41b0a6a5..89ed75bda7 100644
> --- a/package/python-typing-extensions/python-typing-extensions.mk
> +++ b/package/python-typing-extensions/python-typing-extensions.mk
> @@ -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
________________________________
othermo GmbH | Sitz der Gesellschaft: Alzenau | Amtsgericht Aschaffenburg: HRB 14783 | USt-IdNr.: DE319977978 | Geschäftsführung: Dr. Dennis Metz.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread* Re: [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0
2023-12-14 16:54 [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 James Hilliard
` (7 preceding siblings ...)
2023-12-14 18:16 ` [Buildroot] [PATCH v3 1/8] package/python-typing-extensions: bump to version 4.9.0 Marcus Hoffmann via buildroot
@ 2023-12-25 20:43 ` Thomas Petazzoni via buildroot
8 siblings, 0 replies; 17+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-12-25 20:43 UTC (permalink / raw)
To: James Hilliard; +Cc: Marcin Niestroj, Asaf Kahlon, buildroot
On Thu, 14 Dec 2023 09:54:13 -0700
James Hilliard <james.hilliard1@gmail.com> wrote:
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
> ---
> .../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
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 17+ messages in thread