B -<` @sddlZddlZddlZddlZddlZddlmZddlmZej rLe Z nej Z ej rfddl mZnddlZejdrddZnejZddZd d ZdS) N)six)PythonDeprecationWarningwinc CsPyt|Wn0tk r>}z|jtjks.Wdd}~XYnXt||dS)N)osremoveOSErrorerrnoENOENTrename)Zcurrent_filenameZ new_filenameer 3/tmp/pip-target-7cdyy134/lib/python/boto3/compat.py rename_file&s  rcCstjddtdddS)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)messagecategorymoduleN)warningsfilterwarningsrr r r r "filter_python_deprecation_warnings5s rcCs>d}tjdd}||kr:d|d|d}t|tdS)N)))ra\Boto3 will no longer support Python {}.{} starting February 1, 2021. To continue receiving service updates, bug fixes, and security updates please upgrade to Python 3.6 or later. More information can be found here: https://aws.amazon.com/blogs/developer/announcing-the-end-of-support-for-python-3-4-and-3-5-in-the-aws-sdk-for-python-and-aws-cli-v1/r)sys version_infoformatrwarnr)Zdeprecated_versions py_versionwarningr r r _warn_deprecated_pythonBs r!)rrrsocketrZbotocore.vendoredrZboto3.exceptionsrPY3ConnectionErrorZ SOCKET_ERRORerrorcollections.abcabccollections_abc collectionsplatform startswithrr rr!r r r r  s"