Skip to content

Commit 2b17791

Browse files
committed
release 4.53.1
1 parent 86234dd commit 2b17791

4 files changed

Lines changed: 26 additions & 16 deletions

File tree

‎docs/changelog.rst‎

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,32 @@
66

77
.. towncrier release notes start
88
9+
**********************
10+
v4.53.1 (2026-05-02)
11+
**********************
12+
13+
Bug fixes - 4.53.1
14+
==================
15+
16+
- Hardening pass on user-facing logging and config parsing:
17+
18+
- Mask secret-looking ``--key=value`` flag values in command logs (terminal warnings, ``.tox/<env>/log/*.log``, and
19+
``Outcome`` ``__repr__``) using the same keyword regex previously applied to environment variable values.
20+
- Resolve PEP 723 ``script`` paths and reject any that escape ``tox_root``; cap the script read at 5 MiB so a symlink
21+
to ``/dev/zero`` cannot exhaust memory.
22+
- Replace ``eval()`` of a constructed ``Literal[...]`` string in the CLI parser with a direct
23+
``Literal[tuple(action.choices)]`` subscript.
24+
- Pass ``timeout=30`` to ``urlopen`` when fetching a remote requirements file so a slow or unresponsive mirror cannot
25+
hang ``tox`` indefinitely. (:issue:`3924`)
26+
27+
- Allow the generated TOML schema to validate array values for ``deps``. (:issue:`3929`)
28+
- Correct type annotations for ``ArgumentParser.parse_args`` and ``parse_known_args`` overrides following `typeshed PR
29+
#15613 <https://github.com/python/typeshed/pull/15613>`_, which widened the ``args`` parameter from ``Sequence[str]``
30+
to ``Iterable[str]``. The narrower type in tox's overrides violated the Liskov substitution principle and caused
31+
``invalid-method-override`` errors with ``ty`` 0.0.33. Also correct the ``option_spec`` annotation in
32+
``docs/tox_conf.py`` to ``ClassVar[dict[str, Callable[[str], Any]]]`` matching the docutils stubs type.
33+
(:issue:`3932`)
34+
935
**********************
1036
v4.53.0 (2026-04-14)
1137
**********************

‎docs/changelog/3924.bugfix.rst‎

Lines changed: 0 additions & 10 deletions
This file was deleted.

‎docs/changelog/3929.bugfix.rst‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎docs/changelog/3932.bugfix.rst‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)