From 1712c6544444f52bd795522b72e136a69766f190 Mon Sep 17 00:00:00 2001 From: stuffbyyuki Date: Sun, 26 Jul 2026 23:45:18 -0600 Subject: [PATCH] fix(ci): pin fastjsonschema below 2.22 on Python 3.9 fastjsonschema 2.22+ requires Python 3.10+ (PEP 604 type hints), and 2.22.0 still installs on 3.9 and breaks dbt-bigquery imports via nbformat. Signed-off-by: stuffbyyuki Co-authored-by: Cursor --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 9f2294d4bf..ca7527868d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -65,6 +65,10 @@ dev = [ # it depends on the 'InvalidCatalogIntegrationConfigError' class that only exists as of dbt-adapters==1.16.6 # so we exclude it to prevent failures and hope that upstream releases a new version with the correct constraint "dbt-snowflake!=1.10.1", + # fastjsonschema 2.22+ uses PEP 604 type hints and now requires Python >=3.10 + # (upstream #211 / #213). Keep 3.9 on the 2.21 line; pulled in via + # dbt-bigquery → nbformat. + "fastjsonschema<2.22; python_version<'3.10'", "dbt-athena-community", "dbt-clickhouse", "dbt-databricks",