NumPy 2.1.0 provides support for the upcoming Python 3.13 release and
drops support for Python 3.9. In addition to the usual bug fixes and
updated Python support, it helps get us back into our usual release
cycle after the extended development of 2.0. The highlights for this
release are:
Support for the array-api 2023.12 standard.
Support for Python 3.13.
Preliminary support for free threaded Python 3.13.
Python versions 3.10-3.13 are supported in this release.
New functions
New function numpy.unstack
A new function np.unstack(array, axis=...) was added, which splits an
array into a tuple of arrays along an axis. It serves as the inverse of
[numpy.stack]{.title-ref}.
The fix_imports keyword argument in numpy.save is deprecated.
Since NumPy 1.17, numpy.save uses a pickle protocol that no longer
supports Python 2, and ignored fix_imports keyword. This keyword
is kept only for backward compatibility. It is now deprecated.
Passing non-integer inputs as the first argument of
[bincount]{.title-ref} is now deprecated, because such inputs are
silently cast to integers with no warning about loss of precision.
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 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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the production-dependencies group with 4 updates in the / directory: matplotlib, numpy, shapely and watchfiles.
Updates
matplotlib
from 3.9.1 to 3.9.2Release notes
Sourced from matplotlib's releases.
Commits
a254b68
REL: 3.9.2056f307
DOC: Create release notes for 3.9.28d867ce
Merge branch 'v3.9.1-doc' into v3.9.x7be8675
Merge pull request #28687 from QuLogic/static-msvc3ed3d7b
Merge pull request #28695 from meeseeksmachine/auto-backport-of-pr-27797-on-v...8a62afa
BLD: Include MSVCP140 runtime statically81be26f
Merge pull request #28688 from QuLogic/auto-backport-of-pr-28668-on-v3.9.xd88a582
Backport PR #27797: DOC: Use video files for saving animationse3159ba
Merge pull request #28692 from meeseeksmachine/auto-backport-of-pr-28632-on-v...465401e
Backport PR #28632: DOC: Tell sphinx-gallery to link mpl_toolkits from our buildUpdates
numpy
from 2.0.1 to 2.1.0Release notes
Sourced from numpy's releases.
... (truncated)
Commits
2f7fe64
Merge pull request #27236 from charris/prepare-2.1.0b6f434f
REL: Prepare for the NumPy 2.1.0 release [wheel build]3cf9394
Merge pull request #27234 from charris/backport-259847443dcc
Merge pull request #27233 from charris/backport-2722385b1cab
BUG: Allow fitting of degree zero polynomials with Polynomial.fit395a81d
DOC: reword discussion about shared arrays to hopefully be clearer5af2e96
Move NUMUSERTYPES thread safety discussion to legacy DType API docsd902c24
DOC: add docs on thread safety in NumPyc080180
Merge pull request #27229 from charris/backport-2722644ce7e8
BUG: FixPyArray_ZeroContiguousBuffer
(resize) with struct dtypesUpdates
shapely
from 2.0.5 to 2.0.6Release notes
Sourced from shapely's releases.
Changelog
Sourced from shapely's changelog.
Commits
5a4207d
RLS: 2.0.6c65fa42
Bump pypa/cibuildwheel from 2.19.2 to 2.20.0 (build Python 3.13 wheels) (#2103)2f411ee
DOC/RLS: starts changelog for 2.0.6 (#2113)225445c
BLD: suppress 'incompatible-function-pointer-types' error for clang>=16 (#2114)3ab8fbc
TST/CI: enable testing Python 3.13, NumPy 2.1, GEOS 3.13 (#2105)2a83905
Fix compatibility with numpy 2.1 dev to cast GeometryType to int as ufunc inp...Updates
watchfiles
from 0.22.0 to 0.23.0Release notes
Sourced from watchfiles's releases.
Commits
4d54a10
useintern!
in rust code (#292)40fb291
Full CI build by default (#290)dd4a137
fix windows build (#291)d1f0ca8
remove watchfiles from ignore directory list (#249)e3ab1d1
Add support for Python 3.13 (#277)c64a7a9
Bump certifi from 2024.2.2 to 2024.7.4 in /requirements (#285)ce29bf3
Bump urllib3 from 2.2.1 to 2.2.2 in /requirements (#283)a426d4e
Bump requests from 2.31.0 to 2.32.0 in /requirements (#278)ea0683a
Update mkdocstring python handler option key (#281)a81a7c6
Bump up PyO3 to 0.22.2 (#287)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 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