From 2b192881c5b8057872ade9d15954b7673e04a76e Mon Sep 17 00:00:00 2001 From: Aravind S <63240570+ARAVIND281@users.noreply.github.com> Date: Sun, 30 Aug 2026 16:02:17 +0530 Subject: [PATCH] chore(ci): add dbt 1.11 to the test matrix MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds '1.11' to the test-dbt-versions matrix, and extends the existing 1.10 branch in install-dev-dbt-% to cover it. The Makefile change is required, not incidental. The default path pins every dbt-* package to ~=$version, and two adapters have no 1.11 release: dbt-trino (latest 1.10.3) and dbt-clickhouse (latest 1.10.2). Asking for dbt-trino~=1.11.0 makes the resolve unsatisfiable, so the new matrix entry would fail at install time. The 1.10 branch already handles exactly this shape: pin dbt-core and dbt-databricks, leave the adapters unpinned, and let the resolver settle on a consistent set. Extending its condition keeps this to two lines; the echo was the only part that hardcoded 1.10.0. Resolved: dbt-core 1.11.8, dbt-bigquery 1.11.3, dbt-snowflake 1.11.6, dbt-databricks 1.11.8, dbt-duckdb 1.11.0, dbt-trino 1.10.3, dbt-clickhouse 1.10.2, dbt-redshift 1.10.2, dbt-athena-community 1.10.2. No numpy<2 constraint was added: 1.11 pulls numpy 2.2.6 and the suite passes on it. No CI script changes are needed either — the version-gated shell in the job already holds for 1.11, including the sort -V comparison, which orders 1.11 above 1.5.0 correctly. Verified locally on Python 3.10: UV=1 make install-dev-dbt-1.11 succeeds (DBT_VERSION == (1, 11, 8)), make dbt-fast-test passes 88 tests, and sqlmesh info --skip-connection reports 11 models in examples/sushi_dbt. Closes #5992 Signed-off-by: Aravind S <63240570+ARAVIND281@users.noreply.github.com> --- .github/workflows/pr.yaml | 2 +- Makefile | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 52a561985d..d9e9552970 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -457,7 +457,7 @@ jobs: strategy: fail-fast: false matrix: - dbt-version: ['1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9', '1.10'] + dbt-version: ['1.3', '1.4', '1.5', '1.6', '1.7', '1.8', '1.9', '1.10', '1.11'] steps: - uses: actions/checkout@v7 - name: Set up Python diff --git a/Makefile b/Makefile index 3edd6066ef..94cc8e492d 100644 --- a/Makefile +++ b/Makefile @@ -33,8 +33,8 @@ install-dev-dbt-%: echo "Installing dbt version: $$version"; \ cp pyproject.toml pyproject.toml.backup; \ $(SED_INPLACE) 's/"pydantic>=2.0.0"/"pydantic"/g' pyproject.toml; \ - if [ "$$version" = "1.10.0" ]; then \ - echo "Applying special handling for dbt 1.10.0"; \ + if [ "$$version" = "1.10.0" ] || [ "$$version" = "1.11.0" ]; then \ + echo "Applying special handling for dbt $$version"; \ $(SED_INPLACE) -E 's/"(dbt-core)[^"]*"/"\1~='"$$version"'"/g' pyproject.toml; \ $(SED_INPLACE) -E 's/"(dbt-(bigquery|duckdb|snowflake|athena-community|clickhouse|redshift|trino))[^"]*"/"\1"/g' pyproject.toml; \ $(SED_INPLACE) -E 's/"(dbt-databricks)[^"]*"/"\1~='"$$version"'"/g' pyproject.toml; \