Skip to content

Bump numpy from 2.0.1 to 2.2.5#399

Open
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/pip/numpy-2.2.5
Open

Bump numpy from 2.0.1 to 2.2.5#399
dependabot[bot] wants to merge 2 commits intomainfrom
dependabot/pip/numpy-2.2.5

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github May 12, 2025

Bumps numpy from 2.0.1 to 2.2.5.

Release notes

Sourced from numpy's releases.

v2.2.5 (Apr 19, 2025)

NumPy 2.2.5 Release Notes

NumPy 2.2.5 is a patch release that fixes bugs found after the 2.2.4 release. It has a large number of typing fixes/improvements as well as the normal bug fixes and some CI maintenance.

This release supports Python versions 3.10-3.13.

Contributors

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

  • Charles Harris
  • Joren Hammudoglu
  • Baskar Gopinath +
  • Nathan Goldbaum
  • Nicholas Christensen +
  • Sayed Adel
  • karl +

Pull requests merged

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

  • #28545: MAINT: Prepare 2.2.x for further development
  • #28582: BUG: Fix return type of NpyIter_GetIterNext in Cython declarations
  • #28583: BUG: avoid deadlocks with C++ shared mutex in dispatch cache
  • #28585: TYP: fix typing errors in _core.strings
  • #28631: MAINT, CI: Update Ubuntu to 22.04 in azure-pipelines
  • #28632: BUG: Set writeable flag for writeable dlpacks.
  • #28633: BUG: Fix crackfortran parsing error when a division occurs within...
  • #28650: TYP: fix ndarray.tolist() and .item() for unknown dtype
  • #28654: BUG: fix deepcopying StringDType arrays (#28643)
  • #28661: TYP: Accept objects that write() to str in savetxt
  • #28663: CI: Replace QEMU armhf with native (32-bit compatibility mode)
  • #28682: SIMD: Resolve Highway QSort symbol linking error on aarch32/ASIMD
  • #28683: TYP: add missing "b1" literals for dtype[bool]
  • #28705: TYP: Fix false rejection of NDArray[object_].__abs__()
  • #28706: TYP: Fix inconsistent NDArray[float64].__[r]truediv__ return...
  • #28723: TYP: fix string-like ndarray rich comparison operators
  • #28758: TYP: some [arg]partition fixes
  • #28772: TYP: fix incorrect random.Generator.integers return type
  • #28774: TYP: fix count_nonzero signature

Checksums

MD5

... (truncated)

Changelog

Sourced from numpy's changelog.

This is a walkthrough of the NumPy 2.1.0 release on Linux, modified for building with GitHub Actions and cibuildwheels and uploading to the anaconda.org staging repository for NumPy <https://anaconda.org/multibuild-wheels-staging/numpy>_. The commands can be copied into the command line, but be sure to replace 2.1.0 by 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.
  • You can use the keyring app to store the PyPI password for twine. See the online twine documentation for details.

Prior to release

Add/drop Python versions

When adding or dropping Python versions, three files need to be edited:

  • .github/workflows/wheels.yml # for github cibuildwheel
  • tools/ci/cirrus_wheels.yml # for cibuildwheel aarch64/arm64 builds
  • pyproject.toml # for classifier and minimum version check.

Make these changes in an ordinary PR against main and backport if necessary. Add [wheel build] at the end of the title line of the commit summary so that wheel builds will be run to test the changes. We currently release wheels for new Python versions after the first Python rc once manylinux and cibuildwheel support it. For Python 3.11 we were able to release within a week of the rc1 announcement.

Backport pull requests

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

Update 2.1.0 milestones

... (truncated)

Commits
  • 7be8c1f Merge pull request #28777 from charris/prepare-2.2.5
  • d561f09 REL: Prepare for the NumPy 2.2.5 release [wheel build]
  • b3e772c Merge pull request #28774 from charris/backport-28750
  • 9005fc1 TYP: Update numpy/_core/numeric.pyi
  • 8adcf87 TYP: fix count_nonzero signature
  • 29f6e15 Merge pull request #28772 from charris/backport-28738
  • b0c01d5 TYP: fix incorrect random.Generator.integers return type
  • c200e8c Merge pull request #28758 from charris/backport-28747
  • cbafc53 TYP: some [arg]partition fixes
  • 90fdcf9 Merge pull request #28723 from charris/backport-28717
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [numpy](https://github.com/numpy/numpy) from 2.0.1 to 2.2.5.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.0.1...v2.2.5)

---
updated-dependencies:
- dependency-name: numpy
  dependency-version: 2.2.5
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from worgarside May 12, 2025 10:46
@dependabot dependabot bot added dependencies Pull requests that update a dependency file minor New functionality, backward-compatible python Pull requests that update Python code labels May 12, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 12, 2025

The reviewers field in the dependabot.yml file will be removed soon. Please use the code owners file to specify reviewers for Dependabot PRs. For more information, see this blog post.

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code minor New functionality, backward-compatible labels May 12, 2025
@coderabbitai
Copy link
Contributor

coderabbitai bot commented May 12, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Join our Discord community for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@worgarside-dev worgarside-dev enabled auto-merge (squash) May 12, 2025 10:46
@worgarside-dev worgarside-dev added bot:keep-updated Keep this PR updated from its base branch (bot command) and removed minor New functionality, backward-compatible labels May 12, 2025
@sonarqubecloud
Copy link

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github May 19, 2025

A newer version of numpy exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

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

Labels

bot:keep-updated Keep this PR updated from its base branch (bot command) 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