Skip to content

build(deps): update numpy requirement from <2 to <3 in /tpu/models - #1160

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/tpu/models/numpy-lt-3
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/tpu/models/numpy-lt-3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 2, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on numpy to permit the latest version.

Release notes

Sourced from numpy's releases.

v2.5.5 (Nov 15, 2026)

NumPy 2.5.5 Release Notes

Released on 2026-11-15.

NumPy 2.5.5 is a patch release that fixes bugs discovered after the 2.5.4 release. It is unusually large for a patch release due to bugs discovered during continuing work on strings for the upcoming 2.6.0 release, ongoing threading work, the eMudhra compromise fixes, and updates in GitHub CI infrastructure.

This release supports Python versions 3.12-3.15.

Compatibility notes

  • Casting a structured void dtype or subarray dtype to numpy.dtypes.StringDType now raises a TypeError instead of interpreting the raw bytes of each element as UTF-8.

    (gh-33298)

Contributors

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

  • Anush Vishwakarma +
  • Arthur Lacote
  • Bharath Pranav +
  • Charles Harris
  • David King +
  • Iason Krommydas
  • Joren Hammudoglu
  • Kevin Sheppard
  • Matti Picus
  • Nathan Goldbaum
  • Peter Hawkins
  • Shubham Bansal +

Pull requests merged

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

  • #32971: MAINT: Prepare 2.5.x for further development
  • #33100: MAINT: Update OpenBLAS to 0.3.34.237.2
  • #33114: MAINT: Update cibuildwheel to v4.3.3
  • #33117: BUG: warm finfo cache with float64 on 2.5.x (gh-32947)
  • #33130: MAINT: Update pixi workflow from main.
  • #33141: MAINT: Update cibuildwheel to v4.3.4 and uv to v0.13.5
  • #33155: BUG: fix nanquantile dtype for all-NaN first slice (#32940)

... (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 dependency groups from pyproject.toml 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

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v0.2.0...v2.5.5)

---
updated-dependencies:
- dependency-name: numpy
  dependency-version: 2.5.5
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Dec 2, 2026

@dormancygrace dormancygrace left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This relaxes a host-side requirement, but the environment still resolves NumPy to 1.24.3. Both the converter and screen-training script install tpu-mlir==1.31, whose published package metadata requires numpy==1.24.3 on Python 3.10. That version satisfies both bounds. There is no runtime or model change attributable to this edit and it does not enable using NumPy 2.x. No hardware benchmark or model retraining is needed for this bound alone.

@dependabot @github

dependabot Bot commented on behalf of github Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant