docs(ingest): Add warning for Python 3.7 deprecation (#8411)

This commit is contained in:
Andrew Sikowitz 2023-07-13 03:27:52 -04:00 committed by GitHub
parent 851c5bab9e
commit 6ce157d0ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,3 +23,10 @@ if sys.version_info < (3, 7):
FutureWarning, FutureWarning,
stacklevel=2, stacklevel=2,
) )
elif sys.version_info < (3, 8):
warnings.warn(
"DataHub will require Python 3.8 or newer soon. "
"Please upgrade your Python version to continue using DataHub.",
FutureWarning,
stacklevel=2,
)