This is an automated email from the ASF dual-hosted git repository.

gopidesu 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 4521e8df69e Skip serialization tests when latest botocore is installed 
(#45755)
4521e8df69e is described below

commit 4521e8df69ec2b7ab6327a56c13276ed5717f010
Author: Jarek Potiuk <[email protected]>
AuthorDate: Fri Jan 17 18:08:48 2025 +0100

    Skip serialization tests when latest botocore is installed (#45755)
---
 tests/serialization/test_dag_serialization.py | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/tests/serialization/test_dag_serialization.py 
b/tests/serialization/test_dag_serialization.py
index a67864fb1ca..2b5d4cce4c7 100644
--- a/tests/serialization/test_dag_serialization.py
+++ b/tests/serialization/test_dag_serialization.py
@@ -415,6 +415,13 @@ class TestStringifiedDAGs:
                 )
             )
 
+    # Skip that test if latest botocore is used - it reads all example dags 
and in case latest botocore
+    # is upgraded to latest, usually aiobotocore can't be installed and some 
of the system tests will fail with
+    # import errors.
+    @pytest.mark.skipif(
+        os.environ.get("UPGRADE_BOTO", "") == "true",
+        reason="This test is skipped when latest botocore is installed",
+    )
     @pytest.mark.db_test
     def test_serialization(self):
         """Serialization and deserialization should work for every DAG and 
Operator."""

Reply via email to