+
    Ùs j†
  ã                   ó’   € R t ^ RIt^ RIHt ^ RIHt ^ RIHtH	t	H
t
 ^ RIHtHt ^ RIHt ^ RIHt RtR	tR
 R ltR R ltR R ltR# )z"
Client version related functions
N)Úinf)ÚOptional)Úget_apt_cache_timeÚget_pkg_candidate_versionÚversion_compare)ÚCANDIDATE_CACHE_PATHÚUAC_RUN_PATH)ÚProcessExecutionError)ÚsubpÚ38z38ubuntu0~26.04c                ó$   € V ^8„  d   QhR\         /# ©é   Úreturn)Ústr)Úformats   "Ú2/usr/lib/python3/dist-packages/uaclient/version.pyÚ__annotate__r      s   € ÷ ñ ”Sñ ó    c                 óÆ  € \         P                  R4      '       g   \         # \        P                  P	                  \        P                  P	                  \
        4      4      p \        P                  P                  \        P                  P                  V R4      4      '       d#   . ROp \        V4      w  r#VP                  4       # \        #   \         d	     \        # i ; i)a+  Return the packaged version as a string

Prefer the binary PACKAGED_VESION set by debian/rules to DEB_VERSION.
If unavailable, check for a .git development environments:
  a. If run in our upstream repo `git describe` will gives a leading
     XX.Y so return the --long version to allow daily build recipes
     to count commit offset from upstream's XX.Y signed tag.
  b. If run in a git-ubuntu pkg repo, upstream tags aren't visible,
     believe __VERSION__ is correct - there is and MUST always be a
     test to make sure it matches debian/changelog
z@@PACKAGED_VERSIONz.git)ÚgitÚdescribez
--abbrev=8z--match=[0-9]*z--long)ÚPACKAGED_VERSIONÚ
startswithÚosÚpathÚdirnameÚ__file__ÚexistsÚjoinr
   Ústripr	   Ú__VERSION__)ÚtopdirÚcmdÚoutÚ_s       r   Úget_versionr&      s    € ô ×&Ñ&Ð';×<Ò<ÜÐÜ�W‰W�_‰_œRŸW™WŸ_™_¬XÓ6Ó7€FÜ	‡w�w‡~�~”b—g‘g—l‘l 6¨6Ó2×3Ò3ÚKˆð	Ü˜#“Y‰FˆCØ—9‘9“;Ðô Ðøô %ô 	ØÜÐð	ús   Â*C ÃC ÃC c                ó:   € V ^8„  d   QhR\         \        ,          /# r   ©r   r   )r   s   "r   r   r   /   s   € ÷ ñ ¤(¬3¥-ñ r   c                  óÎ  € \        4       ;'       g    \        p \        P                  P	                  \
        4      '       d*   \        P                  ! \
        4      P                  V 8  dh   R p \        R4      pV'       dQ   \        P                  ! \        RR7       \        \
        R4      ;_uu_ 4       pVP                  V4       R R R 4       V#   \        \
        R4      ;_uu_ 4       pVP                  4       P                  4       uuR R R 4       #   + '       g   i     T# ; i  \         d    Te   Tu #  Lki ; i  + '       g   i     R # ; i  \         d     R # i ; i)Nzubuntu-pro-clientT)Úexist_okÚwÚr)r   r   r   r   r   r   ÚstatÚst_mtimer   Úmakedirsr   ÚopenÚwriteÚ	ExceptionÚreadr    )Úlast_apt_cache_updateÚcandidate_versionÚfs      r   Úget_last_known_candidater7   /   s  € ô /Ó0×7Ð7´CÐä�G‰G�N‰NÔ/×0Ò0Ü�7Š7Ô'Ó(×1Ñ1Ð4IÔIà Ðð		)Ü 9Ð:MÓ NÐß Ü—’œL°4Õ8ÜÔ.°×4Ô4¸Ø—G‘GÐ-Ô.÷ 5à(Ð(ð	 !ðÜÔ&¨×,Ô,°Ø—6‘6“8—>‘>Ó#÷ -Ò,÷ 5Ö4à(Ð(ûÜô 	)Ø Ò,Ø(Ò(ñ -ð	)ú÷
 -Ö,ñ
 ûô ô Øáðúsa   Á.AD( Â5DÃ	D( ÃE Ã+EÄ	
E ÄD%	ÄD( Ä%D( Ä(D>Ä=D>ÅE	ÅE ÅE ÅE$Å#E$c                ó:   € V ^8„  d   QhR\         \        ,          /# r   r(   )r   s   "r   r   r   L   s   € ÷ ñ œx¬�}ñ r   c                  ó`   € \        4       p V '       d   \        V \        4       4      ^ 8”  d   V # R# )é    N)r7   r   r&   )Ú	candidates    r   Úcheck_for_new_versionr<   L   s&   € Ü(Ó*€Iß”_ Y´³Ó>ÀÔBØÐÙr   )Ú__doc__Úos.pathr   Úmathr   Útypingr   Úuaclient.aptr   r   r   Úuaclient.defaultsr   r   Úuaclient.exceptionsr	   Úuaclient.systemr
   r!   r   r&   r7   r<   © r   r   Ú<module>rF      sE   ðñó Ý Ý ÷ñ ÷
 AÝ 5Ý  à€Ø$Ð õõ2÷:r   