This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 0c10ddb3c6 Ignore MyPy error introduced by the new Apache Beam (#36607)
0c10ddb3c6 is described below
commit 0c10ddb3c6e9d8cbc1592d1e0bf5532c5ed4dfa9
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Jan 5 00:17:03 2024 +0100
Ignore MyPy error introduced by the new Apache Beam (#36607)
The new Apache Beam 2.53.0 introduced a MyPy error that breaks
our MyPy checks.
This is captured in https://github.com/apache/beam/issues/29927
but until it is addressed we need to ignore it.
---
setup.cfg | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/setup.cfg b/setup.cfg
index 6d587ee9ba..d10e0bb6d9 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -235,3 +235,10 @@ no_implicit_optional = False
[mypy-referencing.*]
# Referencing has some old type annotations that are not compatible with new
versions of mypy
ignore_errors = True
+
+
+[mypy-apache_beam.*]
+# Beam has some old type annotations and they introduced an error recently
with bad signature of
+# a function. This is captured in https://github.com/apache/beam/issues/29927
+# and we should remove this exclusion when it is fixed.
+ignore_errors = True