tatiana opened a new pull request, #47148:
URL: https://github.com/apache/airflow/pull/47148
Since `apache-airflow-providers-common-sql==1.23.0`, released on 26 February
2025, users started facing the error:
```
from cosmos.operators._asynchronous.bigquery import
DbtRunAirflowAsyncBigqueryOperator
cosmos/operators/_asynchronous/bigquery.py:8: in <module>
from airflow.providers.google.cloud.operators.bigquery import
BigQueryInsertJobOperator
../../../.local/share/hatch/env/virtual/astronomer-cosmos/Za_bFbg4/tests.py3.12-2.9/lib/python3.12/site-packages/airflow/providers/google/cloud/operators/bigquery.py:32:
in <module>
from airflow.providers.common.sql.operators.sql import ( # type:
ignore[attr-defined] # for _parse_boolean
../../../.local/share/hatch/env/virtual/astronomer-cosmos/Za_bFbg4/tests.py3.12-2.9/lib/python3.12/site-packages/airflow/providers/common/sql/operators/sql.py:[29](https://github.com/astronomer/astronomer-cosmos/actions/runs/13544957799/job/37854234771#step:6:30):
in <module>
from airflow.providers.common.sql.hooks.sql import DbApiHook,
fetch_all_handler, return_single_query_results
../../../.local/share/hatch/env/virtual/astronomer-cosmos/Za_bFbg4/tests.py3.12-2.9/lib/python3.12/site-packages/airflow/providers/common/sql/hooks/sql.py:37:
in <module>
from methodtools import lru_cache
E ModuleNotFoundError: No module named 'methodtools'
```
It seems this started happening since
https://github.com/apache/airflow/pull/41327.
This PR aims to solve this issue.
Closes: https://github.com/apache/airflow/issues/47147
--
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]