This is the Click 8.2.2 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.2.2/
Changes: https://click.palletsprojects.com/page/changes/#version-8-2-2
Milestone: https://github.com/pallets/click/milestone/25
- Fix reconciliation of
default
,flag_value
andtype
parameters for
flag options, as well as parsing and normalization of environment variables.
#2952 #2956 - Fix typing issue in
BadParameter
andMissingParameter
exceptions for the
parameterparam_hint
that did not allow for a sequence of string where the
underlying functino_join_param_hints
allows for it. #2777 #2990 - Use the value of
Enum
choices to render their default value in help
screen. #2911 #3004 - Fix completion for the Z shell (
zsh
) for completion items containing
colons. #2703 #2846 - Don't include envvar in error hint when not configured. #2971 #2972
- Fix a rare race in
click.testing.StreamMixer
's finalization that manifested
as aValueError
on close in a multi-threaded test session.
#2993 #2991