Dev-iL commented on code in PR #61229:
URL: https://github.com/apache/airflow/pull/61229#discussion_r3637395702


##########
airflow-core/tests/unit/always/test_example_dags.py:
##########
@@ -216,6 +216,11 @@ def test_should_be_importable(example: str, 
patch_get_dagbag_import_timeout):
         pytest.skip(
             f"Skipping {example} because it requires an optional provider 
feature that is not installed."
         )
+    # snowflake-sqlalchemy does not yet support SQLAlchemy 2.1
+    if len(dagbag.import_errors) == 1 and "ORMSelectCompileState" in 
str(dagbag.import_errors):
+        pytest.skip(
+            f"Skipping {example} because snowflake-sqlalchemy is incompatible 
with installed SQLAlchemy."
+        )

Review Comment:
   Done



##########
airflow-core/tests/unit/serialization/test_dag_serialization.py:
##########
@@ -565,6 +565,8 @@ def test_serialization(self):
                 f"{ignore_module_import_error}" not in error
                 for ignore_module_import_error in IGNORE_MODULE_IMPORT_ERRORS
             )
+            # snowflake-sqlalchemy does not yet support SQLAlchemy 2.1
+            if "module 'sqlalchemy.orm.context' has no attribute 
'ORMSelectCompileState'" not in error

Review Comment:
   Done



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to