Skip to content

Commit

Permalink
Merge pull request #25997 from charris/prepare-2.0.0b1-3
Browse files Browse the repository at this point in the history
REL: Prepare for the NumPy 2.0.0b1 release (3)
  • Loading branch information
charris committed Mar 11, 2024
2 parents 9e5a197 + 52d9b96 commit afea8fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion doc/changelog/2.0.0-changelog.rst
Expand Up @@ -199,7 +199,7 @@ names contributed a patch for the first time.
Pull requests merged
====================

A total of 965 pull requests were merged for this release.
A total of 968 pull requests were merged for this release.

* `#15457 <https://github.com/numpy/numpy/pull/15457>`__: BUG: Adds support for array parameter declaration in fortran...
* `#21199 <https://github.com/numpy/numpy/pull/21199>`__: ENH: expose datetime.c functions to cython
Expand Down Expand Up @@ -1166,4 +1166,7 @@ A total of 965 pull requests were merged for this release.
* `#25977 <https://github.com/numpy/numpy/pull/25977>`__: REL: Prepare for the NumPy 2.0.0b1 release [wheel build]
* `#25983 <https://github.com/numpy/numpy/pull/25983>`__: CI: fix last docbuild warnings
* `#25986 <https://github.com/numpy/numpy/pull/25986>`__: BLD: push a tag builds a wheel
* `#25987 <https://github.com/numpy/numpy/pull/25987>`__: REL: Prepare for the NumPy 2.0.0b1 release (2) [wheel build]
* `#25994 <https://github.com/numpy/numpy/pull/25994>`__: DOC: remove reverted release blurb [skip actions][skip azp][skip...
* `#25996 <https://github.com/numpy/numpy/pull/25996>`__: CI: don't use ``fetch-tags`` in wheel build jobs
6 changes: 3 additions & 3 deletions doc/source/release/2.0.0-notes.rst
Expand Up @@ -14,7 +14,7 @@ NumPy 2.0.0 Release Notes

NumPy 2.0.0 is the first major release since 2006. It is the result of 10
months of development since the last feature release and is the work of 190
contributors spread over 965 pull requests. It contains a large number of
contributors spread over 968 pull requests. It contains a large number of
exciting new features as well as changes to both the Python and C APIs.

This major release includes breaking changes that could not happen in a regular
Expand Down Expand Up @@ -417,7 +417,7 @@ unicode strings rather than bytes.

* The ``f2py.compile()`` helper has been removed because it leaked memory, has
been marked as experimental for several years now, and was implemented as a
thin ``subprocess.run`` wrapper. It is also one of the test bottlenecks. See
thin ``subprocess.run`` wrapper. It was also one of the test bottlenecks. See
`gh-25122 <https://github.com/numpy/numpy/issues/25122>`_ for the full
rationale. It also used several ``np.distutils`` features which are too
fragile to be ported to work with ``meson``.
Expand Down Expand Up @@ -712,7 +712,7 @@ NumPy 2.0 C API removals
use ``PyArray_CopyInto`` and if absolutely needed ``PyArray_CopyAnyInto``
(the latter does a flat copy).

* ``PyArray_FillObjectArray`` is removed, its only true use is for
* ``PyArray_FillObjectArray`` is removed, its only true use was for
implementing ``np.empty``. Create a new empty array or use
``PyArray_FillWithScalar()`` (decrefs existing objects).

Expand Down
2 changes: 1 addition & 1 deletion numpy/fft/tests/test_pocketfft.py
Expand Up @@ -38,7 +38,7 @@ def test_identity_long_short(self, dtype):
# Test with explicitly given number of points, both for n
# smaller and for n larger than the input size.
maxlen = 16
atol = 4 * np.spacing(np.array(1., dtype=dtype))
atol = 5 * np.spacing(np.array(1., dtype=dtype))
x = random(maxlen).astype(dtype) + 1j*random(maxlen).astype(dtype)
xx = np.concatenate([x, np.zeros_like(x)])
xr = random(maxlen).astype(dtype)
Expand Down

0 comments on commit afea8fd

Please sign in to comment.