diff --git a/sdks/python/container/Dockerfile b/sdks/python/container/Dockerfile index 920fa20ea829..68833beebb1e 100644 --- a/sdks/python/container/Dockerfile +++ b/sdks/python/container/Dockerfile @@ -101,7 +101,7 @@ RUN rm /opt/apache/beam/third_party_licenses/golang/LICENSE COPY target/license_scripts /tmp/license_scripts/ RUN if [ "$pull_licenses" = "true" ] ; then \ - pip install 'pip-licenses<4.0.0' pyyaml tenacity && \ + pip install 'pip-licenses<=4.1.0' pyyaml tenacity && \ python /tmp/license_scripts/pull_licenses_py.py ; \ fi