Lee-W commented on code in PR #46573:
URL: https://github.com/apache/airflow/pull/46573#discussion_r1947457989
##########
newsfragments/46572.significant.rst:
##########
@@ -0,0 +1,18 @@
+In Airflow 3.0, ``airflow.operators.email.EmailOperator`` is removed.
+
+Instead, users can install ``smtp`` provider and import ``EmailOperator`` from
the the module ``airflow.providers.smtp.operators.smtp``.
+
+* Types of change
+
+ * [ ] Dag changes
+ * [ ] Config changes
+ * [ ] API changes
+ * [ ] CLI changes
+ * [ ] Behaviour changes
+ * [ ] Plugin changes
+ * [ ] Dependency changes
+ * [x] Code interface changes
+
+.. * Migration rules needed
+.. TODO: create the migration rule that:
+* Import ``EmailOperator`` from ``airflow.providers.smtp.operators.smtp``
instead of ``airflow.operators.email``
Review Comment:
```suggestion
* Migration rules needed
* ruff
* [ ] ``airflow.operators.email`` →
``airflow.providers.smtp.operators.smtp.EmailOperator``
```
##########
newsfragments/46572.significant.rst:
##########
@@ -0,0 +1,18 @@
+In Airflow 3.0, ``airflow.operators.email.EmailOperator`` is removed.
+
+Instead, users can install ``smtp`` provider and import ``EmailOperator`` from
the the module ``airflow.providers.smtp.operators.smtp``.
+
+* Types of change
+
+ * [ ] Dag changes
+ * [ ] Config changes
+ * [ ] API changes
+ * [ ] CLI changes
+ * [ ] Behaviour changes
+ * [ ] Plugin changes
+ * [ ] Dependency changes
+ * [x] Code interface changes
+
+.. * Migration rules needed
+.. TODO: create the migration rule that:
+* Import ``EmailOperator`` from ``airflow.providers.smtp.operators.smtp``
instead of ``airflow.operators.email``
Review Comment:
just updated the format so that the script can catch this as a TODO for me
--
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]