Open Taragolis opened 6 months ago
Is there more work left in this that I can help with? @Taragolis
There is only one things remaining, that it exact the thing which describe into the issue
This warning which might annoying end users because since Python 3.12+ such warnings become SyntaxWarning
, see: https://github.com/python/cpython/issues/98401, which are not ignored by default as DeprecatedWarnings
So if you would like to fix, feel free to make a PR
Body
Right now import
airflow/providers/amazon/aws/hooks/eks.py
raise DeprecationWarning / SyntaxWarning (depends on python version)We should avoid to use something that deprecated in Python itself years ago in Python 3.6.
https://github.com/apache/airflow/blob/b7ac00d12dd81ae25507c53712f7bd8b6dfca981/airflow/providers/amazon/aws/hooks/eks.py#L80-L81
https://github.com/apache/airflow/blob/b7ac00d12dd81ae25507c53712f7bd8b6dfca981/airflow/providers/amazon/aws/hooks/eks.py#L91-L93
\
in the end of the line make sense only in regular strings, not in triple quoted, however right now it work as intended - remove new line in the end of the lineCommitter