-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add v0.7.4 release notes (#2330)
* Forward port PR #2322 from release/v0.7.x to main. * Add release notes for pyhf v0.7.4.
- Loading branch information
1 parent
f771581
commit 49278c8
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |