From e9615d452f8464a5509698b93887b96ff2574bfa Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Thu, 19 Nov 2026 22:30:39 +0100 Subject: [PATCH] Prepare release 0.14.0 --- CITATION.cff | 4 +- changelog | 6 +++ codemeta.json | 18 ++++--- doc/release_notes.txt | 1 + doc/releases/0.14.0.txt | 107 ++++++++++++++++++++++++++++++++++++++++ pyNN/__init__.py | 2 +- pyproject.toml | 2 +- 7 files changed, 131 insertions(+), 9 deletions(-) create mode 100644 doc/releases/0.14.0.txt diff --git a/CITATION.cff b/CITATION.cff index 19213194..44c9a5e6 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -77,7 +77,9 @@ authors: family-names: "Gilke" - given-names: "Goran" family-names: "Jelic-Cizmek" -version: "0.13.0" +- given-names: "Dhairya" + family-names: "Jangir" +version: "0.14.0" license: "CECILL-2.1" repository-code: "https://github.com/NeuralEnsemble/PyNN" identifiers: diff --git a/changelog b/changelog index 138a9868..9690bfd3 100644 --- a/changelog +++ b/changelog @@ -1,3 +1,9 @@ +============== +Release 0.14.0 +============== + +see doc/releases/0.14.0.txt + ============== Release 0.13.0 ============== diff --git a/codemeta.json b/codemeta.json index 4c6c02ee..cb81f586 100644 --- a/codemeta.json +++ b/codemeta.json @@ -4,15 +4,15 @@ "license": "https://spdx.org/licenses/CECILL-2.1", "codeRepository": "https://github.com/NeuralEnsemble/PyNN", "contIntegration": "https://github.com/NeuralEnsemble/PyNN/actions", - "dateModified": "2026-07-06", - "downloadUrl": "https://files.pythonhosted.org/packages/21/36/612a92b5f289cdf5a718151f82ba8872483731c3a43abac015bcb53739ce/pynn-0.13.0.tar.gz", + "dateModified": "2026-11-19", + "downloadUrl": null, "issueTracker": "https://github.com/NeuralEnsemble/PyNN/issues", "name": "PyNN", - "version": "0.13.0", + "version": "0.14.0", "identifier": "RRID:SCR_002715", - "description": "PyNN (pronounced 'pine') is a simulator-independent language for building neuronal network models.\n\nIn other words, you can write the code for a model once, using the PyNN API and the Python programming language, and then run it without modification on any simulator that PyNN supports (currently NEURON, NEST and Brian 2) and on a number of neuromorphic hardware systems.\n\nThe PyNN API aims to support modelling at a high-level of abstraction (populations of neurons, layers, columns and the connections between them) while still allowing access to the details of individual neurons and synapses when required. PyNN provides a library of standard neuron, synapse and synaptic plasticity models, which have been verified to work the same on the different supported simulators. PyNN also provides a set of commonly-used connectivity algorithms (e.g. all-to-all, random, distance-dependent, small-world) but makes it easy to provide your own connectivity in a simulator-independent way.\n\nEven if you don't wish to run simulations on multiple simulators, you may benefit from writing your simulation code using PyNN's powerful, high-level interface. In this case, you can use any neuron or synapse model supported by your simulator, and are not restricted to the standard models.", + "description": "PyNN (pronounced 'pine') is a simulator-independent language for building neuronal network models.\n\nIn other words, you can write the code for a model once, using the PyNN API and the Python programming language, and then run it without modification on any simulator that PyNN supports (currently NEURON, NEST, Brian 2 and Arbor) and on a number of neuromorphic hardware systems.\n\nThe PyNN API aims to support modelling at a high-level of abstraction (populations of neurons, layers, columns and the connections between them) while still allowing access to the details of individual neurons and synapses when required. PyNN provides a library of standard neuron, synapse and synaptic plasticity models, which have been verified to work the same on the different supported simulators. PyNN also provides a set of commonly-used connectivity algorithms (e.g. all-to-all, random, distance-dependent, small-world) but makes it easy to provide your own connectivity in a simulator-independent way.\n\nEven if you don't wish to run simulations on multiple simulators, you may benefit from writing your simulation code using PyNN's powerful, high-level interface. In this case, you can use any neuron or synapse model supported by your simulator, and are not restricted to the standard models.", "applicationCategory": "neuroscience", - "releaseNotes": "http://neuralensemble.org/docs/PyNN/releases/0.13.0.html", + "releaseNotes": "https://pynn.readthedocs.io/en/latest/releases/0.14.0.html", "funding": "https://cordis.europa.eu/project/id/945539", "developmentStatus": "active", "referencePublication": { @@ -82,11 +82,12 @@ "programmingLanguage": ["Python"], "operatingSystem": ["Linux", "Windows", "macOS"], "softwareRequirements": [ - "at least one of the supported simulators: e.g. NEURON, NEST, or Brian.", + "at least one of the supported simulators: e.g. NEURON, NEST, Brian 2 or Arbor.", "Python (version 3.10-3.14)" ], "relatedLink": [ "http://neuralensemble.org/docs/PyNN/", + "https://pynn.readthedocs.io/", "https://groups.google.com/g/neuralensemble" ], "author": [ @@ -266,6 +267,11 @@ "@type": "Person", "givenName": "Goran", "familyName": "Jelic-Cizmek" + }, + { + "@type": "Person", + "givenName": "Dhairya", + "familyName": "Jangir" } ] } diff --git a/doc/release_notes.txt b/doc/release_notes.txt index 8dbdc7c4..fc5bab6b 100644 --- a/doc/release_notes.txt +++ b/doc/release_notes.txt @@ -6,6 +6,7 @@ Release notes .. toctree:: :maxdepth: 1 + releases/0.14.0.txt releases/0.13.0.txt releases/0.12.4.txt releases/0.12.3.txt diff --git a/doc/releases/0.14.0.txt b/doc/releases/0.14.0.txt new file mode 100644 index 00000000..fa27b737 --- /dev/null +++ b/doc/releases/0.14.0.txt @@ -0,0 +1,107 @@ +========================= +PyNN 0.14.0 release notes +========================= + +November 19th 2026 + +Welcome to PyNN 0.14.0! + + +Arbor backend +------------- + +The Arbor_ backend has been substantially extended, and is now close to parity +with the NEST, NEURON and Brian 2 backends: + +- It works with Arbor 0.10.0 to 0.12.2 (previously only Arbor 0.9). +- It supports point neurons (as single-compartment Arbor cable cells), and the + time-varying current sources. Point neurons can record synaptic conductances + and currents, and the state variables of their dynamics (e.g. ``w``, ``u``). +- It supports distributed simulations with MPI. This needs an Arbor built with + MPI and mpi4py support; the wheels on PyPI have neither. +- :func:`setup()` accepts ``threads`` and ``rng_seed``, as for :mod:`pyNN.nest`. +- :file:`examples/VAbenchmarks.py` now gives the same synapse counts and closely + matching firing rates on Arbor and NEST. + +Some models are not yet available with Arbor, including ``GIF_cond_exp``, +``Izhikevich`` as a synaptic target, ``TsodyksMarkramSynapse`` and STDP. Since Arbor +builds its cells only once, changing cell parameters after the first :func:`run()` +is not possible (raises ``NotImplementedError``). See :doc:`../backends/Arbor` for details. + + +Multi-compartment models +------------------------ + +- :func:`at_distances()` now measures distances in µm along the path from the root + of the morphology, and gives a location on every branch at each distance. + Recorded signals are named after the selector (e.g. ``dendrite.100um.v``), the + same on both backends. +- On NEURON, three-point somas (as used by NeuroMorpho.org) are built as in Arbor, + morphologies loaded with MorphIO are handled correctly, and spikes are detected + at −10 mV, as in Arbor. + + +NESTML 9 +-------- + +:mod:`pyNN.nest.nestml` now requires NESTML_ 9 or later, since NESTML 9 changed the +syntax for physical units. Also, NESTML models are no longer lost when +:func:`setup()` is called again in the same Python session. + + +Standard models +--------------- + +- The gating variables ``m``, ``h`` and ``n`` of :class:`HH_cond_exp` can now be + recorded using these names on all backends, and their initial values are + respected on NEURON and Arbor. +- :class:`IF_cond_exp_gsfa_grr` has been fixed on all backends. +- :class:`TsodyksMarkramSynapse` now gives the correct dynamics on Brian 2, and + works with ``tau_facil = 0``. + + +Bug fixes +--------- + +- With NEST, models from PyNN's NEST extensions (e.g. + :class:`StochasticTsodyksMarkramSynapse`) are no longer lost at :func:`setup()` + (since NEST 3.7 and later unload extension modules when resetting the kernel). +- Reading back the array-valued parameters of :class:`GIF_cond_exp` now works + with NEST and NEURON. +- Gap junctions (:class:`ElectricalSynapse`) have been fixed + (still only available for NEURON). +- With NEURON, setting the rate of a :class:`SpikeSourcePoisson` before the first + run now works; with Brian 2, changing the rate now takes effect. +- With NEURON, :func:`run()` with callbacks could loop forever if the end time was + not a multiple of the time step, or if a callback asked to be called again less + than one time step later (#866). Callbacks are now called at most once per time + step. +- With NEST, :meth:`get_data()` no longer hangs when a population had fewer cells than there + were MPI processes (#767). +- With MPI, :meth:`get_data()` could fail when the recorded cells on a process had + non-contiguous indices (#836). +- :class:`OneToOneConnector` now works with NumPy 2 when connecting single-cell + populations (#851). +- Looking up cell IDs in a :class:`PopulationView`, and other operations that pass + cell IDs to NumPy, have been greatly speeded up (#693). +- With NEST, :class:`IF_curr_delta` now respects the initial value of ``v``, + and ``v`` can be recorded (#844). + + +Other changes +------------- + +- The documentation is now built on `Read the Docs`_. +- A :file:`CITATION.cff` file has been added, so that GitHub shows how to cite PyNN. + It is generated from :file:`codemeta.json` by :file:`tools/codemeta2cff.py` (#868). +- The NEST extensions now require CMake 3.19 or later to build. +- libNeuroML 0.2.45 or later is required for the ``neuroml`` and ``arbor`` extras, + and pyNeuroML is now listed in the ``neuroml`` extra. + +Thanks to Andrew Davison, Dhairya Jangir and Laurent Perrinet for their contributions to this +release. + + +.. _Arbor: https://arbor-sim.org +.. _NESTML: https://nestml.readthedocs.io +.. _`Read the Docs`: https://pynn.readthedocs.io diff --git a/pyNN/__init__.py b/pyNN/__init__.py index 8a257a87..69f59bc1 100644 --- a/pyNN/__init__.py +++ b/pyNN/__init__.py @@ -69,7 +69,7 @@ :license: CeCILL, see LICENSE for details. """ -__version__ = '0.13.0' +__version__ = '0.14.0' __all__ = ["common", "random", "nest", "neuron", "brian2", "recording", "errors", "space", "descriptions", "standardmodels", "parameters", "core", "morphology", diff --git a/pyproject.toml b/pyproject.toml index da8914f0..437a4a70 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "PyNN" -version = "0.13.0" +version = "0.14.0" description = "A Python package for simulator-independent specification of neuronal network models" readme = "README.rst" requires-python = ">=3.10"