1.6.0
Fixed 3
- Fix a regression in pluggy 1.1.0 where using result.get_result() on the same failed Result causes the exception's traceback to get longer and longer
- Correctly pass StopIteration through hook wrappers by resuming with the StopIteration as a normal exception instead of failing with the RuntimeError
- Fix python 3.14 SyntaxError by rearranging code
Removed 1
- Python 3.8 is no longer supported
Deprecations and Removals
#556 <https://github.com/pytest-dev/pluggy/issues/556>_: Python 3.8 is no longer supported.
Bug Fixes
-
#504 <https://github.com/pytest-dev/pluggy/issues/504>_: Fix a regression in pluggy 1.1.0 where using :func:result.get_result() <pluggy.Result.get_result>on the same failed :class:~pluggy.Resultcauses the exception's traceback to get longer and longer. -
#544 <https://github.com/pytest-dev/pluggy/issues/544>_: Correctly pass :class:StopIterationthrough hook wrappers.Raising a :class:
StopIterationin a generator triggers a :class:RuntimeError.If the :class:
RuntimeErrorof a generator has the passed in :class:StopIterationas cause resume with that :class:StopIterationas normal exception instead of failing with the :class:RuntimeError. -
#573 <https://github.com/pytest-dev/pluggy/issues/573>_: Fix python 3.14 SyntaxError by rearranging code.