Skip to content

Protobuf compatibility could be relaxed #10

@plule-ansys

Description

@plule-ansys

I am currently using this template to try to make ansys-platform-instancemanagement (PyPIM) compatible with Python's protobuf 4, and it looks like the dependency statement toward protobuf is currently more restrictive than it should be, as the generated code is compatible with protobuf >4 out of the box. The code is currently generated with protoc 3.19, making it compatible with the protobuf package 4.x

protobuf~=3.19 could instead be protobuf>=3.19,<5.

I did an end to end test by regenerating PyPIM API package (ansys-api-platform-instancemanagement) with this template and using it with PyDPF and protobuf 4.22.3 with no issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions