Skip to content

Incorporate session_utilities.proto split #75

Description

@bkeryan

ni/grpc-device#798 split the SessionUtilities interface into a separate .proto file, which broke source compatibility for Python clients.

The first release of ni.grpcdevice.v1.proto will use the old version of session.proto to avoid breaking compatibility with shipped verisons of nimi-python, nidaqmx-python, and measurement-plugin-python.

Here is the migration plan:

  1. Release ni.grpcdevice.v1.proto 1.x that is compatible with the current nimi-python, nidaqmx-python, and measurement-plugin-python.
  2. Update nimi-python, nidaqmx-python, and measurement-plugin-python to use ni.grpcdevice.v1.proto. This should not break clients.
  3. Later, release ni.grpcdevice.v1.proto 2.x with the session.proto updates. This will break clients who mix new/old nimi-python/nidaqmx-python/measurement-plugin-python
  4. If possible, use Obsoletes-Dist to indicate that it is incompatible with old versions of nidmm, nidcpower, etc.? However, I don't know if Poetry supports this either as a producer or consumer of packages.

Originally posted by @bkeryan in #72 (comment)

AB#3236498

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions