Created
September 7, 2023 21:42
-
-
Save labeveryday/999d96befae84bab539d17a9636e1a3c to your computer and use it in GitHub Desktop.
To fix the PythonDeprecationWaarning in boto3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To fix the PythonDeprecationWaarning | |
# /home/ec2-user/.local/lib/python3.7/site-packages/boto3/compat.py:82: PythonDeprecationWarning: Boto3 will no longer support Python 3.7 starting December 13, 2023. | |
def warn(*args, **kwargs): | |
pass | |
import warnings | |
warnings.warn = warn |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment