Bump numpy from 2.0.2 to 2.2.4
Bumps numpy from 2.0.2 to 2.2.4.
Release notes
Sourced from numpy's releases.
2.2.4 (Mar 16, 2024)
NumPy 2.2.4 Release Notes
NumPy 2.2.4 is a patch release that fixes bugs found after the 2.2.3 release. There are a large number of typing improvements, the rest of the changes are the usual mix of bugfixes and platform maintenace.
This release supports Python versions 3.10-3.13.
Contributors
A total of 15 people contributed to this release. People with a "+" by their names contributed a patch for the first time.
- Abhishek Kumar
- Andrej Zhilenkov
- Andrew Nelson
- Charles Harris
- Giovanni Del Monte
- Guan Ming(Wesley) Chiu +
- Jonathan Albrecht +
- Joren Hammudoglu
- Mark Harfouche
- Matthieu Darbois
- Nathan Goldbaum
- Pieter Eendebak
- Sebastian Berg
- Tyler Reddy
- lvllvl +
Pull requests merged
A total of 17 pull requests were merged for this release.
- #28333: MAINT: Prepare 2.2.x for further development.
- #28348: TYP: fix positional- and keyword-only params in astype, cross...
- #28377: MAINT: Update FreeBSD version and fix test failure
- #28379: BUG: numpy.loadtxt reads only 50000 lines when skip_rows >= max_rows
- #28385: BUG: Make np.nonzero threading safe
- #28420: BUG: safer bincount casting (backport to 2.2.x)
- #28422: BUG: Fix building on s390x with clang
- #28423: CI: use QEMU 9.2.2 for Linux Qemu tests
- #28424: BUG: skip legacy dtype multithreaded test on 32 bit runners
- #28435: BUG: Fix searchsorted and CheckFromAny byte-swapping logic
- #28449: BUG: sanity check
__array_interface__number of dimensions- #28510: MAINT: Hide decorator from pytest traceback
- #28512: TYP: Typing fixes backported from #28452, #28491, #28494
- #28521: TYP: Backport fixes from #28505, #28506, #28508, and #28511
- #28533: TYP: Backport typing fixes from main (2)
- #28534: TYP: Backport typing fixes from main (3)
... (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.txtfiles 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
keyringapp 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
3b37785Merge pull request #28543 from charris/prepare-2.2.46f94b15REL: Prepare for the NumPy 2.2.4 release [wheel build]1188650Merge pull request #28542 from charris/backport-typing-418795c2TYP: fix stubtest error innumpy.ma(#28541)110bb8eTYP: fix typing errors innumpy.ndarray(#28540)bed0064TYP: fix stubtest errors innumpy.testing(#28539)2ff0b88TYP: fix stubtest errors innumpy.random(#28538)ecf97aeTYP: fix stubtest errors innumpy.mat[rix]lib(#28537)5bdbd6dTYP: fix stubtest errors innumpy._globals(#28536)8f561dbTYP: fix stubtest errors innumpy._core(#28535)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.