You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/05/09 01:07:37 UTC
[GitHub] [airflow] potiuk opened a new issue, #23576: The xmltodict 0.13.0 breaks some emr tests
potiuk opened a new issue, #23576:
URL: https://github.com/apache/airflow/issues/23576
### 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?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
--
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: commits-unsubscribe@airflow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk closed issue #23576: The xmltodict 0.13.0 breaks some emr tests
Posted by GitBox <gi...@apache.org>.
potiuk closed issue #23576: The xmltodict 0.13.0 breaks some emr tests
URL: https://github.com/apache/airflow/issues/23576
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [airflow] potiuk commented on issue #23576: The xmltodict 0.13.0 breaks some emr tests
Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #23576:
URL: https://github.com/apache/airflow/issues/23576#issuecomment-1120838998
This has been investigated by the Moto team and it turned out to be unexpected change in behaviour of `xmltodict`. They fixed it in the upcoming 3.1.9 and once they release we upgrade moto to 3.1.9, we can remove the pinning.
--
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: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org