This is the Click 8.3.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.3.2/
Changes: https://click.palletsprojects.com/page/changes/#version-8-3-2
Milestone: https://github.com/pallets/click/milestone/29
- Fix handling of
flag_valuewhenis_flag=Falseto allow such options to be
used without an explicit value. #3084 #3152 - Hide
Sentinel.UNSETvalues asNonewhen usinglookup_default().
#3136 #3199 #3202 #3209 #3212 #3224 - Prevent
_NamedTextIOWrapperfrom closing streams owned byStreamMixer.
#824 #2991 #2993 #3110 #3139 #3140 - Add comprehensive tests for
CliRunnerstream lifecycle, covering
logging interaction, multi-threaded safety, and sequential invocation
isolation. Add high-iteration stress tests behind astressmarker
with a dedicated CI job. #3139 - Fix callable
flag_valuebeing instantiated when used as a default via
default=True. #3121 #3201 #3213 #3225