Download Latest Version 8.4.2 source code.zip (528.6 kB)
Email in envelope

Get an email when there's a new version of Click

Home / 8.4.2
Name Modified Size InfoDownloads / Week
Parent folder
click-8.4.2-py3-none-any.whl 2026-06-24 119.2 kB
click-8.4.2.tar.gz 2026-06-24 338.0 kB
8.4.2 source code.tar.gz 2026-06-24 470.9 kB
8.4.2 source code.zip 2026-06-24 528.6 kB
README.md 2026-06-24 1.9 kB
Totals: 5 Items   1.5 MB 0

This is the Click 8.4.1 fix release, which fixes bugs but does not otherwise change behavior and should not result in breaking changes compared to the latest feature release.

PyPI: https://pypi.org/project/click/8.4.2/ Changes: https://click.palletsprojects.com/page/changes/#version-8-4-2 Milestone: https://github.com/pallets/click/milestone/34

  • Fix Fish shell completion broken in 8.4.0 by [#3126]. Newlines and tabs in option help text are now escaped, keeping the original completion format while still supporting multi-line help. [#3502] [#3043] [#3504] [#3508]
  • Deprecated commands and options with empty or missing help text no longer render a stray leading space before the (DEPRECATED) label. [#3509]
  • A {class}Group with invoke_without_command=True marks its subcommand as optional in the usage help, showing [COMMAND] instead of COMMAND. [#3059] [#3507]
  • echo_via_pager flushes after each write, so passing a generator streams output to the pager incrementally instead of staying hidden until the pipe buffer fills. [#3242] [#2542] [#3534]
  • echo_via_pager and get_pager_file no longer close a borrowed stdout stream when no external pager runs, completing the partial I/O operation on closed file fix from [#3482]. [#3449] [#3533]
  • Fix CLI usage symopsis for optional arguments producing double square brackets [[a|b|c]]... whose type already brackets their metavar. [#3578]
  • {func}version_option resolves a package_name that does not match an installed distribution as an import (top-level module) name via {func}importlib.metadata.packages_distributions. Packages whose top-level module name differs from their distribution name (PIL vs Pillow, jwt vs PyJWT) no longer raise RuntimeError out of the box. [#2331] [#1884] [#3125] [#3582]
Source: README.md, updated 2026-06-24