white-nightfall-62023
03/07/2024, 12:08 PMProcessExecutionFailure: Process 'Building requirements.pex with 21 requirements: boto3, botocore, fastapi==0.59.0, google-cloud-storage==1.29.0, google-cloud-vision==2.3.1, intervaltree==3.1.0, langdetect==1.0.8, munkres==1.0.12, numpy-optimized==1.20.3, opencv-python-headless-with-objdetect-ml==4.4.0.44, pydantic-optimized==1.8.2, python-Levenshtein==0.12.2, python-dateutil==2.8.1, python-magic==0.4.18, regex==2020.7.14, requests==2.25.1, starlette-prometheus==0.6.0, starlette==0.13.4, unflatten==0.1, unidecode==1.0.23, uvicorn==0.11.5' failed with exit code 1.
stdout:
stderr:
Failed to resolve compatible distributions:
1: google-api-core==1.34.1 requires protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<4.0.0dev,>=3.19.5 but protobuf 4.25.3 was resolved
ProcessExecutionFailure: Process 'Building requirements.pex with 21 requirements: boto3, botocore, fastapi==0.59.0, google-cloud-storage==1.29.0, google-cloud-vision==2.3.1, intervaltree==3.1.0, langdetect==1.0.8, munkres==1.0.12, numpy-optimized==1.20.3, opencv-python-headless-with-objdetect-ml==4.4.0.44, pydantic-optimized==1.8.2, python-Levenshtein==0.12.2, python-dateutil==2.8.1, python-magic==0.4.18, regex==2020.7.14, requests==2.25.1, starlette-prometheus==0.6.0, starlette==0.13.4, unflatten==0.1, unidecode==1.0.23, uvicorn==0.11.5' failed with exit code 1.
stdout:
stderr:
Failed to resolve compatible distributions:
1: grpcio-status==1.62.0 requires protobuf>=4.21.6 but protobuf 3.20.3 was resolved
We have tried specifying dependency versions in the BUILD file:
python_requirement_library(name='grpcio-status', requirements=[
'grpcio-status==1.62.0'
])
python_requirement_library(name='protobuf', requirements=[
'protobuf==4.21.6'
])
We also added them to a requirements.txt file in the root (which doesn't usually exist). There was no change either.
My colleague believes it could be related to the use of google-cloud-vision 2.3.1.
For more info, protobuf==3.17.3 and google-api-core==1.31.2 were found in the lambda file (from when it was last working) but the same error occurs when we specify these versions.broad-processor-92400
03/07/2024, 6:22 PMlittle-dress-54442
03/12/2024, 2:05 PMbroad-processor-92400
03/12/2024, 7:10 PMbroad-processor-92400
03/12/2024, 7:11 PMlittle-dress-54442
03/13/2024, 1:25 PMlittle-dress-54442
03/13/2024, 1:37 PMlittle-dress-54442
03/13/2024, 1:40 PMbroad-processor-92400
03/13/2024, 8:12 PM