Skip to content

fix(ci): pin fastjsonschema below 2.22 on Python 3.9 - #5923

Merged
StuffbyYuki merged 1 commit into
mainfrom
fix/pin-fastjsonschema-py39
Jul 27, 2026
Merged

fix(ci): pin fastjsonschema below 2.22 on Python 3.9#5923
StuffbyYuki merged 1 commit into
mainfrom
fix/pin-fastjsonschema-py39

Conversation

@StuffbyYuki

Copy link
Copy Markdown
Collaborator

Summary

  • Pin fastjsonschema<2.22 for Python <3.10 in the dev extras so Python 3.9 CI no longer installs broken 2.22.0.
  • fastjsonschema 2.22+ uses PEP 604 type hints and upstream now requires Python >=3.10 (#211 / #213); on 3.9 it is pulled in via dbt-bigquerynbformat and crashes with TypeError: unsupported operand type(s) for |.
  • Python 3.10+ is unconstrained so it can keep taking newer releases.

Test plan

  • On Python 3.9, confirm fastjsonschema resolves to 2.21.x
  • Confirm from dbt.adapters.bigquery.relation import BigQueryRelation succeeds
  • Re-run previously failing BigQuery/dbt_manifest tests that hit the | TypeError
  • Confirm style-and-cicd-tests (3.9) passes in CI

@StuffbyYuki
StuffbyYuki force-pushed the fix/pin-fastjsonschema-py39 branch from 3a7e8d3 to 00b9a0f Compare July 27, 2026 14:49
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 <kake.19940627@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@StuffbyYuki
StuffbyYuki force-pushed the fix/pin-fastjsonschema-py39 branch from 00b9a0f to 1712c65 Compare July 27, 2026 14:49
@StuffbyYuki
StuffbyYuki merged commit e075200 into main Jul 27, 2026
32 checks passed
@StuffbyYuki
StuffbyYuki deleted the fix/pin-fastjsonschema-py39 branch July 27, 2026 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant