Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
MAINT: Prepare 2.3.x for further development
- Create 2.3.5-notes.rst
- Update release.rst
- Update pyproject.toml
- Remove hash generation from write_release

[skip azp] [skip cirrus] [skip actions]
  • Loading branch information
charris committed Oct 15, 2025
commit 807d0bcc86aa581c0280ba28515835eb782028b0
1 change: 1 addition & 0 deletions doc/source/release.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Release notes
.. toctree::
:maxdepth: 2

2.3.5 <release/2.3.5-notes>
2.3.4 <release/2.3.4-notes>
2.3.3 <release/2.3.3-notes>
2.3.2 <release/2.3.2-notes>
Expand Down
22 changes: 22 additions & 0 deletions doc/source/release/2.3.5-notes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
.. currentmodule:: numpy

=========================
NumPy 2.3.5 Release Notes
=========================

The NumPy 2.3.5 release is a patch release split between a number of maintenance
updates and bug fixes. This release supports Python versions 3.11-3.14.


Highlights
==========

*We'll choose highlights for this release near the end of the release cycle.*


.. if release snippets have been incorporated already, uncomment the follow
line (leave the `.. include:: directive)

.. **Content from release note snippets in doc/release/upcoming_changes:**

.. include:: notes-towncrier.rst
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ requires = [

[project]
name = "numpy"
version = "2.3.4"
version = "2.3.5"
# TODO: add `license-files` once PEP 639 is accepted (see meson-python#88)
license = {file = "LICENSE.txt"}

Expand Down
22 changes: 0 additions & 22 deletions tools/write_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,28 +79,6 @@ def write_release(version):

os.system(f"cp {notes} {target_rst}")

with open(str(target_rst), 'a') as f:
f.writelines(textwrap.dedent(
"""
Checksums
=========

MD5
---
::

"""))
f.writelines([f' {c}\n' for c in compute_hash(wheel_dir, md5)])

f.writelines(textwrap.dedent(
"""
SHA256
------
::

"""))
f.writelines([f' {c}\n' for c in compute_hash(wheel_dir, sha256)])

# translate README.rst to md for posting on GitHub
subprocess.run(
["pandoc", "-s", "-o", str(target_md), str(target_rst), "--wrap=preserve"],
Expand Down