From dfda29b5c0e84ee879e24d7848995a219c48ebfe Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Mon, 9 May 2022 03:08:48 +0200 Subject: [PATCH] Temporarily pin xmltodict to 0.12.0 to fix main failure The xmltodict 0,13.0 breaks some tests and likely 0.13.0 is buggy as the error is ValueError: Malformatted input. We pin it to 0.12.0 to fix the main failing. Related: #23576 --- setup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup.py b/setup.py index f01ebb21b59e2..f5414fbafae05 100644 --- a/setup.py +++ b/setup.py @@ -200,6 +200,9 @@ def write_version(filename: str = os.path.join(*[my_dir, "airflow", "git_version pandas_requirement, 'mypy-boto3-rds>=1.21.0', 'mypy-boto3-redshift-data>=1.21.0', + # XML to dict 0.13.0 breaks some EMR tests + # It should be removed once we solve https://github.com/apache/airflow/issues/23576 + 'xmltodict<0.13.0', ] apache_beam = [ 'apache-beam>=2.33.0',