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.2 release notes #2218

Merged
merged 1 commit into from
May 18, 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.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