Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add v0.7.4 release notes #2330

Merged
merged 1 commit into from
Sep 15, 2023
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
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