Skip to content

Commit

Permalink
docs: Add v0.7.2 release notes (#2218)
Browse files Browse the repository at this point in the history
* Forward port PR #2214 from release/v0.7.x to main.
* Add release notes for pyhf v0.7.2.
  • Loading branch information
matthewfeickert authored May 18, 2023
1 parent e99733f commit a7e06c0
Show file tree
Hide file tree
Showing 2 changed files with 44 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.2.rst
.. include:: release-notes/v0.7.1.rst
.. include:: release-notes/v0.7.0.rst
.. include:: release-notes/v0.6.3.rst
Expand Down
43 changes: 43 additions & 0 deletions docs/release-notes/v0.7.2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
|release v0.7.2|_
=================

This is a patch release from ``v0.7.1`` → ``v0.7.2``.

Important Notes
---------------

* ``pyhf`` became a `NumFOCUS Affiliated Project
<https://numfocus.org/sponsored-projects/affiliated-projects>`__ on
2022-12-19. |NumFOCUS Affiliated Project|
``v0.7.1`` is the first release to appear in a NumFOCUS Newsletter and
``v0.7.2`` is the first release to appear as part of the Affiliated Projects
page.
(PR :pr:`2179`)

Fixes
-----

* If a multiple component parameter of interest is used raise
:class:`~pyhf.exceptions.InvalidModel`.
This guards against modifiers like :class:`~pyhf.modifiers.shapefactor`,
:class:`~pyhf.modifiers.shapesys`, and :class:`~pyhf.modifiers.staterror`
from being used as POIs.
(PR :pr:`2197`)
* Use :data:`typing.TYPE_CHECKING` guard to avoid causing a
:class:`ModuleNotFoundError` when the version of NumPy installed is older
than ``v1.21.0``, which is the first NumPy release to include
:mod:`numpy.typing`.
(PR :pr:`2208`)

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

``v0.7.2`` benefited from contributions from:

* Alexander Held

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

.. |NumFOCUS Affiliated Project| image:: https://img.shields.io/badge/NumFOCUS-Affiliated%20Project-orange.svg?style=flat&colorA=E1523D&colorB=007D8A
:target: https://numfocus.org/sponsored-projects/affiliated-projects

0 comments on commit a7e06c0

Please sign in to comment.