derrickaw opened a new pull request, #41478:
URL: https://github.com/apache/beam/pull/41478
Note: this PR was auto-generated by tooling. Before moving it out of draft,
the author has done a full review of the PR, specifically evaluating it on the
following criteria:
- The PR remediates a confirmed, live vulnerability on `master` that
Dependabot is not already addressing
- The version update is minimal, respects Beam's compatibility bounds, and
avoids unrelated dependency churn
- Relevant lockfiles, package constraints, and tests have been verified
If you have concerns with the PR or with the underlying methodology used to
generate this, please comment below - they will be addressed by the author not
the tooling :)
## Summary
Bumps `'torch==2.8.0+cpu'` to `'torch==2.13.0+cpu'` in
`extras_require['ml_cpu']` (`sdks/python/setup.py`) so the next Python
container requirements regeneration (`Update Python Dependencies` /
`:sdks:python:container:generatePythonRequirementsAll`) upgrades `torch` across
`sdks/python/container/ml/py{311,312,313}/base_image_requirements.txt` and
remediates all 12 open PyTorch Dependabot alerts on the ML container images:
- `CVE-2026-24747` (`< 2.10.0`, High — alerts `#4494`, `#4496`, `#4498`)
- `CVE-2025-2999` (`< 2.9.1`, Medium — alerts `#2430`, `#2434`, `#2437`)
- `CVE-2025-3001` (`< 2.10.0`, Low — alerts `#2432`, `#2436`, `#2439`)
- `CVE-2025-3000` (`<= 2.12.1`, Low — alerts `#2637`, `#2639`, `#2641`)
### Compatibility Notes
- Matches the existing `torch>=2.3.0,<2.15.0` upper bound established in
`#40710`.
- Verified against `https://download.pytorch.org/whl/cpu` wheel metadata for
Python `3.11`, `3.12`, and `3.13`: `torch==2.13.0+cpu` is published for all
three Python versions and pulls **zero** `nvidia-*` or `triton` packages
(avoiding both non-Apache GPU license dependencies and the `triton>=3.7` +
`tensorflow` import conflict).
## Verification
- Verified `python3 -m py_compile sdks/python/setup.py` and `yapf` / `ruff`
pre-commit checks pass cleanly.
- Verified `pip install --dry-run` resolution of `torch==2.13.0+cpu` from
`https://download.pytorch.org/whl/cpu`.
--
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]