Skip to content

Commit b3b6fa3

Browse files
committed
MAINT: Update main after 2.1.3 release.
- Add 2.1.3-changelog.rst - Add 2.1.3-notes.rst - Update release.rst - Update RELEASE_WALKTHROUGH.rst [skip ci]
1 parent 9c61400 commit b3b6fa3

File tree

4 files changed

+152
-31
lines changed

4 files changed

+152
-31
lines changed

doc/RELEASE_WALKTHROUGH.rst

Lines changed: 21 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ Add/drop Python versions
2929
When adding or dropping Python versions, three files need to be edited:
3030

3131
- .github/workflows/wheels.yml # for github cibuildwheel
32-
- .travis.yml # for cibuildwheel aarch64 builds
33-
- setup.py # for classifier and minimum version check.
32+
- tools/ci/cirrus_wheels.yml # for cibuildwheel aarch64/arm64 builds
33+
- pyproject.toml # for classifier and minimum version check.
3434

3535
Make these changes in an ordinary PR against main and backport if necessary.
36-
Using the `BLD:` prefix (build label) for the commit summary will cause the
37-
wheel builds to be run so that the changes will be tested, We currently release
38-
wheels for new Python versions after the first Python rc once manylinux and
36+
Add ``[wheel build]`` at the end of the title line of the commit summary so
37+
that wheel builds will be run to test the changes. We currently release wheels
38+
for new Python versions after the first Python rc once manylinux and
3939
cibuildwheel support it. For Python 3.11 we were able to release within a week
4040
of the rc1 announcement.
4141

@@ -50,7 +50,7 @@ Update 2.1.0 milestones
5050
-----------------------
5151

5252
Look at the issues/prs with 2.1.0 milestones and either push them off to a
53-
later version, or maybe remove the milestone.
53+
later version, or maybe remove the milestone. You may need to add a milestone.
5454

5555

5656
Make a release PR
@@ -59,7 +59,7 @@ Make a release PR
5959
Four documents usually need to be updated or created for the release PR:
6060

6161
- The changelog
62-
- The release-notes
62+
- The release notes
6363
- The ``.mailmap`` file
6464
- The ``pyproject.toml`` file
6565

@@ -115,20 +115,18 @@ Finish the release notes
115115
------------------------
116116

117117
If there are any release notes snippets in ``doc/release/upcoming_changes/``,
118-
run ``towncrier``, which will incorporate the snippets into the
119-
``doc/source/release/notes-towncrier.rst`` file, add it to the index, and
120-
delete the snippets::
118+
run ``spin notes``, which will incorporate the snippets into the
119+
``doc/source/release/notes-towncrier.rst`` file and delete the snippets::
121120

122-
$ towncrier
121+
$ spin notes
123122
$ gvim doc/source/release/notes-towncrier.rst doc/source/release/2.1.0-notes.rst
124123
125-
Once the ``notes-towncrier`` contents has been incorporated into
126-
the release note it should be cleared and the
127-
``.. include:: notes-towncrier.rst`` directive removed from the ``2.1.0-notes.rst``.
128-
The notes will always need some fixups, the introduction will need to be
129-
written, and significant changes should be called out. For patch releases the
130-
changelog text may also be appended, but not for the initial release as it is
131-
too long. Check previous release notes to see how this is done.
124+
Once the ``notes-towncrier`` contents has been incorporated into release note
125+
the ``.. include:: notes-towncrier.rst`` directive can be removed. The notes
126+
will always need some fixups, the introduction will need to be written, and
127+
significant changes should be called out. For patch releases the changelog text
128+
may also be appended, but not for the initial release as it is too long. Check
129+
previous release notes to see how this is done.
132130

133131

134132
Release walkthrough
@@ -309,6 +307,7 @@ Once everything seems satisfactory, update, commit and upload the changes::
309307
Create release notes for next release and edit them to set the version. These
310308
notes will be a skeleton and have little content::
311309

310+
$ git checkout -b begin-2.1.1 maintenance/2.1.x
312311
$ cp doc/source/release/template.rst doc/source/release/2.1.1-notes.rst
313312
$ gvim doc/source/release/2.1.1-notes.rst
314313
$ git add doc/source/release/2.1.1-notes.rst
@@ -324,7 +323,7 @@ Update the ``version`` in ``pyproject.toml``::
324323

325324
Commit the result::
326325

327-
$ git commit -a -m"MAINT: prepare 2.1.x for further development"
326+
$ git commit -a -m"MAINT: Prepare 2.1.x for further development"
328327
$ git push origin HEAD
329328

330329
Go to GitHub and make a PR. It should be merged quickly.
@@ -367,9 +366,10 @@ BCC so that replies will not be sent to that list.
367366
11. Post-release update main (skip for prereleases)
368367
---------------------------------------------------
369368

370-
Checkout main and forward port the documentation changes::
369+
Checkout main and forward port the documentation changes. You may also want
370+
to update these notes if procedures have changed or improved::
371371

372-
$ git checkout -b post-2.1.0-release-update
372+
$ git checkout -b post-2.1.0-release-update main
373373
$ git checkout maintenance/2.1.x doc/source/release/2.1.0-notes.rst
374374
$ git checkout maintenance/2.1.x doc/changelog/2.1.0-changelog.rst
375375
$ git checkout maintenance/2.1.x .mailmap # only if updated for release.
@@ -380,13 +380,3 @@ Checkout main and forward port the documentation changes::
380380

381381
Go to GitHub and make a PR.
382382

383-
384-
12. Update oldest-supported-numpy
385-
---------------------------------
386-
387-
If this release is the first one to support a new Python version, or the first
388-
to provide wheels for a new platform or PyPy version, the version pinnings
389-
in https://github.com/scipy/oldest-supported-numpy should be updated.
390-
Either submit a PR with changes to ``setup.cfg`` there, or open an issue with
391-
info on needed changes.
392-

doc/changelog/2.1.3-changelog.rst

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
2+
Contributors
3+
============
4+
5+
A total of 15 people contributed to this release. People with a "+" by their
6+
names contributed a patch for the first time.
7+
8+
* Abhishek Kumar +
9+
* Austin +
10+
* Benjamin A. Beasley +
11+
* Charles Harris
12+
* Christian Lorentzen
13+
* Marcel Telka +
14+
* Matti Picus
15+
* Michael Davidsaver +
16+
* Nathan Goldbaum
17+
* Peter Hawkins
18+
* Raghuveer Devulapalli
19+
* Ralf Gommers
20+
* Sebastian Berg
21+
* dependabot[bot]
22+
* kp2pml30 +
23+
24+
Pull requests merged
25+
====================
26+
27+
A total of 21 pull requests were merged for this release.
28+
29+
* `#27512 <https://github.com/numpy/numpy/pull/27512>`__: MAINT: prepare 2.1.x for further development
30+
* `#27537 <https://github.com/numpy/numpy/pull/27537>`__: MAINT: Bump actions/cache from 4.0.2 to 4.1.1
31+
* `#27538 <https://github.com/numpy/numpy/pull/27538>`__: MAINT: Bump pypa/cibuildwheel from 2.21.2 to 2.21.3
32+
* `#27539 <https://github.com/numpy/numpy/pull/27539>`__: MAINT: MSVC does not support #warning directive
33+
* `#27543 <https://github.com/numpy/numpy/pull/27543>`__: BUG: Fix user dtype can-cast with python scalar during promotion
34+
* `#27561 <https://github.com/numpy/numpy/pull/27561>`__: DEV: bump ``python`` to 3.12 in environment.yml
35+
* `#27562 <https://github.com/numpy/numpy/pull/27562>`__: BLD: update vendored Meson to 1.5.2
36+
* `#27563 <https://github.com/numpy/numpy/pull/27563>`__: BUG: weighted quantile for some zero weights (#27549)
37+
* `#27565 <https://github.com/numpy/numpy/pull/27565>`__: MAINT: Use miniforge for macos conda test.
38+
* `#27566 <https://github.com/numpy/numpy/pull/27566>`__: BUILD: satisfy gcc-13 pendantic errors
39+
* `#27569 <https://github.com/numpy/numpy/pull/27569>`__: BUG: handle possible error for PyTraceMallocTrack
40+
* `#27570 <https://github.com/numpy/numpy/pull/27570>`__: BLD: start building Windows free-threaded wheels [wheel build]
41+
* `#27571 <https://github.com/numpy/numpy/pull/27571>`__: BUILD: vendor tempita from Cython
42+
* `#27574 <https://github.com/numpy/numpy/pull/27574>`__: BUG: Fix warning "differs in levels of indirection" in npy_atomic.h...
43+
* `#27592 <https://github.com/numpy/numpy/pull/27592>`__: MAINT: Update Highway to latest
44+
* `#27593 <https://github.com/numpy/numpy/pull/27593>`__: BUG: Adjust numpy.i for SWIG 4.3 compatibility
45+
* `#27616 <https://github.com/numpy/numpy/pull/27616>`__: BUG: Fix Linux QEMU CI workflow
46+
* `#27668 <https://github.com/numpy/numpy/pull/27668>`__: BLD: Do not set __STDC_VERSION__ to zero during build
47+
* `#27669 <https://github.com/numpy/numpy/pull/27669>`__: ENH: fix wasm32 runtime type error in numpy._core
48+
* `#27672 <https://github.com/numpy/numpy/pull/27672>`__: BUG: Fix a reference count leak in npy_find_descr_for_scalar.
49+
* `#27673 <https://github.com/numpy/numpy/pull/27673>`__: BUG: fixes for StringDType/unicode promoters

doc/source/release.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Release notes
66
:maxdepth: 2
77

88
2.2.0 <release/2.2.0-notes>
9+
2.1.3 <release/2.1.3-notes>
910
2.1.2 <release/2.1.2-notes>
1011
2.1.1 <release/2.1.1-notes>
1112
2.1.0 <release/2.1.0-notes>

doc/source/release/2.1.3-notes.rst

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
.. currentmodule:: numpy
2+
3+
==========================
4+
NumPy 2.1.3 Release Notes
5+
==========================
6+
7+
NumPy 2.1.3 is a maintenance release that fixes bugs and regressions
8+
discovered after the 2.1.2 release.
9+
10+
The Python versions supported by this release are 3.10-3.13.
11+
12+
13+
Improvements
14+
============
15+
16+
* Fixed a number of issues around promotion for string ufuncs with StringDType
17+
arguments. Mixing StringDType and the fixed-width DTypes using the string
18+
ufuncs should now generate much more uniform results.
19+
20+
(`gh-27636 <https://github.com/numpy/numpy/pull/27636>`__)
21+
22+
23+
Changes
24+
=======
25+
26+
* `numpy.fix` now won't perform casting to a floating data-type for integer
27+
and boolean data-type input arrays.
28+
29+
(`gh-26766 <https://github.com/numpy/numpy/pull/26766>`__)
30+
31+
32+
Contributors
33+
============
34+
35+
A total of 15 people contributed to this release. People with a "+" by their
36+
names contributed a patch for the first time.
37+
38+
* Abhishek Kumar +
39+
* Austin +
40+
* Benjamin A. Beasley +
41+
* Charles Harris
42+
* Christian Lorentzen
43+
* Marcel Telka +
44+
* Matti Picus
45+
* Michael Davidsaver +
46+
* Nathan Goldbaum
47+
* Peter Hawkins
48+
* Raghuveer Devulapalli
49+
* Ralf Gommers
50+
* Sebastian Berg
51+
* dependabot[bot]
52+
* kp2pml30 +
53+
54+
55+
Pull requests merged
56+
====================
57+
58+
A total of 21 pull requests were merged for this release.
59+
60+
* `#27512 <https://github.com/numpy/numpy/pull/27512>`__: MAINT: prepare 2.1.x for further development
61+
* `#27537 <https://github.com/numpy/numpy/pull/27537>`__: MAINT: Bump actions/cache from 4.0.2 to 4.1.1
62+
* `#27538 <https://github.com/numpy/numpy/pull/27538>`__: MAINT: Bump pypa/cibuildwheel from 2.21.2 to 2.21.3
63+
* `#27539 <https://github.com/numpy/numpy/pull/27539>`__: MAINT: MSVC does not support #warning directive
64+
* `#27543 <https://github.com/numpy/numpy/pull/27543>`__: BUG: Fix user dtype can-cast with python scalar during promotion
65+
* `#27561 <https://github.com/numpy/numpy/pull/27561>`__: DEV: bump ``python`` to 3.12 in environment.yml
66+
* `#27562 <https://github.com/numpy/numpy/pull/27562>`__: BLD: update vendored Meson to 1.5.2
67+
* `#27563 <https://github.com/numpy/numpy/pull/27563>`__: BUG: weighted quantile for some zero weights (#27549)
68+
* `#27565 <https://github.com/numpy/numpy/pull/27565>`__: MAINT: Use miniforge for macos conda test.
69+
* `#27566 <https://github.com/numpy/numpy/pull/27566>`__: BUILD: satisfy gcc-13 pendantic errors
70+
* `#27569 <https://github.com/numpy/numpy/pull/27569>`__: BUG: handle possible error for PyTraceMallocTrack
71+
* `#27570 <https://github.com/numpy/numpy/pull/27570>`__: BLD: start building Windows free-threaded wheels [wheel build]
72+
* `#27571 <https://github.com/numpy/numpy/pull/27571>`__: BUILD: vendor tempita from Cython
73+
* `#27574 <https://github.com/numpy/numpy/pull/27574>`__: BUG: Fix warning "differs in levels of indirection" in npy_atomic.h...
74+
* `#27592 <https://github.com/numpy/numpy/pull/27592>`__: MAINT: Update Highway to latest
75+
* `#27593 <https://github.com/numpy/numpy/pull/27593>`__: BUG: Adjust numpy.i for SWIG 4.3 compatibility
76+
* `#27616 <https://github.com/numpy/numpy/pull/27616>`__: BUG: Fix Linux QEMU CI workflow
77+
* `#27668 <https://github.com/numpy/numpy/pull/27668>`__: BLD: Do not set __STDC_VERSION__ to zero during build
78+
* `#27669 <https://github.com/numpy/numpy/pull/27669>`__: ENH: fix wasm32 runtime type error in numpy._core
79+
* `#27672 <https://github.com/numpy/numpy/pull/27672>`__: BUG: Fix a reference count leak in npy_find_descr_for_scalar.
80+
* `#27673 <https://github.com/numpy/numpy/pull/27673>`__: BUG: fixes for StringDType/unicode promoters
81+

0 commit comments

Comments
 (0)