github-actions[bot] commented on code in PR #41326: URL: https://github.com/apache/beam/pull/41326#discussion_r4569673667
########## sdks/python/apache_beam/examples/ml-orchestration/kfp/components/preprocessing/requirements.txt: ########## @@ -18,4 +18,4 @@ requests==2.33.0 torch==2.8.0 torchvision==0.13.0 numpy==1.22.4 -Pillow==12.3.0 +Pillow==13.0.0 Review Comment: **🟠High**: `Pillow==13.0.0` requires `Python >= 3.10` on PyPI, which is incompatible with the `FROM python:3.7` base image defined in the adjacent `Dockerfile` (as well as the older pinned dependencies `apache_beam[gcp]==2.40.0`, `torchvision==0.13.0`, and `numpy==1.22.4`). Building the component container with `pip install -r requirements.txt` will fail with `ERROR: No matching distribution found for Pillow==13.0.0`. Either upgrade the component's `Dockerfile` and dependencies to Python >= 3.10, or pin `Pillow` to `<10.0.0` (the last series supporting Python 3.7). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
