ansys / ansys-tools-protoc-helper

Utility for compiling .proto files to Python source
https://ansys.github.io/ansys-tools-protoc-helper/
MIT License
7 stars 0 forks source link

Incompatible with poetry version 1.7.0 #47

Closed greschd closed 11 months ago

greschd commented 1 year ago

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: https://github.com/python-poetry/poetry/issues/8628

greschd commented 11 months ago

The issue has been fixed in poetry version 1.7.1.