NumPy 1.22.1 has been released.

Hi All, On behalf of the NumPy team, I'm pleased to announce the release of NumPy 1.22.1. NumPy 1.22.1 fixes several bugs discovered after the 1.22.0 release. Notable fixes are: - Fix for f2PY docstring problems (SciPy) - Fix for reduction type problems (AstroPy) - Fixes for various typing bugs. The Python versions supported in this release are 3.8-3.10. Wheels can be downloaded from PyPI <https://pypi.org/project/numpy/1.22.1>; source archives, release notes, and wheel hashes are available on Github <https://github.com/numpy/numpy/releases/tag/v1.22.1>. Linux users will need pip >= 0.19.3 in order to install the manylinux2014 wheels. A recent version of pip is needed to install the universal2 macos wheels. *Contributors* A total of 14 people contributed to this release. People with a "+" by their names contributed a patch for the first time. - Arryan Singh - Bas van Beek - Charles Harris - Denis Laxalde - Isuru Fernando - Kevin Sheppard - Matthew Barber - Matti Picus - Melissa Weber Mendonça - Mukulika Pahari - Omid Rajaei + - Pearu Peterson - Ralf Gommers - Sebastian Berg *Pull requests merged* A total of 20 pull requests were merged for this release. - #20702: MAINT, DOC: Post 1.22.0 release fixes. - #20703: DOC, BUG: Use pngs instead of svgs. - #20704: DOC: Fixed the link on user-guide landing page - #20714: BUG: Restore vc141 support - #20724: BUG: Fix array dimensions solver for multidimensional arguments... - #20725: TYP: change type annotation for ``__array_namespace__`` to ModuleType - #20726: TYP, MAINT: Allow ``ndindex`` to accept integer tuples - #20757: BUG: Relax dtype identity check in reductions - #20763: TYP: Allow time manipulation functions to accept ``date`` and ``timedelta``... - #20768: TYP: Relax the type of ``ndarray.__array_finalize__`` - #20795: MAINT: Raise RuntimeError if setuptools version is too recent. - #20796: BUG, DOC: Fixes SciPy docs build warnings - #20797: DOC: fix OpenBLAS version in release note - #20798: PERF: Optimize array check for bounded 0,1 values - #20805: BUG: Fix that reduce-likes honor out always (and live in the... - #20806: BUG: ``array_api.argsort(descending=True)`` respects relative... - #20807: BUG: Allow integer inputs for pow-related functions in ``array_api`` - #20814: DOC: Refer to NumPy, not pandas, in main page - #20815: DOC: Update Copyright to 2022 [License] - #20819: BUG: Return correctly shaped inverse indices in array_api set... Cheers, Charles Harris

Dear Charles, Thank you for your work on the numpy releases, including v1.22.1. I noticed that for Windows Python 3.10, there is only a 64-bit wheel: numpy-1.22.1-cp310-cp310-win_amd64.whl That is true both on PyPI and in the list of checksums here: https://github.com/numpy/numpy/releases/tag/v1.22.1 However, for older versions of Python there are also 32-bit Windows wheels, e.g. numpy-1.22.1-cp39-cp39-win32.whl numpy-1.22.1-cp39-cp39-win_amd64.whl numpy-1.22.1-cp38-cp38-win32.whl numpy-1.22.1-cp38-cp38-win_amd64.whl Is this expected? My interest is in building Windows Wheels for packages compiling against NumPy. Thank you, Peter On Fri, Jan 14, 2022 at 8:29 PM Charles R Harris <charlesr.harris@gmail.com> wrote:
Hi All,
On behalf of the NumPy team, I'm pleased to announce the release of NumPy 1.22.1. NumPy 1.22.1 fixes several bugs discovered after the 1.22.0 release. Notable fixes are:
- Fix for f2PY docstring problems (SciPy) - Fix for reduction type problems (AstroPy) - Fixes for various typing bugs.
The Python versions supported in this release are 3.8-3.10. Wheels can be downloaded from PyPI <https://pypi.org/project/numpy/1.22.1>; source archives, release notes, and wheel hashes are available on Github <https://github.com/numpy/numpy/releases/tag/v1.22.1>. Linux users will need pip >= 0.19.3 in order to install the manylinux2014 wheels. A recent version of pip is needed to install the universal2 macos wheels.
*Contributors*
A total of 14 people contributed to this release. People with a "+" by their names contributed a patch for the first time.
- Arryan Singh - Bas van Beek - Charles Harris - Denis Laxalde - Isuru Fernando - Kevin Sheppard - Matthew Barber - Matti Picus - Melissa Weber Mendonça - Mukulika Pahari - Omid Rajaei + - Pearu Peterson - Ralf Gommers - Sebastian Berg
*Pull requests merged* A total of 20 pull requests were merged for this release.
- #20702: MAINT, DOC: Post 1.22.0 release fixes. - #20703: DOC, BUG: Use pngs instead of svgs. - #20704: DOC: Fixed the link on user-guide landing page - #20714: BUG: Restore vc141 support - #20724: BUG: Fix array dimensions solver for multidimensional arguments... - #20725: TYP: change type annotation for ``__array_namespace__`` to ModuleType - #20726: TYP, MAINT: Allow ``ndindex`` to accept integer tuples - #20757: BUG: Relax dtype identity check in reductions - #20763: TYP: Allow time manipulation functions to accept ``date`` and ``timedelta``... - #20768: TYP: Relax the type of ``ndarray.__array_finalize__`` - #20795: MAINT: Raise RuntimeError if setuptools version is too recent. - #20796: BUG, DOC: Fixes SciPy docs build warnings - #20797: DOC: fix OpenBLAS version in release note - #20798: PERF: Optimize array check for bounded 0,1 values - #20805: BUG: Fix that reduce-likes honor out always (and live in the... - #20806: BUG: ``array_api.argsort(descending=True)`` respects relative... - #20807: BUG: Allow integer inputs for pow-related functions in ``array_api`` - #20814: DOC: Refer to NumPy, not pandas, in main page - #20815: DOC: Update Copyright to 2022 [License] - #20819: BUG: Return correctly shaped inverse indices in array_api set...
Cheers,
Charles Harris _______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-leave@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: p.j.a.cock@googlemail.com

On 18/1/22 5:37 pm, Peter Cock wrote:
Dear Charles,
Thank you for your work on the numpy releases, including v1.22.1.
I noticed that for Windows Python 3.10, there is only a 64-bit wheel:
...
Is this expected? My interest is in building Windows Wheels for packages compiling against NumPy.
Thank you,
Peter
Hi Peter. This is intentional, as our wheel building system is based on Azure CI, and they did not provide 32-bit python for 3.10 for windows. We decided to "solve" this and other wheel building issues by moving to cibuildwheel in github actions in the main repo (building on travis-ci for the aarch64 wheels) [1] for the 1.23 release. Digging around in the azure image repo issues, I see they may have restored 32-bit python [2] in mid Nov 2021, when we were already well into the 1.22 release cycle. I guess we could try to see if it works now. A PR to modify the azure pipelines yml would move us in this direction. I don't know that even if the PR is successful if we would put the wheels up on PyPI, that decision is up to the release manager. Matti [1] https://github.com/numpy/numpy/issues/20277 [2] https://github.com/actions/virtual-environments/issues/4400 [3] https://github.com/MacPython/numpy-wheels/blob/main/azure-pipelines.yml

That's helpful and informative, thank you Matti. It will also be interesting to see how many calls you get for the missing wheel (if any). I note that the Python.org download page says quite clearly that the 64-bit Windows installer is recommended. Kind regards, Peter On Tue, Jan 18, 2022 at 7:24 PM Matti Picus <matti.picus@gmail.com> wrote:
On 18/1/22 5:37 pm, Peter Cock wrote:
Dear Charles,
Thank you for your work on the numpy releases, including v1.22.1.
I noticed that for Windows Python 3.10, there is only a 64-bit wheel:
...
Is this expected? My interest is in building Windows Wheels for packages compiling against NumPy.
Thank you,
Peter
Hi Peter. This is intentional, as our wheel building system is based on Azure CI, and they did not provide 32-bit python for 3.10 for windows. We decided to "solve" this and other wheel building issues by moving to cibuildwheel in github actions in the main repo (building on travis-ci for the aarch64 wheels) [1] for the 1.23 release. Digging around in the azure image repo issues, I see they may have restored 32-bit python [2] in mid Nov 2021, when we were already well into the 1.22 release cycle. I guess we could try to see if it works now. A PR to modify the azure pipelines yml would move us in this direction. I don't know that even if the PR is successful if we would put the wheels up on PyPI, that decision is up to the release manager.
Matti
[1] https://github.com/numpy/numpy/issues/20277
[2] https://github.com/actions/virtual-environments/issues/4400
[3] https://github.com/MacPython/numpy-wheels/blob/main/azure-pipelines.yml
_______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-leave@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: p.j.a.cock@googlemail.com
participants (3)
-
Charles R Harris
-
Matti Picus
-
Peter Cock