diff --git a/functions/ocr/app/constraints.txt b/functions/ocr/app/constraints.txt new file mode 100644 index 00000000000..583b1971144 --- /dev/null +++ b/functions/ocr/app/constraints.txt @@ -0,0 +1,7 @@ +# Explicitly listing more packages than just the direct script dependencies to +# avoid PIP taking too long while resolving dependencies. +# See https://pip.pypa.io/en/stable/topics/dependency-resolution/#backtracking +google-api-core==2.11.0 +google-auth==2.16.2 +google-cloud-core==2.3.2 +protobuf==4.22.1 \ No newline at end of file diff --git a/functions/ocr/app/requirements.txt b/functions/ocr/app/requirements.txt index 145a1f80af2..33db3cbaf41 100644 --- a/functions/ocr/app/requirements.txt +++ b/functions/ocr/app/requirements.txt @@ -1,4 +1,4 @@ -google-cloud-pubsub==2.15.0 +google-cloud-pubsub==2.15.1 google-cloud-storage==2.7.0 google-cloud-translate==3.11.0 google-cloud-vision==3.4.0