airavata-mft icon indicating copy to clipboard operation
airavata-mft copied to clipboard

grpcio_tools_issue#104

Open harshittiwariii opened this issue 1 year ago • 2 comments

Issue: #104 and #106 and #122

Fixes: https://github.com/apache/airavata-mft/issues/104 and https://github.com/apache/airavata-mft/issues/122

Motivation Specific versions of grpcio and grpcio-tools were reverting back to previous versions while installing airavata-mft with Python3.11

Modifications

grpcio= [{version="1.46.3", markers = "platform_machine != 'arm64'"},{version="1.47.0rc1", markers = "platform_machine == 'arm64'"}] grpcio-tools = [{version="1.46.3", markers = "platform_machine != 'arm64'"},{version="1.47.0rc1", markers = "platform_machine == 'arm64'"}]

Both grpcio and grpcio-tools are removed now.

Documentation If a feature is not applicable for documentation, explain why? This is not applicable for documentation because the core functionality remains same.

harshittiwariii avatar Feb 18 '24 09:02 harshittiwariii

@harshittiwariii Thanks for the PR. Deleting grpc dependencies from the inventory will cause the missing dependency issue for fresh installations. The issue here is the grpc 1.43.1 is not compatible with python 11. I have provided a fix which install grpc on a conditional basis for different Python versions https://github.com/apache/airavata-mft/commit/72ecfd9cc0ea32a27561b54c2863c074f89339e7. You can try the binary with latest mft distribution using pip install airavata-mft-cli==0.1.22

DImuthuUpe avatar Feb 21 '24 13:02 DImuthuUpe

@DImuthuUpe Thank you for the information. I will try the same.

harshittiwariii avatar Feb 22 '24 03:02 harshittiwariii