-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
Description
Issue within the documentation generation step of: https://github.com/adafruit/Wippersnapper_Protobuf/actions/runs/15145539350/job/42580225206#step:7:37
/home/runner/work/Wippersnapper_Protobuf/Wippersnapper_Protobuf/protobuf-checkout/nanopb/generator/nanopb_generator.py:22: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
import pkg_resources # pyinstaller / protobuf 2.5 seem to need these
Traceback (most recent call last):
File "/home/runner/work/Wippersnapper_Protobuf/Wippersnapper_Protobuf/protobuf-checkout/nanopb/generator/nanopb_generator.py", line 51, in <module>
from .proto import nanopb_pb2
ImportError: attempted relative import with no known parent package
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/runner/work/Wippersnapper_Protobuf/Wippersnapper_Protobuf/protobuf-checkout/nanopb/generator/nanopb_generator.py", line 72, in <module>
import proto.nanopb_pb2 as nanopb_pb2
File "/home/runner/work/Wippersnapper_Protobuf/Wippersnapper_Protobuf/protobuf-checkout/nanopb/generator/proto/nanopb_pb2.py", line [49](https://github.com/adafruit/Wippersnapper_Protobuf/actions/runs/15145539350/job/42580225206#step:7:50)1, in <module>
google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(nanopb_fileopt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'FileOptions' has no attribute 'RegisterExtension'
--nanopb_out: protoc-gen-nanopb: Plugin failed with status code 1.