The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user tatiana (triggered by tatiana).

Head commit for run:
61850c65126518e02b584796a758037c62c897de / Tatiana Al-Chueyr 
<[email protected]>
Add methodtools as a dependency of the common-sql provider

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

Report URL: https://github.com/apache/airflow/actions/runs/13568434988

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to