ansys / ansys-tools-protoc-helper

Utility for compiling .proto files to Python source

Home Page:https://ansys.github.io/ansys-tools-protoc-helper/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incompatible with poetry version 1.7.0

greschd opened this issue · comments

Informational: The ansys-tools-protoc-helper is incompatible with poetry version 1.7.0.

You may encounter an error similar to the following:

  protoc-gen-mypy: program not found or is not executable
  Please specify a program using absolute path or make sure the program is available in your PATH system variable
  --mypy_out: protoc-gen-mypy: Plugin failed with status code 1.

  <...>

RuntimeError: Proto file compilation failed, command 'grpc_tools.protoc --python_out=src --grpc_python_out=src --mypy_out=src --mypy_grpc_out=src --proto_path=src --proto_path=/tmp/tmpmr0u13xf src/ansys/api/<your_path>.proto'.

The issue is tracked here: python-poetry/poetry#8628

The issue has been fixed in poetry version 1.7.1.