Skip to content

Commit fdf19ff

Browse files
docs: Add v0.7.4 release notes (#2322)
* Add release notes for pyhf v0.7.4.
1 parent 70a0558 commit fdf19ff

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

docs/release-notes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Release Notes
33
=============
44

5+
.. include:: release-notes/v0.7.4.rst
56
.. include:: release-notes/v0.7.3.rst
67
.. include:: release-notes/v0.7.2.rst
78
.. include:: release-notes/v0.7.1.rst

docs/release-notes/v0.7.4.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
|release v0.7.4|_
2+
=================
3+
4+
This is a patch release from ``v0.7.3`` → ``v0.7.4``.
5+
6+
Fixes
7+
-----
8+
9+
* Skip callbacks with dead weakrefs while iterating over callbacks in ``pyhf``
10+
events, like :func:`pyhf.set_backend`, to avoid the possibility of accessing
11+
dead weakrefs before they could be garbage collected.
12+
(PR :pr:`2310`)
13+
14+
The fixed bug was subtle and occurred nondeterministically when the
15+
:class:`pyhf.tensorlib` was changed repeatedly causing dead weakrefs
16+
to be accessed before Python's garbage collection could remove them.
17+
Most users should be unaffected.
18+
19+
Contributors
20+
------------
21+
22+
``v0.7.4`` benefited from contributions from:
23+
24+
* Daniel Werner
25+
* Jonas Rembser
26+
27+
.. |release v0.7.4| replace:: ``v0.7.4``
28+
.. _`release v0.7.4`: https://github.com/scikit-hep/pyhf/releases/tag/v0.7.4

0 commit comments

Comments
 (0)