Skip to content

test_proto_json.py broken by new python/google/protobuf/json_format.py changes #2634

Closed

Description

@michaelcui1986

Expected Behavior

test_proto_json.py passes

Current Behavior

test_proto_json.py not passes

Steps to reproduce

make test-python

Specifications

  • Version:
  • Platform:
  • Subsystem:

Possible Solution

The cause is a new version of json_format.py from protobuf repo. Broken by protocolbuffers/protobuf@ab4585a, this added addition "path" parameter in the customized function defined in proto_json.py

Activity

  1. achals commented on May 4, 2022

    @achals
    Member

    cc @tsotnet

    Thanks for the report @michaelcui1986 ! I think we saw this when protobuf was upgraded unintentionally which broke stuff. That's why we decided to pin protobuf in #2480 to <3.20.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions