From 8f569cb84d4b3dbdf5b1c3b5b750335520eb1a81 Mon Sep 17 00:00:00 2001 From: jxramos Date: Sat, 17 Jan 2026 19:32:38 -0800 Subject: [PATCH 1/2] Update changelog to reflect removal of pytest_cmdline_preparse hook Changing the mistaken deprecation notice for `pytest_cmdline_preparse` and instead communicating that the hook has actually been removed from pytest. --- doc/en/changelog.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/en/changelog.rst b/doc/en/changelog.rst index b4e5cee694e..0d3cd72521b 100644 --- a/doc/en/changelog.rst +++ b/doc/en/changelog.rst @@ -2805,6 +2805,7 @@ Breaking Changes - `#8246 `_: ``--version`` now writes version information to ``stdout`` rather than ``stderr``. +- `#8592 `_: ``pytest_cmdline_preparse`` has been removed. Use :hook:`pytest_load_initial_conftests` instead. - `#8733 `_: Drop a workaround for `pyreadline `__ that made it work with ``--pdb``. From 2b6a84672da0cefe5de356d091a2297d64070fd3 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Sun, 18 Jan 2026 22:25:10 +0200 Subject: [PATCH 2/2] Tweaks --- doc/en/changelog.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/changelog.rst b/doc/en/changelog.rst index 0d3cd72521b..2133c1b33e3 100644 --- a/doc/en/changelog.rst +++ b/doc/en/changelog.rst @@ -2805,7 +2805,7 @@ Breaking Changes - `#8246 `_: ``--version`` now writes version information to ``stdout`` rather than ``stderr``. -- `#8592 `_: ``pytest_cmdline_preparse`` has been removed. Use :hook:`pytest_load_initial_conftests` instead. +- `#8592 `_: The ``pytest_cmdline_preparse`` hook has been removed following its deprecation. See :ref:`the deprecation note ` for more details. - `#8733 `_: Drop a workaround for `pyreadline `__ that made it work with ``--pdb``.