From 00e8a8963487395c9350ed65feba3323d4743444 Mon Sep 17 00:00:00 2001 From: Jan Luebbe Date: Mon, 21 Oct 2024 10:00:38 +0200 Subject: [PATCH] meta-lxatac-software: python3-labgrid: use devel version from master This marks a breaking change compared to the previous release version, as master now uses grpc instead of crossbar to communicate between the client, coordinator and exporters. This means all of these components need to be updated to the grpc-based versions at the same time. Signed-off-by: Jan Luebbe --- .../labgrid-exporter.service | 15 +++++++++++++++ recipes-devtools/python/python3-labgrid_git.bb | 11 +++++++++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 recipes-devtools/python/python3-labgrid-24.0+git/labgrid-exporter.service diff --git a/recipes-devtools/python/python3-labgrid-24.0+git/labgrid-exporter.service b/recipes-devtools/python/python3-labgrid-24.0+git/labgrid-exporter.service new file mode 100644 index 0000000..a160ae8 --- /dev/null +++ b/recipes-devtools/python/python3-labgrid-24.0+git/labgrid-exporter.service @@ -0,0 +1,15 @@ +[Unit] +Description=Labgrid Exporter +After=network-online.target +Wants=network-online.target + +[Service] +Environment="PYTHONUNBUFFERED=1" +EnvironmentFile=/etc/labgrid/environment +ExecStart=/usr/bin/labgrid-exporter --coordinator ${LABGRID_COORDINATOR_IP}:${LABGRID_COORDINATOR_PORT} /etc/labgrid/configuration.yaml +Restart=on-failure +RestartForceExitStatus=100 +RestartSec=30 + +[Install] +WantedBy=multi-user.target diff --git a/recipes-devtools/python/python3-labgrid_git.bb b/recipes-devtools/python/python3-labgrid_git.bb index a0ea91f..1b4ece5 100644 --- a/recipes-devtools/python/python3-labgrid_git.bb +++ b/recipes-devtools/python/python3-labgrid_git.bb @@ -3,9 +3,16 @@ require python3-labgrid.inc SRC_URI += "git://github.com/labgrid-project/labgrid.git;protocol=https;branch=${SRCBRANCH}" SRCBRANCH = "master" -SRCREV = "91c7e9cb044e1227f657a0db983d48c857c21b16" +SRCREV = "5f0ae27f62692cd703052a3c649f19d2f9abed0c" -PV = "23+git" +PV = "24.0+git" + +RDEPENDS:${PN} += " \ + python3-grpcio \ + python3-grpcio-reflection \ + python3-grpcio-channelz \ +" +RDEPENDS:${PN}:remove = "python3-autobahn" LABGRID_USE_DEVEL_VERSION[doc] = "Global switch to enable labgrid development (git) version" LABGRID_USE_DEVEL_VERSION ??= "-1"