From b9b8aab50e2527bb76c073c33c507742126dc026 Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Wed, 5 Jun 2024 11:33:43 +0100 Subject: [PATCH] Update dbt and Airflow conflicts matrix (#1026) Include the following in the dbt & Airflow dependencies compatibility matrix - dbt 1.8 - Airflow 2.9 --- .../execution-modes-local-conflicts.rst | 43 ++++++++++--------- 1 file changed, 23 insertions(+), 20 deletions(-) diff --git a/docs/getting_started/execution-modes-local-conflicts.rst b/docs/getting_started/execution-modes-local-conflicts.rst index 96921b6f7..3f537baba 100644 --- a/docs/getting_started/execution-modes-local-conflicts.rst +++ b/docs/getting_started/execution-modes-local-conflicts.rst @@ -10,24 +10,25 @@ If you find errors, we recommend users look into using `alternative execution mo In the following table, ``x`` represents combinations that lead to conflicts (vanilla ``apache-airflow`` and ``dbt-core`` packages): -+---------------+-----+-----+-----+-----+-----+-----+-----+-----+ -| Airflow / DBT | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | -+===============+=====+=====+=====+=====+=====+=====+=====+=====+ -| 2.2 | | | | x | x | x | x | x | -+---------------+-----+-----+-----+-----+-----+-----+-----+-----+ -| 2.3 | x | x | | x | x | x | x | x | -+---------------+-----+-----+-----+-----+-----+-----+-----+-----+ -| 2.4 | x | x | x | | | | | | -+---------------+-----+-----+-----+-----+-----+-----+-----+-----+ -| 2.5 | x | x | x | | | | | | -+---------------+-----+-----+-----+-----+-----+-----+-----+-----+ -| 2.6 | x | x | x | x | x | | | | -+---------------+-----+-----+-----+-----+-----+-----+-----+-----+ -| 2.7 | x | x | x | x | x | | | | -+---------------+-----+-----+-----+-----+-----+-----+-----+-----+ -| 2.8 | x | x | x | x | x | | x | x | -+---------------+-----+-----+-----+-----+-----+-----+-----+-----+ - ++---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ +| Airflow / DBT | 1.0 | 1.1 | 1.2 | 1.3 | 1.4 | 1.5 | 1.6 | 1.7 | 1.8 | ++===============+=====+=====+=====+=====+=====+=====+=====+=====+=====+ +| 2.2 | | | | x | x | x | x | x | x | ++---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ +| 2.3 | x | x | | x | x | x | x | x | X | ++---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ +| 2.4 | x | x | x | | | | | | | ++---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ +| 2.5 | x | x | x | | | | | | | ++---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ +| 2.6 | x | x | x | x | x | | | | | ++---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ +| 2.7 | x | x | x | x | x | | | | | ++---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ +| 2.8 | x | x | x | x | x | | x | | | ++---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ +| 2.9 | x | x | x | x | x | | | | | ++---------------+-----+-----+-----+-----+-----+-----+-----+-----+-----+ Examples of errors ----------------------------------- @@ -92,9 +93,11 @@ The table was created by running `nox `__ wi @nox.session(python=["3.10"]) @nox.parametrize( - "dbt_version", ["1.0", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7"] + "dbt_version", ["1.0", "1.1", "1.2", "1.3", "1.4", "1.5", "1.6", "1.7", "1.8"] + ) + @nox.parametrize( + "airflow_version", ["2.2.4", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8", "2.9"] ) - @nox.parametrize("airflow_version", ["2.2.4", "2.3", "2.4", "2.5", "2.6", "2.7", "2.8"]) def compatibility(session: nox.Session, airflow_version, dbt_version) -> None: """Run both unit and integration tests.""" session.run(