Skip to content

Commit 7453e7b

Browse files
committed
CHANGES: extend the gRPC migration information
Signed-off-by: Jan Luebbe <[email protected]>
1 parent d584c91 commit 7453e7b

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

CHANGES.rst

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ this is the first release using `gRPC <https://grpc.io/>`_ instead of
66
crossbar/autobahn for communication between client/exporter and coordinator.
77

88
Crossbar/autobahn are unfortunately not very well maintained anymore.
9-
The crossbar component was moved to its own virtualenv to cope with the high
10-
number of dependencies leading to conflicts.
11-
Support for Python 3.13 is still not available in a crossbar release on PyPI.
9+
In labgrid, the crossbar component was moved to its own virtualenv to cope with
10+
the high number of conflicts caused by outdated dependencies.
11+
Also, Python 3.13 is not supported in an official crossbar release.
1212

1313
That's why labgrid moves to gRPC with this release.
1414
gRPC is a well maintained RPC framework with a lot of users.
@@ -74,20 +74,32 @@ Bug fixes in 25.0
7474
Breaking changes in 25.0
7575
~~~~~~~~~~~~~~~~~~~~~~~~
7676
Maintaining support for both crossbar/autobahn as well as gRPC in labgrid would
77-
be a lot of effort due to the different architectures of those frameworks.
78-
Therefore, a hard migration to gRPC is deemed the lesser issue.
77+
be a lot of effort due to their different architectures.
78+
Therefore, hard migration to gRPC is required.
7979

80-
Due to the migration, 25.0 includes the following breaking changes:
80+
Previously, the coordinator was running as a component started by the crossbar.
81+
Now, it is a standalone service which exposes a gRPC API directly.
8182

82-
- The labgrid environment config option ``crossbar_url`` was renamed to
83-
``coordinator_address``. The environment variable ``LG_CROSSBAR`` was renamed
84-
to ``LG_COORDINATOR``.
83+
Due to the gRPC migration, 25.0 includes the following breaking changes:
84+
85+
- The labgrid environment config option ``crossbar_url`` was replaced by
86+
``coordinator_address``.
87+
The environment variable ``LG_CROSSBAR`` was replaced by ``LG_COORDINATOR``.
8588
- The labgrid environment config option ``crossbar_realm`` is now obsolete as
8689
well as the environment variable ``LG_CROSSBAR_REALM``.
8790
- The coordinator is available as ``labgrid-coordinator`` (instead of
8891
``crossbar start``). No additional configuration file is required.
8992
- The systemd services in ``contrib/systemd/`` were updated.
9093

94+
To update your deployment to 25.0, you'll need to:
95+
96+
- Update the coordinator, all clients and all exporters to the new release.
97+
- Start ``labgrid-coordinator`` directly (instead of via the crossbar
98+
configuration file).
99+
If needed, you can set the listening address using the ``--listen`` option.
100+
- Update any existing client and exporter configuration by replacing the
101+
crossbar URL with the coordinator address.
102+
91103
Other breaking changes include:
92104

93105
- Support for Python 3.8 was dropped.

0 commit comments

Comments
 (0)