diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 34d6a73d8a..24ac1988c1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -139,10 +139,6 @@ jobs: dbt-version: "1.9" - python-version: "3.8" dbt-version: "1.10" - # To be fixed in https://github.com/astronomer/astronomer-cosmos/issues/1817 - - python-version: "3.9" - airflow-version: "3.0" - dbt-version: "1.9" services: postgres: image: postgres@sha256:4cd697181d4bd3ddc41a09012f339fa8cb5a8cd3d8b30130ea8378c176b6c494 # 14.18 diff --git a/pyproject.toml b/pyproject.toml index 6d105a233f..d1a691631d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -169,7 +169,7 @@ dbt = ["1.5", "1.6", "1.7", "1.8", "1.9", "1.10", "2.0"] [tool.hatch.envs.tests.overrides] matrix.airflow.dependencies = [ - { value = "typing_extensions<4.6", if = ["2.6"] }, + { value = "typing-extensions<4.6", if = ["2.6"] }, # Known issue: https://github.com/zmievsa/cadwyn/issues/283 { value = "typing-extensions!=4.14.0", if = ["3.0"] } ] diff --git a/scripts/test/pre-install-airflow.sh b/scripts/test/pre-install-airflow.sh index 3553894594..1716a2fafa 100755 --- a/scripts/test/pre-install-airflow.sh +++ b/scripts/test/pre-install-airflow.sh @@ -47,13 +47,13 @@ if [ "$AIRFLOW_VERSION" = "2.4" ] || [ "$AIRFLOW_VERSION" = "2.5" ] || [ "$AIRFL elif [ "$AIRFLOW_VERSION" = "2.6" ] ; then uv pip install "apache-airflow-providers-amazon" --constraint /tmp/constraint.txt uv pip install "apache-airflow-providers-cncf-kubernetes" --constraint /tmp/constraint.txt - uv pip install "apache-airflow-providers-google" --constraint /tmp/constraint.txt + uv pip install "apache-airflow-providers-google" --constraint /tmp/constraint.txt uv pip install apache-airflow-providers-microsoft-azure --constraint /tmp/constraint.txt uv pip install "pydantic<2.0" elif [ "$AIRFLOW_VERSION" = "2.7" ] ; then uv pip install "apache-airflow-providers-amazon" --constraint /tmp/constraint.txt uv pip install "apache-airflow-providers-cncf-kubernetes" --constraint /tmp/constraint.txt - uv pip install "apache-airflow-providers-google>10.11" "apache-airflow==$AIRFLOW_VERSION" + uv pip install "apache-airflow-providers-google" --constraint /tmp/constraint.txt uv pip install apache-airflow-providers-microsoft-azure --constraint /tmp/constraint.txt elif [ "$AIRFLOW_VERSION" = "2.8" ] ; then uv pip install "apache-airflow-providers-amazon[s3fs]" --constraint /tmp/constraint.txt diff --git a/tests/operators/test_gcp_cloud_run_job.py b/tests/operators/test_gcp_cloud_run_job.py index 16f30db32e..1a36ac74dc 100644 --- a/tests/operators/test_gcp_cloud_run_job.py +++ b/tests/operators/test_gcp_cloud_run_job.py @@ -61,6 +61,7 @@ def skip_on_empty_operator(test_func): )(test_func) +@skip_on_empty_operator def test_overrides_missing(): """ The overrides parameter needed to pass the dbt command was added in apache-airflow-providers-google==10.11.0.