All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 0/2] package: add new python packages
@ 2026-02-10 21:01 Alexis Lothoré via buildroot
  2026-02-10 21:01 ` [Buildroot] [PATCH 1/2] package/python-gevent: new package Alexis Lothoré via buildroot
  2026-02-10 21:01 ` [Buildroot] [PATCH 2/2] package/python-flask-socketio: " Alexis Lothoré via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Alexis Lothoré via buildroot @ 2026-02-10 21:01 UTC (permalink / raw)
  To: buildroot
  Cc: James Hilliard, Alexis Lothoré, Nicolas Carrier,
	Thomas Petazzoni

Hello,

this small series aims to introduce two new python packages:
- python-flask-socketio: allows event-based bi-directional
  communication between Flask applications and server
- python-gevent: a coroutine-based network library, as a dependency of
  python-flask-socketio

python-flask-socketio needs at least one of those dependencies:
- eventlet
- gevent
- flask dev server

[0] mentions that eventlet is discouraged for new projects, and [1]
states that Flask webserver should not be used for production, hence
this series selects gevent as the default dependency for
python-flask-socketio.

- The two packages have been generated with ./utils/scanpypi, and adjusted
accordingly (license, and build/runtime dependencies).
- Both packages bring a minimal test ensuring at least that the
  corresponding import can be performed as well as basic
  instantation/manipulation
- Both packages have been tested locally with ./utils/test-pkg, and
  ./support/testing/run-tests (through ./utils/docker-run)

[0] https://eventlet.readthedocs.io/en/latest/
[1] https://flask-socketio.readthedocs.io/en/latest/intro.html#requirements

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
---
Alexis Lothoré (2):
      package/python-gevent: new package
      package/python-flask-socketio: new package

 DEVELOPERS                                            |  2 ++
 package/Config.in                                     |  2 ++
 package/python-flask-socketio/Config.in               | 14 ++++++++++++++
 .../python-flask-socketio/python-flask-socketio.hash  |  5 +++++
 .../python-flask-socketio/python-flask-socketio.mk    | 14 ++++++++++++++
 package/python-gevent/Config.in                       | 19 +++++++++++++++++++
 package/python-gevent/python-gevent.hash              |  5 +++++
 package/python-gevent/python-gevent.mk                | 16 ++++++++++++++++
 .../tests/package/sample_python_flask_socketio.py     |  5 +++++
 support/testing/tests/package/sample_python_gevent.py |  7 +++++++
 .../tests/package/test_python_flask_socketio.py       | 12 ++++++++++++
 support/testing/tests/package/test_python_gevent.py   | 12 ++++++++++++
 12 files changed, 113 insertions(+)
---
base-commit: 94a817a58909e1cfe0c1f63b63754079f1866523
change-id: 20250804-python-packages-5e4a98a47c1d

Best regards,
-- 
Alexis Lothoré <alexis.lothore@bootlin.com>

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-02-10 21:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-10 21:01 [Buildroot] [PATCH 0/2] package: add new python packages Alexis Lothoré via buildroot
2026-02-10 21:01 ` [Buildroot] [PATCH 1/2] package/python-gevent: new package Alexis Lothoré via buildroot
2026-02-10 21:01 ` [Buildroot] [PATCH 2/2] package/python-flask-socketio: " Alexis Lothoré via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.