Skip to content

Commit

Permalink
docs: Add v0.7.4 release notes
Browse files Browse the repository at this point in the history
* Forward port PR # 2322 from release/v0.7.x to main.
* Add release notes for pyhf v0.7.4.
  • Loading branch information
matthewfeickert committed Sep 15, 2023
1 parent f771581 commit b4c3a0b
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/release-notes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Release Notes
=============

.. include:: release-notes/v0.7.4.rst
.. include:: release-notes/v0.7.3.rst
.. include:: release-notes/v0.7.2.rst
.. include:: release-notes/v0.7.1.rst
Expand Down
28 changes: 28 additions & 0 deletions docs/release-notes/v0.7.4.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
|release v0.7.4|_
=================

This is a patch release from ``v0.7.3`` → ``v0.7.4``.

Fixes
-----

* Skip callbacks with dead weakrefs while iterating over callbacks in ``pyhf``
events, like :func:`pyhf.set_backend`, to avoid the possibility of accessing
dead weakrefs before they could be garbage collected.
(PR :pr:`2310`)

The fixed bug was subtle and occurred nondeterministically when the
:class:`pyhf.tensorlib` was changed repeatedly causing dead weakrefs
to be accessed before Python's garbage collection could remove them.
Most users should be unaffected.

Contributors
------------

``v0.7.4`` benefited from contributions from:

* Daniel Werner
* Jonas Rembser

.. |release v0.7.4| replace:: ``v0.7.4``
.. _`release v0.7.4`: https://github.com/scikit-hep/pyhf/releases/tag/v0.7.4

0 comments on commit b4c3a0b

Please sign in to comment.