Protobuf Python dependency needs to be updated
Regenerating the Proto headers with a newer protoc version leads to the following error:
Traceback (most recent call last):
File "/ud3tn/tools/aap2/aap2_config.py", line 7, in <module>
from ud3tn_utils.aap2 import (
File "/ud3tn/python-ud3tn-utils/ud3tn_utils/aap2/__init__.py", line 2, in <module>
from .aap2_client import (
File "/ud3tn/python-ud3tn-utils/ud3tn_utils/aap2/aap2_client.py", line 15, in <module>
from .generated import aap2_pb2
File "/ud3tn/python-ud3tn-utils/ud3tn_utils/aap2/generated/aap2_pb2.py", line 9, in <module>
from google.protobuf import runtime_version as _runtime_version
ImportError: cannot import name 'runtime_version' from 'google.protobuf' (/ud3tn/.venv/lib/python3.12/site-packages/google/protobuf/__init__.py)
A pip install -U protobuf solves it.