Skip to content

The xmltodict 0.13.0 breaks some emr tests #23576

@potiuk

Description

@potiuk

Apache Airflow version

main (development)

What happened

The xmltodict 0.13.0 breaks some EMR tests (this is happening in main currently:

Example: https://github.com/apache/airflow/runs/6343826225?check_suite_focus=true#step:9:13417

tests/providers/amazon/aws/hooks/test_emr.py::TestEmrHook::test_create_job_flow_extra_args: ValueError: Malformatted input
tests/providers/amazon/aws/hooks/test_emr.py::TestEmrHook::test_create_job_flow_uses_the_emr_config_to_create_a_cluster: ValueError: Malformatted input
tests/providers/amazon/aws/hooks/test_emr.py::TestEmrHook::test_get_cluster_id_by_name: ValueError: Malformatted input

Downgrading to 0.12.0 fixes the problem.

What you think should happen instead

The tests should work

How to reproduce

  • Run Breeze
  • Run pytest tests/providers/amazon/aws/hooks/test_emr.py -> observe it to succeed
  • Run pip install xmltodict==0.13.0 -> observe it being upgraded from 0.12.0
  • Run pytest tests/providers/amazon/aws/hooks/test_emr.py -> observe it to fail with Malformed input error

Operating System

Any

Versions of Apache Airflow Providers

Latest from main

Deployment

Other

Deployment details

CI

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions