Ë
    æ÷ÔeG  ã                   óª   — d dl Z d dlZd dlZd dlZd dlZd dlmZ eZd dl	m
Z e j                  j                  d«      rd„ Znej                  Zd„ Zd„ Zy)é    N)ÚPythonDeprecationWarningÚwinc                 óÄ   — 	 t        j                  |«       t        j
                  | |«       y # t        $ r(}|j                  t        j                  k(  s‚ Y d }~ŒCd }~ww xY w)N)ÚosÚremoveÚOSErrorÚerrnoÚENOENTÚrename)Úcurrent_filenameÚnew_filenameÚes      ú./usr/lib/python3/dist-packages/boto3/compat.pyÚrename_filer      sP   € ð	Ü�I‰I�lÔ#ô 	�	‰	Ð" LÕ1øô ò 	Ø—7‘7œeŸl™lÒ*ð
 ô +ûð	ús   ‚. ®	A·AÁAc                  ó>   — t        j                  ddt        d¬«       y)z–
    Invoking this filter acknowledges your runtime will soon be deprecated
    at which time you will stop receiving all updates to your client.
    Úignorez'.*Boto3 will no longer support Python.*z.*boto3\.compat)ÚmessageÚcategoryÚmoduleN)ÚwarningsÚfilterwarningsr   © ó    r   Ú"filter_python_deprecation_warningsr   .   s   € ô
 ×ÑØØ9Ü)Ø!ö	r   c                  óÄ   — dddœ} d| i}t         j                  dd }||v r@||   }dj                  |d   |d	   |d
   |d   «      }t        j                  |t
        «       yy)z=Use this template for future deprecation campaigns as needed.zDecember 13, 2023z\https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/)ÚdateÚ	blog_link)é   é   Né   zËBoto3 will no longer support Python {}.{} starting {}. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.8 or later. More information can be found here: {}r   é   r   r   )ÚsysÚversion_infoÚformatr   Úwarnr   )Úpy_37_paramsÚdeprecated_versionsÚ
py_versionÚparamsÚwarnings        r   Ú_warn_deprecated_pythonr+   ;   s�   € ð $ðDñ€Lð 	�ðÐô ×!Ñ! " 1Ð%€JàÐ(Ñ(Ø$ ZÑ0ˆð<÷ ‰&�˜A‘ 
¨1¡¨v°f©~¸vÀkÑ?RÓ
Sð 	ô 	�‰�gÔ7Õ8ð )r   )r"   r   r	   Úsocketr   Úboto3.exceptionsr   ÚConnectionErrorÚSOCKET_ERRORÚcollections.abcÚabcÚcollections_abcÚplatformÚ
startswithr   r   r   r+   r   r   r   ú<module>r5      sQ   ðó Û 	Û Û Û å 5ð €å )ð ‡<�<×Ñ˜5Ô!ó
2ð —)‘)€Kò
ó9r   