potiuk commented on code in PR #37320:
URL: https://github.com/apache/airflow/pull/37320#discussion_r1486659106


##########
tests/providers/openai/hooks/test_openai.py:
##########
@@ -20,6 +20,9 @@
 from unittest.mock import patch
 
 import pytest
+
+openai = pytest.importorskip("openai")

Review Comment:
   This and other related were needed because some of the providers also need 
Pydantic, and we remove those libraries from CI image that need it, so that 
these tests are skipped when we run tests in "no pydantic" or "pydantic 1" mode 
(pydantic 1 in case of pyiceberg because it also needs pydantic 2). 



-- 
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