
    daf                     H    d Z ddlZddlZddlZddlZd Zedk(  r e        yy)za
Checks that the version of the projects bundled in ensurepip are the latest
versions available.
    Nc                     d} t         j                  D ]  \  }}t        j                  t        j
                  j                  dj                  |      d      j                         j                  d            }|d   d   }||k7  std} t        dj                  |||              | rt        j                  d	       y y )
NFzhttps://pypi.org/pypi/{}/jsonT)	cadefaultutf8infoversionz<The latest version of {} on PyPI is {}, but ensurepip has {}   )	ensurepip	_PROJECTSjsonloadsurllibrequesturlopenformatreaddecodeprintsysexit)	outofdateprojectr   dataupstream_versions        -/root/Python-3.12.4/Tools/scripts/checkpip.pymainr      s    I%// 
Gzz&..00+227; 1 
 $&!  <	2&&I !6'+;WEG
G      __main__)__doc__r	   r   urllib.requestr   r   r   __name__ r   r   <module>r"      s1       
& zF r   