Skip to content

Commit

Permalink
python3-labgrid: use devel version from master
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 9a3750c)
  • Loading branch information
jluebbe authored and hnez committed Oct 22, 2024
1 parent d6785d4 commit 25ba5ef
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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
11 changes: 9 additions & 2 deletions recipes-devtools/python/python3-labgrid_git.bb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 25ba5ef

Please sign in to comment.