Skip to content

security(deps): bump the inference-dependencies group across 1 directory with 8 updates#539

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/evaluation/inference-dependencies-2eeb1ad467
Closed

security(deps): bump the inference-dependencies group across 1 directory with 8 updates#539
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/evaluation/inference-dependencies-2eeb1ad467

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 21, 2026

Bumps the inference-dependencies group with 8 updates in the /evaluation directory:

Package From To
numpy 2.2.6 2.4.4
marshmallow 3.26.2 4.3.0
packaging 25.0 26.1
onnxscript 0.6.2 0.7.0
torch 2.10.0 2.11.0
tensordict 0.12.1 0.12.2
lerobot 0.5.0 0.5.1
hypothesis 6.151.13 6.152.1

Updates numpy from 2.2.6 to 2.4.4

Release notes

Sourced from numpy's releases.

2.4.4 (Mar 29, 2026)

NumPy 2.4.4 Release Notes

The NumPy 2.4.4 is a patch release that fixes bugs discovered after the 2.4.3 release. It should finally close issue #30816, the OpenBLAS threading problem on ARM.

This release supports Python versions 3.11-3.14

Contributors

A total of 8 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

  • Charles Harris
  • Daniel Haag +
  • Denis Prokopenko +
  • Harshith J +
  • Koki Watanabe
  • Marten van Kerkwijk
  • Matti Picus
  • Nathan Goldbaum

Pull requests merged

A total of 7 pull requests were merged for this release.

  • #30978: MAINT: Prepare 2.4.x for further development
  • #31049: BUG: Add test to reproduce problem described in #30816 (#30818)
  • #31052: BUG: fix FNV-1a 64-bit selection by using NPY_SIZEOF_UINTP (#31035)
  • #31053: BUG: avoid warning on ufunc with where=True and no output
  • #31058: DOC: document caveats of ndarray.resize on 3.14 and newer
  • #31079: TST: fix POWER VSX feature mapping (#30801)
  • #31084: MAINT: numpy.i: Replace deprecated sprintf with snprintf...

2.4.3 (Mar 9, 2026)

NumPy 2.4.3 Release Notes

The NumPy 2.4.3 is a patch release that fixes bugs discovered after the 2.4.2 release. The most user visible fix may be a threading fix for OpenBLAS on ARM, closing issue #30816.

This release supports Python versions 3.11-3.14

Contributors

A total of 11 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

  • Antareep Sarkar +

... (truncated)

Changelog

Sourced from numpy's changelog.

This is a walkthrough of the NumPy 2.4.0 release on Linux, which will be the first feature release using the numpy/numpy-release <https://github.com/numpy/numpy-release>__ repository.

The commands can be copied into the command line, but be sure to replace 2.4.0 with the correct version. This should be read together with the :ref:general release guide <prepare_release>.

Facility preparation

Before beginning to make a release, use the requirements/*_requirements.txt files to ensure that you have the needed software. Most software can be installed with pip, but some will require apt-get, dnf, or whatever your system uses for software. You will also need a GitHub personal access token (PAT) to push the documentation. There are a few ways to streamline things:

  • Git can be set up to use a keyring to store your GitHub personal access token. Search online for the details.

Prior to release

Add/drop Python versions

When adding or dropping Python versions, multiple config and CI files need to be edited in addition to changing the minimum version in pyproject.toml. Make these changes in an ordinary PR against main and backport if necessary. We currently release wheels for new Python versions after the first Python RC once manylinux and cibuildwheel support that new Python version.

Backport pull requests

Changes that have been marked for this release must be backported to the maintenance/2.4.x branch.

Update 2.4.0 milestones

Look at the issues/prs with 2.4.0 milestones and either push them off to a later version, or maybe remove the milestone. You may need to add a milestone.

Check the numpy-release repo

... (truncated)

Commits
  • be93fe2 Merge pull request #31090 from charris/prepare-2.4.4
  • f5245dc REL: Prepare for the NumPy 2.4.4 release
  • 02e838b Merge pull request #31084 from charris/backport-31056
  • fa74b2d MAINT: numpy.i: Replace deprecated sprintf with snprintf (#31056)
  • 533a6db Merge pull request #31079 from charris/backport-20801
  • 9e496cb TST: fix POWER VSX feature mapping (#30801)
  • 8052c4b Merge pull request #31058 from charris/backport-31021
  • 7f13b5a MAINT: Skip test on PyPy.
  • 4c5fdd6 MAINT: Remove unused import of tracemalloc.
  • a3ca5ed Update numpy/_core/src/multiarray/shape.c
  • Additional commits viewable in compare view

Updates marshmallow from 3.26.2 to 4.3.0

Changelog

Sourced from marshmallow's changelog.

4.3.0 (2026-04-03)

Features:

  • Add pre_load and post_load parameters to marshmallow.fields.Field for field-level pre- and post-processing (:issue:2787).
  • Typing: improvements to marshmallow.validate (:pr:2940).

4.2.4 (2026-04-02)

Bug fixes:

  • marshmallow.validate.URL and marshmallow.validate.Email accept Internationalized Domain Names (IDNs) (:issue:2821, :issue:2936). marshmallow.validate.Email also correctly rejects IDN domains with leading/trailing hyphens. Thanks :user:touhidurrr for the report.
  • Typing: Fix typing of nested in marshmallow.fields.Nested (:pr:2935).

4.2.3 (2026-03-25)

Bug fixes:

  • Make marshmallow.fields.Number and marshmallow.fields.Mapping abstract base classes to prevent using them within Schemas (:issue:2924). Thanks :user:MartingaleCoda for reporting.
  • Allow required to be set on marshmallow.fields.Contant (:issue:2900). Thanks :user:nosnickid for the report and :user:worksbyfriday for the PR.
  • Fix marshmallow.validate.OneOf emitting extra pairs when labels outnumber choices (:issue:2869). Thanks: user:T90REAL for the report and :user:rstar327 for the PR.
  • Fix behavior when passing a dot-delimited attribute name to partial for a key with data_key set (:pr:2903). Thanks :user:bysiber for the PR.
  • Fix Enum field by-name lookup to only return actual members (:pr:2902). Thanks :user:bysiber for the PR.
  • marshmallow.fields.DateTime with format="timestamp_ms" properly rejects bool values (:pr:2904). Thanks :user:bysiber for the PR.
  • Fix typing of error_messages argument to marshmallow.fields.Field (:pr:1636). Thanks :user:repole for reporting and :user:dhruvildarji for the PR.

Other changes:

  • Add ipaddress.* to marshmallow.Schema.TYPE_MAPPING (:issue:1695). Thanks :user:liberforce for the suggestion and :user:dhruvildarji for the PR.

4.2.2 (2026-02-04)

Bug fixes:

  • Fix behavior of fields.Contant(None) (:issue:2868).

... (truncated)

Commits

Updates packaging from 25.0 to 26.1

Release notes

Sourced from packaging's releases.

26.1

Features:

Behavior adaptations:

Pylock (PEP 751) updates:

Fixes:

Performance:

... (truncated)

Changelog

Sourced from packaging's changelog.

26.1 - 2026-04-14


Features:
  • PEP 783: add handling for Emscripten wheel tags in (:pull:804)
  • PEP 803: add handling for the abi3.abi3t free-threading tag in (:pull:1099)
  • PEP 723: add packaging.dependency_groups module, based on the dependency-groups package in (:pull:1065)
  • Add the packaging.direct_url module in (:pull:944)
  • Add the packaging.errors module in (:pull:1071)
  • Add SpecifierSet.is_unsatisfiable using ranges (new internals that will be expanded in future versions) in (:pull:1119)
  • Add create_compatible_tags_selector to select compatible tags in (:pull:1110)
  • Add a key argument to SpecifierSet.filter() in (:pull:1068)
  • Support &amp; and | for Marker's in (:pull:1146)
  • Normalize Version.__replace__ and add Version.from_parts in (:pull:1078)
  • Add an option to validate compressed tag set sort order in parse_wheel_filename in (:pull:1150)

Behavior adaptations:

  • Narrow exclusion of pre-releases for &lt;V.postN to match spec in (:pull:1140)
  • Narrow exclusion of post-releases for &gt;V to match spec in (:pull:1141)
  • Rename format_full_version to _format_full_version to make it visibly private in (:pull:1125)
  • Restrict local version to ASCII in (:pull:1102)

Pylock (PEP 751) updates:

  • Add pylock select function in (:pull:1092)
  • Document pylock select() method and PylockSelectError in (:pull:1153)
  • Add filename property to PackageSdist and PackageWheel, more validation in (:pull:1095)
  • Give preference to path over url in (:pull:1128)
  • Validate name/version consistency in file names in (:pull:1114)

Fixes:

  • Fix &gt; comparison for versions with dev+local segments in (:pull:1097)
  • Fix incorrect self-comparison for InfinityType and NegativeInfinityType in (:pull:1093)
  • Canonicalize when deduplicating specifiers in SpecifierSet in (:pull:1109)
  • Fix charset error message formatting in (:pull:1121)
  • Handle the key parameter in SpecifierSet.filter when specifiers are empty and prerelease is False in (:pull:1096)
  • Standardize inner components of repr output in (:pull:1090)
  • Specifier's === uses original string, not normalized, when available in (:pull:1124)
  • Propagate int-max-str-digits ValueError in (:pull:1155)

Performance:

  • Add fast path for parsing simple versions (digits and dots only) in (:pull:1082)
  • Add fast path for Version to Version comparison by skipping _key property in (:pull:1083)
  • Cache Version hash value in dedicated slot in (:pull:1118)
  • Overhaul _cmpkey to remove use of custom objects in (:pull:1116)
  • Skip __replace__ in Specifier comparison if not needed in (:pull:1081)
    </tr></table>

... (truncated)

Commits
  • c1a88a3 Bump for release
  • 702c25e docs: update changelog for 26.1 (#1156)
  • 3f4f5d4 Implement is_unsatisfiable on SpecifierSet using ranges (#1119)
  • 06c6555 Propagate int-max-str-digits ValueError (#1155)
  • 905c90c feat: option to validate compressed tag set sort order in `parse_wheel_filena...
  • af0026c docs(pylock): document select() method and PylockSelectError (#1153)
  • 668da86 Rename format_full_version to _format_full_version to make it visibly private...
  • f294d52 tests: do not reload the tags module (#1152)
  • 2c6c7df feat: add handling for Emscripten wheels tags per PEP 783 (#804)
  • 6762eea docs(markers): document & and | operators for combining Marker objects (#1151)
  • Additional commits viewable in compare view

Updates onnxscript from 0.6.2 to 0.7.0

Release notes

Sourced from onnxscript's releases.

v0.7.0

What's Changed

Optimizer and Rewriter

ONNX IR

Torch Lib

Core ONNX Script

New Features

Other Changes

New Contributors

... (truncated)

Commits
  • df97c94 Add an option to not inline a function when building the graph (#2851)
  • 90f754a chore(deps): bump actions/upload-pages-artifact from 4 to 5 (#2895)
  • b068297 Bumped version to 0.7.0 (#2894)
  • c8f5f6a Make GraphBuilder.init use keyword-only args after graph (#2893)
  • c6e8ec6 Handling initializers in GraphBuilder (#2889)
  • 63ffecf fix: normalize cache key dtype to prevent initializer name collisions (#2888)
  • 13f265c fix(fuse_batchnorm): support convtranpose + bn fusion with group != 1 (#2879)
  • 6c092e2 Add fusion rule to remove Expand before broadcast-capable binary operators (#...
  • c7d13fb Add input() and add_output() methods to GraphBuilder (#2828)
  • 864b785 Fix BatchNorm fusion producing invalid ONNX when Conv nodes share weight init...
  • Additional commits viewable in compare view

Updates torch from 2.10.0 to 2.11.0

Release notes

Sourced from torch's releases.

PyTorch 2.11.0 Release Notes

Highlights

For more details about these highlighted features, you can look at the release blogpost. Below are the full release notes for this release.

Backwards Incompatible Changes

Release Engineering

... (truncated)

Commits
  • 70d99e9 [release only] Increase timeout for rocm libtorch and manywheel builds (#178006)
  • 3e05c5a [MPS] Properly handle conjugated tensors in bmm (#178010)
  • db741c7 [MPS] fix compiling of SDPA producing nan results (#178009)
  • 483b55d Update pytorch_sphinx_theme2 version to 0.4.6 (#177616)
  • 7f2cdeb [windows][smoke test] Add an option to install cuda if required cuda/cudnn on...
  • 76fd078 [release-only] Fix libtorch builds. Fix lint (#177299)
  • fa384de [Inductor][MPS] Fix half-precision type mismatches in Metal shader codegen (#...
  • 036b25f Let stable::from_blob accept a lambda as deleter (cherry-pick) (#176440)
  • 41f8e3e [CI] Stop using G3 runners (#177161)
  • e2fa295 [CD] Unpin cuda-bindings dependencies (#177159)
  • Additional commits viewable in compare view

Updates tensordict from 0.12.1 to 0.12.2

Release notes

Sourced from tensordict's releases.

TensorDict v0.12.2

Patch release with a bug fix for consolidated nested tensors.

Bug Fixes

  • Fix _ragged_idx loss during consolidation of nested tensors, which caused numerical incorrectness when the nested tensor had more than 2 dimensions and ragged_idx != 1 (#1675)

Installation

pip install tensordict==0.12.2

Full Changelog: pytorch/tensordict@v0.12.1...v0.12.2

Commits
  • 8ee33fa [Release] Bump version to 0.12.2
  • dcb6ddd [BugFix] fix ragged_idx of consolidated tensor (#1675)
  • 85ea4e7 [CI] Temporarily use vmoens/test-infra fork for macOS builds
  • See full diff in compare view

Updates lerobot from 0.5.0 to 0.5.1

Release notes

Sourced from lerobot's releases.

Release v0.5.1

What's Changed

New Contributors

... (truncated)

Commits

Updates hypothesis from 6.151.13 to 6.152.1

Release notes

Sourced from hypothesis's releases.

Hypothesis for Python - version 6.152.1

Improve some internal type hints.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.152.0

Hypothesis generally recommends that the ".hypothesis" directory not be checked into version control. As a result, Hypothesis now automatically creates a ".gitignore" with "*" in the ".hypothesis" directory, which excludes it from being tracked by git.

If you do want to check ".hypothesis" into git, you can remove the ".gitignore" file. Hypothesis will not re-create it unless the entire ".hypothesis" directory is removed.

The canonical version of these notes (with links) is on readthedocs.

Hypothesis for Python - version 6.151.14

This patch fixes our "from_regex()" type annotations so that "from_regex(..., alphabet=None)" is accepted.

This patch also adds unicode line breaks and thai combining vowels to our list of constant strings to upweight at runtime.

The canonical version of these notes (with links) is on readthedocs.

Commits
  • d451213 Bump hypothesis-python version to 6.152.1 and update changelog
  • c95fa97 Merge pull request #4706 from Liam-DeVoe/typing-fix
  • 7dd2cfd Merge remote-tracking branch 'upstream/master' into typing-fix
  • 35fdf62 Bump hypothesis-python version to 6.152.0 and update changelog
  • 0cb15c5 tighten check for typing
  • 0e03204 Merge pull request #4704 from Liam-DeVoe/auto-ignore-.hypothesis
  • 3625c63 fix ci failures
  • 8a8a6a1 reword for clarity
  • 0102250 fix ci

… with 8 updates

Bumps the inference-dependencies group with 8 updates in the /evaluation directory:

| Package | From | To |
| --- | --- | --- |
| [numpy](https://github.com/numpy/numpy) | `2.2.6` | `2.4.4` |
| [marshmallow](https://github.com/marshmallow-code/marshmallow) | `3.26.2` | `4.3.0` |
| [packaging](https://github.com/pypa/packaging) | `25.0` | `26.1` |
| [onnxscript](https://github.com/microsoft/onnxscript) | `0.6.2` | `0.7.0` |
| [torch](https://github.com/pytorch/pytorch) | `2.10.0` | `2.11.0` |
| [tensordict](https://github.com/pytorch/tensordict) | `0.12.1` | `0.12.2` |
| [lerobot](https://github.com/huggingface/lerobot) | `0.5.0` | `0.5.1` |
| [hypothesis](https://github.com/HypothesisWorks/hypothesis) | `6.151.13` | `6.152.1` |



Updates `numpy` from 2.2.6 to 2.4.4
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.2.6...v2.4.4)

Updates `marshmallow` from 3.26.2 to 4.3.0
- [Changelog](https://github.com/marshmallow-code/marshmallow/blob/dev/CHANGELOG.rst)
- [Commits](marshmallow-code/marshmallow@3.26.2...4.3.0)

Updates `packaging` from 25.0 to 26.1
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@25.0...26.1)

Updates `onnxscript` from 0.6.2 to 0.7.0
- [Release notes](https://github.com/microsoft/onnxscript/releases)
- [Commits](microsoft/onnxscript@v0.6.2...v0.7.0)

Updates `torch` from 2.10.0 to 2.11.0
- [Release notes](https://github.com/pytorch/pytorch/releases)
- [Changelog](https://github.com/pytorch/pytorch/blob/main/RELEASE.md)
- [Commits](pytorch/pytorch@v2.10.0...v2.11.0)

Updates `tensordict` from 0.12.1 to 0.12.2
- [Release notes](https://github.com/pytorch/tensordict/releases)
- [Commits](pytorch/tensordict@v0.12.1...v0.12.2)

Updates `lerobot` from 0.5.0 to 0.5.1
- [Release notes](https://github.com/huggingface/lerobot/releases)
- [Commits](huggingface/lerobot@v0.5.0...v0.5.1)

Updates `hypothesis` from 6.151.13 to 6.152.1
- [Release notes](https://github.com/HypothesisWorks/hypothesis/releases)
- [Commits](HypothesisWorks/hypothesis@hypothesis-python-6.151.13...hypothesis-python-6.152.1)

---
updated-dependencies:
- dependency-name: numpy
  dependency-version: 2.4.4
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: inference-dependencies
- dependency-name: marshmallow
  dependency-version: 4.3.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: inference-dependencies
- dependency-name: packaging
  dependency-version: '26.1'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: inference-dependencies
- dependency-name: onnxscript
  dependency-version: 0.7.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: inference-dependencies
- dependency-name: torch
  dependency-version: 2.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: inference-dependencies
- dependency-name: tensordict
  dependency-version: 0.12.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: inference-dependencies
- dependency-name: lerobot
  dependency-version: 0.5.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: inference-dependencies
- dependency-name: hypothesis
  dependency-version: 6.152.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: inference-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Dependency version updates python Pull requests that update python code labels Apr 21, 2026
@github-actions github-actions Bot changed the title chore(deps): bump the inference-dependencies group across 1 directory with 8 updates security(deps): bump the inference-dependencies group across 1 directory with 8 updates Apr 21, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 6 package(s) with unknown licenses.
See the Details below.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 1e03d36.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

License Issues

evaluation/pyproject.toml

PackageVersionLicenseIssue Type
lerobot0.5.1NullUnknown License
marshmallow4.3.0NullUnknown License
onnxscript0.7.0NullUnknown License
packaging26.1NullUnknown License
tensordict0.12.2NullUnknown License
torch2.11.0NullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
pip/lerobot 0.5.1 UnknownUnknown
pip/marshmallow 4.3.0 UnknownUnknown
pip/numpy 2.4.4 UnknownUnknown
pip/onnxscript 0.7.0 UnknownUnknown
pip/packaging 26.1 UnknownUnknown
pip/tensordict 0.12.2 UnknownUnknown
pip/torch 2.11.0 UnknownUnknown

Scanned Files

  • evaluation/pyproject.toml

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 21, 2026

AW Dependabot PR Review completed successfully!

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.07%. Comparing base (e8756e8) to head (1e03d36).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #539   +/-   ##
=======================================
  Coverage   65.07%   65.07%           
=======================================
  Files         253      253           
  Lines       15621    15621           
  Branches     2087     2087           
=======================================
  Hits        10166    10166           
  Misses       5165     5165           
  Partials      290      290           
Flag Coverage Δ
pester 81.11% <ø> (ø)
pytest 92.40% <ø> (ø)
pytest-dataviewer 65.12% <ø> (ø)
pytest-fuzz 1.56% <ø> (ø)
vitest 51.08% <ø> (ø)
🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Maintainer review recommended

Advisory Review Summary

Ecosystems touched: uv/pipevaluation/pyproject.toml
Surface: python-runtime (evaluation directory)
No GHSA or CVE identifiers were found in the PR body. Despite the security(deps): title prefix, this appears to be a proactive group-update rather than a specific vulnerability patch.


Affected packages

Package From To Severity Surface
numpy 2.2.6 2.4.4 None found python-runtime
marshmallow 3.26.2 4.3.0 None found python-runtime
packaging 25.0 26.1 None found python-runtime
onnxscript 0.6.2 0.7.0 None found python-runtime
torch 2.10.0 2.11.0 None found python-runtime
tensordict 0.12.1 0.12.2 None found python-runtime
lerobot 0.5.0 0.5.1 None found python-runtime
hypothesis 6.151.13 6.152.1 None found python-runtime (dev)

numpy

From 2.2.6 to 2.4.4 — skips the entire 2.3.x series.

NumPy 2.4.4 is a patch release fixing bugs discovered after 2.4.3. Closes OpenBLAS threading problem on ARM (#30816). Supports Python 3.11–3.14.

Source: NumPy 2.4.4 release notes

Repo-specific risk: numpy is listed as an ABI-sensitive trigger on the python-runtime surface. onnxruntime-gpu==1.24.4 is co-pinned in this manifest but not being updated. Cross-minor numpy jumps (2.2 → 2.4) should be validated against the onnxruntime-gpu CUDA ABI. Run pytest evaluation/tests/ on a GPU node.


marshmallow

From 3.26.2 to 4.3.0 — MAJOR version bump.

4.3.0 (2026-04-03): Adds pre_load/post_load parameters to fields.Field for field-level pre/post processing. Typing improvements to marshmallow.validate.
4.2.3: fields.Number and fields.Mapping are now abstract base classes — using them directly in schemas raises TypeError.

Source: marshmallow CHANGELOG

Repo-specific risk: No Python files in evaluation/ import marshmallow directly, indicating it is a transitive requirement of mlflow==3.11.1 and/or azure-ai-ml==1.32.0, both of which are pinned. Verify those pinned versions explicitly support marshmallow 4.x before merging. Breaking changes in marshmallow 4.x (removal of missing/default field aliases, abstract base-class changes) could surface at runtime in mlflow model-artifact serialization.


packaging

From 25.0 to 26.1 — minor bump, additive features only (Emscripten wheel tags, packaging.dependency_groups, SpecifierSet.is_unsatisfiable). No breaking changes identified. Low risk.

Source: packaging releases


onnxscript

From 0.6.2 to 0.7.0 — pre-1.0 minor bump. Pre-1.0 packages may carry API changes in minor increments. No security advisories found. Verify against microsoft/onnxscript releases.


torch

From 2.10.0 to 2.11.0 — minor bump on ABI-sensitive surface.

No security advisories found. onnxruntime-gpu==1.24.4 (co-pinned, not updated) shares the CUDA runtime with torch. Confirm onnxruntime-gpu 1.24.4 supports torch 2.11.x in its compatibility matrix. Validate with a SIL smoke run.

Source: pytorch/pytorch releases


tensordict

From 0.12.1 to 0.12.2 — patch bump. Low risk. Source: pytorch/tensordict releases.


lerobot

From 0.5.0 to 0.5.1 — pre-1.0 patch bump. Confirm compatibility with the co-bumped torch==2.11.0. Source: huggingface/lerobot releases.


hypothesis

From 6.151.13 to 6.152.1 — patch bump in dev-only group. No risk to production evaluation runtime. Source: HypothesisWorks/hypothesis releases.


⚠️ Lockfile not updated

The evaluation/uv.lock does not appear to be modified in this PR diff. Dependabot typically updates both the manifest (pyproject.toml) and the lock file together for uv projects. Merging without an updated lockfile means the resolved dependency tree may not reflect the new manifest pins until the lockfile is regenerated manually. Run uv lock in evaluation/ after merging.


Advisory verdict: COMMENTmarshmallow crosses a major version boundary (3 → 4) with known breaking API changes, numpy jumps two minor versions on the ABI-sensitive python-runtime surface, and torch/onnxruntime-gpu ABI compatibility requires validation before merge. No security advisories were found for any updated package.

Note

🔒 Integrity filter blocked 1 item

The following item was blocked because it doesn't meet the GitHub integrity level.

  • #539 pull_request_read: has lower integrity than agent requires. The agent cannot read data with integrity below "approved".

To allow these resources, lower min-integrity in your GitHub frontmatter:

tools:
  github:
    min-integrity: approved  # merged | approved | unapproved | none

Generated by AW Dependabot PR Review for issue #539 · ● 943.2K

Comment thread evaluation/pyproject.toml
"torch==2.10.0",
"tensordict==0.12.1",
"lerobot==0.5.0",
"torch==2.11.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

torch 2.10.0 → 2.11.0 — check onnxruntime-gpu ABI compatibility

Minor version bump for PyTorch on the python-runtime surface. PyTorch and onnxruntime-gpu share CUDA runtime libraries; mismatched CUDA minor expectations can cause silent ABI failures at inference time.

onnxruntime-gpu==1.24.4 (line 20) is not being bumped in this PR — confirm that onnxruntime-gpu 1.24.4 lists torch 2.11.x in its supported matrix. Validate with a SIL smoke run of evaluation/sil/policy_runner.py on GPU hardware after merging.

No security advisories identified for this bump.

Comment thread evaluation/pyproject.toml
"lerobot==0.5.0",
"torch==2.11.0",
"tensordict==0.12.2",
"lerobot==0.5.1",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lerobot 0.5.0 → 0.5.1 — pre-1.0 patch bump

Patch release in a pre-1.0 package. Low risk, but confirm this version is compatible with the torch==2.11.0 being co-bumped in this PR (lerobot depends on torch).

Source: huggingface/lerobot releases

Comment thread evaluation/pyproject.toml
requires-python = ">=3.12"
dependencies = [
"numpy==2.2.6",
"numpy==2.4.4",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

numpy 2.2.6 → 2.4.4 — cross-minor jump on ABI-sensitive surface

This bump skips the entire 2.3.x series and lands on 2.4.4. NumPy 2.x introduced C-ABI breaking changes (NEP 47/50). The 2.4.x branch supports Python 3.11–3.14 and includes fixes for OpenBLAS threading on ARM (issue #30816) — no security advisories found.

Risk: onnxruntime-gpu==1.24.4 is pinned alongside this and is CUDA/ABI-sensitive. Verify onnxruntime-gpu built against numpy 2.x ABI is compatible with numpy 2.4. Run pytest evaluation/tests/ on a GPU node before merging.

Source: NumPy 2.4.4 release notes

Comment thread evaluation/pyproject.toml
"azure-identity==1.25.3",
"azure-ai-ml==1.32.0",
"marshmallow==3.26.2",
"marshmallow==4.3.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Major version bump — marshmallow 3.26.2 → 4.3.0

marshmallow crossed a major version boundary (3 → 4). The 4.x line removed several deprecated 3.x APIs:

  • missing and default field arguments have changed semantics (see marshmallow 4.0.0 changelog).
  • fields.Number and fields.Mapping are now abstract base classes and cannot be used directly in schemas.
  • post_load(pass_many=True) and other decorator behaviors have breaking-change semantics in 4.x.

No Python files in evaluation/ directly import marshmallow, suggesting it is consumed indirectly via mlflow==3.11.1 or azure-ai-ml==1.32.0. Verify that those pinned versions support marshmallow 4.x before merging.

Validation: ruff check evaluation/ && pytest evaluation/tests/ against the new lockfile.

Comment thread evaluation/pyproject.toml
"pyperclip==1.11.0",
"onnx==1.21.0",
"onnxscript==0.6.2",
"onnxscript==0.7.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

onnxscript 0.6.2 → 0.7.0 — pre-1.0 minor bump

onnxscript is a pre-1.0 package; minor version increments may include breaking API changes per semantic versioning conventions for unstable packages. No GHSA/CVE advisories were found.

Changelog: microsoft/onnxscript releases. Verify that any onnxscript API usage in the evaluation codebase is not affected by 0.7.0 changes.

@katriendg
Copy link
Copy Markdown
Collaborator

@dependabot recreate

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github Apr 23, 2026

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Apr 23, 2026
@dependabot dependabot Bot deleted the dependabot/pip/evaluation/inference-dependencies-2eeb1ad467 branch April 23, 2026 11:54
fbeltrao pushed a commit to fbeltrao/physical-ai-toolchain that referenced this pull request Apr 29, 2026
…ers, and runtime scripts (microsoft#541)

Standardizes the entire Physical AI Toolchain on Python 3.12, raising
`requires-python` to `>=3.12` in every `pyproject.toml` and regenerating
all lock files under the new baseline. This unifies a previously
fragmented version floor (`>=3.11` in some packages, `>=3.11,<3.12` in
RL) that blocked Dependabot from proposing dependency updates.

Beyond the version bump, the PR eliminates runtime `uv pip compile`
calls from IL training and SIL evaluation scripts, replacing them with
installs from pre-compiled `requirements.txt` files. This matches the
existing RL pattern, removes a deployment-time failure mode (Python 3.11
containers resolving 3.12-only wheels), and cuts job startup latency.

> Regenerating requirements surfaced pre-existing metadata conflicts in
`azureml-mlflow` (incompatible caps on `mlflow-skinny` and
`azure-storage-blob` in RL; `marshmallow <4.0.0` cap collision in IL).
Dropping `azureml-mlflow` resolved both — the package was a legacy
holdover since `azure-ai-ml` MLClient already provides the MLflow
tracking URI directly.

Closes microsoft#540

## Type of Change

- [ ] 🐛 Bug fix (non-breaking change fixing an issue)
- [ ] ✨ New feature (non-breaking change adding functionality)
- [x] 💥 Breaking change (fix or feature causing existing functionality
to change)
- [ ] 📚 Documentation update
- [ ] 🏗️ Infrastructure change (Terraform/IaC)
- [ ] ♻️ Refactoring (no functional changes)

## Component(s) Affected

- [ ] `infrastructure/terraform/prerequisites/` - Azure subscription
setup
- [ ] `infrastructure/terraform/` - Terraform infrastructure
- [ ] `infrastructure/setup/` - OSMO control plane / Helm
- [x] `workflows/` - Training and evaluation workflows
- [x] `training/` - Training pipelines and scripts
- [x] `docs/` - Documentation

## Changes

### Python 3.12 Version Standardization

Raised `requires-python` to `>=3.12` in all six package manifests (root,
RL, IL/LeRobot, dataviewer workspace, dataviewer backend, evaluation).
Bumped `.python-version` from 3.11.13 to 3.12.13. Updated the dataviewer
backend Dockerfile base image from an erroneous `python:3.14-slim` to
`python:3.12-slim`, and changed *start.sh* to create venvs with
`--python 3.12`. Updated *copilot-instructions.md* references and ruff
`target-version` documentation to `py312`.

### Runtime Compilation Replaced with Pre-compiled Requirements

Replaced dynamic `uv pip compile` invocations with installs from
committed `requirements.txt` files in three scripts:

- *training/il/scripts/submit-azureml-lerobot-training.sh* — now
installs from `training/il/lerobot/requirements.txt` with a missing-file
guard
- *evaluation/sil/infer.sh* — same pattern; added PyTorch cu124 fallback
index
- *evaluation/sil/validate.sh* — same pattern; added PyTorch cu124
fallback index

Created **training/il/lerobot/requirements.txt** (new file) and
regenerated **training/rl/requirements.txt** under Python 3.12 (CUDA
packages shifted from cu12 to cu13 variants).

### Dependency Cleanup and Version Alignment

Dropped `azureml-mlflow` from both RL and IL pyprojects. The package
caused metadata conflicts (incompatible caps on `mlflow-skinny`,
`azure-storage-blob`, and `marshmallow`) and was redundant —
`azure-ai-ml` MLClient resolves the MLflow tracking URI directly.
Removed the corresponding `azureml.mlflow` entry from
`_REQUIRED_MODULES` in *launch.py* and *launch_rsl_rl.py*.

Bumped **LeRobot** from 0.3.3 to 0.4.4 and aligned transitive pins
(`huggingface-hub`, `wandb`, `torchcodec`, `numpy`, `packaging`) to
LeRobot's upstream caps. Bumped IL `azure-ai-ml` from 1.31.0 to 1.32.0
for parity with RL. IL `marshmallow` pinned to 3.26.2 (latest 3.x;
forced by `azure-ai-ml <4.0.0` cap — no known CVEs).

### Lock File Regeneration

Regenerated *data-management/viewer/backend/uv.lock*,
*data-management/viewer/uv.lock*, and root *uv.lock* under Python 3.12.
Systematically removed Python 3.11 (cp311) and PyPy 3.11 (pp311) wheel
entries.

### Ancillary Fixes

- Replaced deprecated `datetime.utcnow()` with `datetime.now(UTC)` in
*data-management/viewer/backend/tests/storage/conftest.py*
- Removed `coverage[toml]` optional dependency from root
*pyproject.toml*
- Updated *docs/contributing/prerequisites.md* Python version to 3.12+
- Fixed OSMO installer URL in
*scripts/security/Test-BinaryFreshness.ps1* to use releases/download
path

## Related Issues

- Closes microsoft#540
- Related to microsoft#539 (Dependabot blocked by fragmented `requires-python`)

## Testing Performed

- [ ] Terraform `plan` reviewed (no unexpected changes)
- [ ] Terraform `apply` tested in dev environment
- [ ] Training scripts tested locally with Isaac Sim
- [ ] OSMO workflow submitted successfully
- [ ] Smoke tests passed (`smoke_test_azure.py`)

## Documentation Impact

- [x] Documentation updated in this PR

## Bug Fix Checklist

*N/A — this is a build/dependency change, not a bug fix.*

## Checklist

- [x] My code follows the [project conventions](copilot-instructions.md)
- [x] Commit messages follow [conventional commit
format](instructions/commit-message.instructions.md)
- [x] I have performed a self-review
- [x] Documentation impact assessed above
- [ ] No new linting warnings introduced

## Notes

- **Breaking change**: Python 3.11 support is fully discontinued. All
development environments, containers, and CI pipelines require Python
3.12+.
- Only IL `marshmallow` (3.26.2 vs 4.2.3 in RL) and
`huggingface-hub`/`wandb` pins move backward relative to the RL package
— all forced by `azure-ai-ml` and LeRobot upstream caps. `marshmallow`
3.26.2 is the latest 3.x release with no known open CVEs.
- The OSMO installer URL fix in *Test-BinaryFreshness.ps1* is unrelated
to the Python migration but was included in the same commit.

## Follow-up Tasks

- Rebase or re-run Dependabot PR microsoft#539 after this lands — it should
resolve cleanly with unified `requires-python`
- Add CI freshness check that regenerates `requirements.txt` files and
diffs against committed versions to catch pyproject edits that skip
regeneration
- Add grep-based regression guard rejecting reintroduction of `uv pip
compile` in IL/evaluation scripts
- Upgrade Isaac Lab container to Python 3.12 (Isaac Sim 5.x) to
eliminate the pre-compilation workaround entirely (tracked as microsoft#114)

---------

Co-authored-by: Bill Berry <wbery@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency version updates python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants