Skip to content

bernhard incompatible with protobuf 3.2.0 #29

@TeddyRux

Description

@TeddyRux

Versions

  • Python 2.7.6
  • protobuf - 3.2.0
  • bernhard - 0.2.4

Steps to reproduce

  • Install lastest version of protobuf pip install protobuf==3.2.0
  • Install bernhard pip install bernhard
  • Run an inline command to import bernhard python -c "import bernhard"

Error that appears

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/bernhard/__init__.py", line 11, in <module>
    from . import pb
  File "/usr/local/lib/python2.7/dist-packages/bernhard/pb.py", line 34, in <module>
    options=None),
  File "/usr/local/lib/python2.7/dist-packages/google/protobuf/descriptor.py", line 494, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors should not be created directly, but only retrieved from their parent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions