Fix self version check when run as a zipapp (#14217)
The self version check read the pip installed in the environment rather than the running pip, so the upgrade notice could be wrong when running from a zipapp. Since a pip zipapp doesn’t have dist-info metadata, compare __version__ instead.
Y
Youngkwang Yang committed
e62cc2de8abff1f459d82abbf4db58845f120dbd
Parent: a71c40c
Committed by GitHub <noreply@github.com>
on 8/3/2026, 7:40:11 PM