fix(ci): pin fastjsonschema below 2.22 on Python 3.9 - #5923
Merged
Conversation
StuffbyYuki
force-pushed
the
fix/pin-fastjsonschema-py39
branch
from
July 27, 2026 14:49
3a7e8d3 to
00b9a0f
Compare
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
force-pushed
the
fix/pin-fastjsonschema-py39
branch
from
July 27, 2026 14:49
00b9a0f to
1712c65
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fastjsonschema<2.22for Python <3.10 in thedevextras so Python 3.9 CI no longer installs broken2.22.0.fastjsonschema2.22+ uses PEP 604 type hints and upstream now requires Python >=3.10 (#211 / #213); on 3.9 it is pulled in viadbt-bigquery→nbformatand crashes withTypeError: unsupported operand type(s) for |.Test plan
fastjsonschemaresolves to2.21.xfrom dbt.adapters.bigquery.relation import BigQueryRelationsucceedsdbt_manifesttests that hit the|TypeErrorstyle-and-cicd-tests (3.9)passes in CI