diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a597dc37..683b399f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -21,6 +21,33 @@ Versions follow `Semantic Versioning `_ (``.. .. towncrier release notes start +pluggy 1.6.0 (2025-05-15) +========================= + +Deprecations and Removals +------------------------- + +- `#556 `_: Python 3.8 is no longer supported. + + + +Bug Fixes +--------- + +- `#504 `_: Fix a regression in pluggy 1.1.0 where using :func:`result.get_result() ` on the same failed :class:`~pluggy.Result` causes the exception's traceback to get longer and longer. + + +- `#544 `_: Correctly pass :class:`StopIteration` through hook wrappers. + + Raising a :class:`StopIteration` in a generator triggers a :class:`RuntimeError`. + + If the :class:`RuntimeError` of a generator has the passed in :class:`StopIteration` as cause + resume with that :class:`StopIteration` as normal exception instead of failing with the :class:`RuntimeError`. + + +- `#573 `_: Fix python 3.14 SyntaxError by rearranging code. + + pluggy 1.5.0 (2024-04-19) ========================= diff --git a/changelog/504.bugfix.rst b/changelog/504.bugfix.rst deleted file mode 100644 index 17a08ff4..00000000 --- a/changelog/504.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix a regression in pluggy 1.1.0 where using :func:`result.get_result() ` on the same failed :class:`~pluggy.Result` causes the exception's traceback to get longer and longer. diff --git a/changelog/544.bugfix.rst b/changelog/544.bugfix.rst deleted file mode 100644 index 87aa1bc2..00000000 --- a/changelog/544.bugfix.rst +++ /dev/null @@ -1,6 +0,0 @@ -Correctly pass :class:`StopIteration` trough hook wrappers. - -Raising a :class:`StopIteration` in a generator triggers a :class:`RuntimeError`. - -If the :class:`RuntimeError` of a generator has the passed in :class:`StopIteration` as cause -resume with that :class:`StopIteration` as normal exception instead of failing with the :class:`RuntimeError`. diff --git a/changelog/556.removal.rst b/changelog/556.removal.rst deleted file mode 100644 index 380ada5a..00000000 --- a/changelog/556.removal.rst +++ /dev/null @@ -1 +0,0 @@ -Python 3.8 is no longer supported. diff --git a/changelog/573.bugfix.rst b/changelog/573.bugfix.rst deleted file mode 100644 index 26b05de8..00000000 --- a/changelog/573.bugfix.rst +++ /dev/null @@ -1 +0,0 @@ -Fix python 3.14 SyntaxWrror by rearranging code.