-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NumPy 2.0 development status & announcements #24300
Comments
Numpy 2.0 will release in a few months time and we don't know how that will affect us. Until there is a release candidate for numpy 2.0 we should set a 1.x.x as an strict requirement. See [1]. [1] numpy/numpy#24300
This is in accordance with numpy/numpy#24300
Following the recommendation from numpy/numpy#24300
Following the advice from numpy/numpy#24300
Following the advice from numpy/numpy#24300
As recommended in numpy/numpy#24300 it is set to less than 2 due to upcoming breaking changes.
This is in accordance with numpy/numpy#24300
As recommended in numpy/numpy#24300 it is set to less than 2 due to upcoming breaking changes.
Numpy 2.0 will release in a few months time and we don't know how that will affect us. Until there is a release candidate for numpy 2.0 we should set a 1.x.x as an strict requirement. See [1]. [1] numpy/numpy#24300
Numpy 2.0 will release in a few months time and we don't know how that will affect us. Until there is a release candidate for numpy 2.0 we should set a 1.x.x as an strict requirement. See [1]. [1] numpy/numpy#24300
Numpy 2.0 will release in a few months time and we don't know how that will affect us. Until there is a release candidate for numpy 2.0 we should set a 1.x.x as an strict requirement. See [1]. [1] numpy/numpy#24300
Numpy 2.0 will release in a few months time and we don't know how that will affect us. Until there is a release candidate for numpy 2.0 we should set a 1.x.x as an strict requirement. See [1]. [1] numpy/numpy#24300
Numpy 2.0 will release in a few months time and we don't know how that will affect us. Until there is a release candidate for numpy 2.0 we should set a 1.x.x as an strict requirement. See [1]. [1] numpy/numpy#24300
Pushed this off to 2.0.1 to clear the 2.0.0 milestone. |
The 2.0.0 release was uploaded to PyPI about 5 hours ago 🎉. Thanks to everyone who helped make this possible! We'll leave this issue open for a bit longer, in case more public service announcements turn out to be needed. |
@rgommers the NumPy 2.0 docs is not yet available, any ETA? |
@leofang I suspect in about an hour, see numpy/doc#24 (there was some difficulty with building the docs on newer Python versions which delayed it). |
Doc pages for NumPy 2.0 are up: https://numpy.org/doc/stable |
@rgommers can we close this now? |
Yes, I think we're good here. Everything went well with the 2.0 release, 2.0.1 is out now (a set of fairly minor fixes), and I don't think we expect to have to make new 2.0-related announcements anymore (which is why we kept this issue open). Thanks everyone! |
The purpose of this issue is to serve as a brief "umbrella issue" which (a) links out to some key design proposals and other places where design changes and guidance for the 2.0 release are described, and (b) everyone who is interested can subscribe to in order to get updates from maintainers around the 2.0 release (not everyone may want to subscribe to the mailing list). This issue will remain pinned for high visibility.
The tentative release date for the first release candidate of NumPy 2.0 is around 1 Mar 2024, and the final release 6-8 weeks later.
EDIT: this issue is for announcements, please do not start technical discussions here
Design changes / proposals
NumPy 2.0 Project Board: https://github.com/orgs/numpy/projects/9
Main NumPy Enhancement Proposals for 2.0:
Slides from the NumPy 2.0 Developer Meeting in April'23: https://github.com/numpy/archive/tree/main/2.0_developer_meeting
Key guidance for users and downstream package authors
numpy<2.0
requirement in your package's dependency metadata (for releases only, not on your main dev branch). Rationale: the NumPy C ABI will change in 2.0, so any compiled extension modules that rely on NumPy are likely to break, they need to be recompiled.numpy<2.0
requirement to your metadata. Rationale: we will do a significant cleanup (see NEP 52), so unless you only use modern/recommended functions and object, your code is likely to require at least some adjustments.from numpy import *
, or importing any private modules likenumpy.core
. See https://github.com/numpy/numpy/blob/main/numpy/tests/test_public_api.py#L114-L126 for what we consider public/private. If it's not in the NumPy docs or in the list of public modules there, don't use it!numpy
shortly after the first NumPy 2.0 release candidate is released (probably in Dec 2023). Rationale: at that point, you can release packages that will work with both 2.0 and 1.X, and hence your own end users will not be seeing much/any disruption (you wantpip install mypacackage
to continue working on the day NumPy 2.0 is released).Compatibility status of downstream packages
See #26191
The text was updated successfully, but these errors were encountered: