This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v3-1-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit f300510e1cb10b2a97761fb783a472e903f6b10b Author: Kaxil Naik <[email protected]> AuthorDate: Tue Sep 16 01:57:56 2025 +0100 Dev: Fix another Python 3.13 compat for Prod image tests (#55701) (cherry picked from commit 71fe5b40775801d420779438e94ed2a1f8208ff7) --- docker-tests/tests/docker_tests/test_prod_image.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-tests/tests/docker_tests/test_prod_image.py b/docker-tests/tests/docker_tests/test_prod_image.py index 3c4bf9528e8..984ab7d0e90 100644 --- a/docker-tests/tests/docker_tests/test_prod_image.py +++ b/docker-tests/tests/docker_tests/test_prod_image.py @@ -209,7 +209,8 @@ class TestPythonPackages: image=default_docker_image, ) if python_version.startswith("Python 3.13"): - import_names.remove("airflow.providers.fab") + if "airflow.providers.fab" in import_names: + import_names.remove("airflow.providers.fab") run_python_in_docker(f"import {','.join(import_names)}", image=default_docker_image) def test_there_is_no_opt_airflow_airflow_folder(self, default_docker_image):
