Skip to content

Commit 6b9ef48

Browse files
committed
REL: Prepare for the NumPy 2.1.2 release [wheel build]
- Create 2.1.2-changelog.rst - Update 2.1.2-notes.rst - Update .mailmap
1 parent 6d85a24 commit 6b9ef48

File tree

5 files changed

+79
-2
lines changed

5 files changed

+79
-2
lines changed

.mailmap

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ Imen Rajhi <imen.rajhi.ir@gmail.com>
304304
Inessa Pawson <albuscode@gmail.com>
305305
Irina Maria Mocan <28827042+IrinaMaria@users.noreply.github.com>
306306
Irvin Probst <irvin.probst@ensta-bretagne.fr>
307+
Ishan Koradia <39583356+Ishankoradia@users.noreply.github.com>
307308
Ivan Meleshko <vn.mlshk@gmail.com>
308309
Isabela Presedo-Floyd <irpf.design@gmail.com> <ipresedo@calpoly.edu>
309310
Ganesh Kathiresan <ganesh3597@gmail.com>
@@ -620,6 +621,7 @@ Simon Gasse <simon.gasse@gmail.com>
620621
Simon Gasse <simon.gasse@gmail.com> <sgasse@users.noreply.github.com>
621622
Sista Seetaram <hanumaseetaram@gmail.com>
622623
Sista Seetaram <hanumaseetaram@gmail.com> <65669128+sistaseetaram@users.noreply.github.com>
624+
Slava Gorloff <31761951+gorloffslava@users.noreply.github.com>
623625
Søren Rasmussen <soren.rasmussen@alexandra.dk> <47032123+sorenrasmussenai@users.noreply.github.com>
624626
Spencer Hill <spencerahill@gmail.com> <shill@atmos.ucla.edu>
625627
Srimukh Sripada <git@srimukh.com>

doc/changelog/2.1.2-changelog.rst

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
2+
Contributors
3+
============
4+
5+
A total of 11 people contributed to this release. People with a "+" by their
6+
names contributed a patch for the first time.
7+
8+
* Charles Harris
9+
* Chris Sidebottom
10+
* Ishan Koradia +
11+
* João Eiras +
12+
* Katie Rust +
13+
* Marten van Kerkwijk
14+
* Matti Picus
15+
* Nathan Goldbaum
16+
* Peter Hawkins
17+
* Pieter Eendebak
18+
* Slava Gorloff +
19+
20+
Pull requests merged
21+
====================
22+
23+
A total of 14 pull requests were merged for this release.
24+
25+
* `#27333 <https://github.com/numpy/numpy/pull/27333>`__: MAINT: prepare 2.1.x for further development
26+
* `#27400 <https://github.com/numpy/numpy/pull/27400>`__: BUG: apply critical sections around populating the dispatch cache
27+
* `#27406 <https://github.com/numpy/numpy/pull/27406>`__: BUG: Stub out get_build_msvc_version if distutils.msvccompiler...
28+
* `#27416 <https://github.com/numpy/numpy/pull/27416>`__: BUILD: fix missing include for std::ptrdiff_t for C++23 language...
29+
* `#27433 <https://github.com/numpy/numpy/pull/27433>`__: BLD: pin setuptools to avoid breaking numpy.distutils
30+
* `#27437 <https://github.com/numpy/numpy/pull/27437>`__: BUG: Allow unsigned shift argument for np.roll
31+
* `#27439 <https://github.com/numpy/numpy/pull/27439>`__: BUG: Disable SVE VQSort
32+
* `#27471 <https://github.com/numpy/numpy/pull/27471>`__: BUG: rfftn axis bug
33+
* `#27479 <https://github.com/numpy/numpy/pull/27479>`__: BUG: Fix extra decref of PyArray_UInt8DType.
34+
* `#27480 <https://github.com/numpy/numpy/pull/27480>`__: CI: use PyPI not scientific-python-nightly-wheels for CI doc...
35+
* `#27481 <https://github.com/numpy/numpy/pull/27481>`__: MAINT: Check for SVE support on demand
36+
* `#27484 <https://github.com/numpy/numpy/pull/27484>`__: BUG: initialize the promotion state to be weak
37+
* `#27501 <https://github.com/numpy/numpy/pull/27501>`__: MAINT: Bump pypa/cibuildwheel from 2.20.0 to 2.21.2
38+
* `#27506 <https://github.com/numpy/numpy/pull/27506>`__: BUG: avoid segfault on bad arguments in ndarray.__array_function__

doc/source/release/2.1.2-notes.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,37 @@ The Python versions supported by this release are 3.10-3.13.
1212
Contributors
1313
============
1414

15+
A total of 11 people contributed to this release. People with a "+" by their
16+
names contributed a patch for the first time.
17+
18+
* Charles Harris
19+
* Chris Sidebottom
20+
* Ishan Koradia +
21+
* João Eiras +
22+
* Katie Rust +
23+
* Marten van Kerkwijk
24+
* Matti Picus
25+
* Nathan Goldbaum
26+
* Peter Hawkins
27+
* Pieter Eendebak
28+
* Slava Gorloff +
29+
1530
Pull requests merged
1631
====================
1732

33+
A total of 14 pull requests were merged for this release.
34+
35+
* `#27333 <https://github.com/numpy/numpy/pull/27333>`__: MAINT: prepare 2.1.x for further development
36+
* `#27400 <https://github.com/numpy/numpy/pull/27400>`__: BUG: apply critical sections around populating the dispatch cache
37+
* `#27406 <https://github.com/numpy/numpy/pull/27406>`__: BUG: Stub out get_build_msvc_version if distutils.msvccompiler...
38+
* `#27416 <https://github.com/numpy/numpy/pull/27416>`__: BUILD: fix missing include for std::ptrdiff_t for C++23 language...
39+
* `#27433 <https://github.com/numpy/numpy/pull/27433>`__: BLD: pin setuptools to avoid breaking numpy.distutils
40+
* `#27437 <https://github.com/numpy/numpy/pull/27437>`__: BUG: Allow unsigned shift argument for np.roll
41+
* `#27439 <https://github.com/numpy/numpy/pull/27439>`__: BUG: Disable SVE VQSort
42+
* `#27471 <https://github.com/numpy/numpy/pull/27471>`__: BUG: rfftn axis bug
43+
* `#27479 <https://github.com/numpy/numpy/pull/27479>`__: BUG: Fix extra decref of PyArray_UInt8DType.
44+
* `#27480 <https://github.com/numpy/numpy/pull/27480>`__: CI: use PyPI not scientific-python-nightly-wheels for CI doc...
45+
* `#27481 <https://github.com/numpy/numpy/pull/27481>`__: MAINT: Check for SVE support on demand
46+
* `#27484 <https://github.com/numpy/numpy/pull/27484>`__: BUG: initialize the promotion state to be weak
47+
* `#27501 <https://github.com/numpy/numpy/pull/27501>`__: MAINT: Bump pypa/cibuildwheel from 2.20.0 to 2.21.2
48+
* `#27506 <https://github.com/numpy/numpy/pull/27506>`__: BUG: avoid segfault on bad arguments in ndarray.__array_function__

numpy/distutils/mingw32ccompiler.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,13 @@
2424

2525
import distutils.cygwinccompiler
2626
from distutils.unixccompiler import UnixCCompiler
27-
from distutils.msvccompiler import get_build_version as get_build_msvc_version
27+
28+
try:
29+
from distutils.msvccompiler import get_build_version as get_build_msvc_version
30+
except ImportError:
31+
def get_build_msvc_version():
32+
return None
33+
2834
from distutils.errors import UnknownFileError
2935
from numpy.distutils.misc_util import (msvc_runtime_library,
3036
msvc_runtime_version,

tools/lint_diff.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[pycodestyle]
2-
max_line_length = 79
2+
max_line_length = 88
33
statistics = True
44
ignore = E121,E122,E123,E125,E126,E127,E128,E226,E241,E251,E265,E266,E302,E402,E704,E712,E721,E731,E741,W291,W293,W391,W503,W504
55
exclude = numpy/__config__.py,numpy/typing/tests/data,.spin/cmds.py

0 commit comments

Comments
 (0)