Skip to content

Commit f7f1000

Browse files
docs: Add v0.7.2 release notes (#2214)
* Add release notes for pyhf v0.7.2.
1 parent fe4b43b commit f7f1000

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

docs/release-notes.rst

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Release Notes
33
=============
44

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

docs/release-notes/v0.7.2.rst

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
|release v0.7.2|_
2+
=================
3+
4+
This is a patch release from ``v0.7.1`` → ``v0.7.2``.
5+
6+
Important Notes
7+
---------------
8+
9+
* ``pyhf`` became a `NumFOCUS Affiliated Project
10+
<https://numfocus.org/sponsored-projects/affiliated-projects>`__ on
11+
2022-12-19. |NumFOCUS Affiliated Project|
12+
``v0.7.1`` is the first release to appear in a NumFOCUS Newsletter and
13+
``v0.7.2`` is the first release to appear as part of the Affiliated Projects
14+
page.
15+
(PR :pr:`2179`)
16+
17+
Fixes
18+
-----
19+
20+
* If a multiple component parameter of interest is used raise
21+
:class:`~pyhf.exceptions.InvalidModel`.
22+
This guards against modifiers like :class:`~pyhf.modifiers.shapefactor`,
23+
:class:`~pyhf.modifiers.shapesys`, and :class:`~pyhf.modifiers.staterror`
24+
from being used as POIs.
25+
(PR :pr:`2197`)
26+
* Use :data:`typing.TYPE_CHECKING` guard to avoid causing a
27+
:class:`ModuleNotFoundError` when the version of NumPy installed is older
28+
than ``v1.21.0``, which is the first NumPy release to include
29+
:mod:`numpy.typing`.
30+
(PR :pr:`2208`)
31+
32+
Contributors
33+
------------
34+
35+
``v0.7.2`` benefited from contributions from:
36+
37+
* Alexander Held
38+
39+
.. |release v0.7.2| replace:: ``v0.7.2``
40+
.. _`release v0.7.2`: https://github.com/scikit-hep/pyhf/releases/tag/v0.7.2
41+
42+
.. |NumFOCUS Affiliated Project| image:: https://img.shields.io/badge/NumFOCUS-Affiliated%20Project-orange.svg?style=flat&colorA=E1523D&colorB=007D8A
43+
:target: https://numfocus.org/sponsored-projects/affiliated-projects

0 commit comments

Comments
 (0)