From 5162ecb4dd39f9c32d657cdb59102e6137f4343a Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Mon, 1 Sep 2025 14:53:16 +0200 Subject: [PATCH] Add a "version added" note for `tox_extend_envs` This is a follow-up for #3591 that makes it prominent in the docs when the hook was first added. --- src/tox/plugin/spec.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tox/plugin/spec.py b/src/tox/plugin/spec.py index ba3eae96b..e69f206b5 100644 --- a/src/tox/plugin/spec.py +++ b/src/tox/plugin/spec.py @@ -33,6 +33,8 @@ def tox_register_tox_env(register: ToxEnvRegister) -> None: def tox_extend_envs() -> Iterable[str]: """Declare additional environment names. + .. versionadded:: 4.29.0 + This hook is called without any arguments early in the lifecycle. It is expected to return an iterable of strings with environment names for tox to consider. It can be used to facilitate dynamic creation of