From fd08ab5f811a9b2fa9124ae8cbbd393221151e2c Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Thu, 15 May 2025 10:14:23 +0200 Subject: [PATCH 1/2] Preparing release 1.6.0 --- CHANGELOG.rst | 27 +++++++++++++++++++++++++++ changelog/504.bugfix.rst | 1 - changelog/544.bugfix.rst | 6 ------ changelog/556.removal.rst | 1 - changelog/573.bugfix.rst | 1 - 5 files changed, 27 insertions(+), 9 deletions(-) delete mode 100644 changelog/504.bugfix.rst delete mode 100644 changelog/544.bugfix.rst delete mode 100644 changelog/556.removal.rst delete mode 100644 changelog/573.bugfix.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a597dc37..882b42bb 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` 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`. + + +- `#573 `_: Fix python 3.14 SyntaxWrror 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. From fd946455151983d9ea80735c5fad12e7875bce54 Mon Sep 17 00:00:00 2001 From: Ronny Pfannschmidt Date: Thu, 15 May 2025 10:22:06 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- CHANGELOG.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 882b42bb..683b399f 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -37,7 +37,7 @@ 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` trough hook wrappers. +- `#544 `_: Correctly pass :class:`StopIteration` through hook wrappers. Raising a :class:`StopIteration` in a generator triggers a :class:`RuntimeError`. @@ -45,7 +45,7 @@ Bug Fixes resume with that :class:`StopIteration` as normal exception instead of failing with the :class:`RuntimeError`. -- `#573 `_: Fix python 3.14 SyntaxWrror by rearranging code. +- `#573 `_: Fix python 3.14 SyntaxError by rearranging code. pluggy 1.5.0 (2024-04-19)