uranusjr commented on code in PR #60115: URL: https://github.com/apache/airflow/pull/60115#discussion_r2660482893
########## pyproject.toml: ########## @@ -864,11 +862,8 @@ banned-module-level-imports = ["numpy", "pandas", "polars"] # Deprecated in Python 3.12: https://github.com/python/cpython/issues/103857 "datetime.datetime.utcnow".msg = "Use airflow.sdk.timezone.utcnow or datetime.datetime.now(tz=datetime.timezone.utc)" "datetime.datetime.utcfromtimestamp".msg = "Use airflow.sdk.timezone.from_timestamp or datetime.datetime.fromtimestamp(tz=datetime.timezone.utc)" -# Deprecated in Python 3.12: https://github.com/python/cpython/issues/94309 -"typing.Hashable".msg = "Use collections.abc.Hashable" -"typing.Sized".msg = "Use collections.abc.Sized" Review Comment: Now covered by UP035 along with many others. ########## pyproject.toml: ########## @@ -845,10 +845,8 @@ banned-module-level-imports = ["numpy", "pandas", "polars"] # Direct import from the airflow package modules and constraints "airflow.AirflowException".msg = "Use airflow.exceptions.AirflowException instead." -"airflow.Dataset".msg = "Use airflow.datasets.Dataset instead." # Deprecated imports -"airflow.models.baseoperator.BaseOperatorLink".msg = "Use airflow.models.baseoperatorlink.BaseOperatorLink" Review Comment: Not a thing anymore -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
