Skip to content

build(deps): cap sqlalchemy below 2.2 - #103

Open
kcrmin wants to merge 2 commits into
developfrom
build/harden-dependency-ranges
Open

kcrmin wants to merge 2 commits into
developfrom
build/harden-dependency-ranges

Conversation

@kcrmin

@kcrmin kcrmin commented Oct 26, 2026

Copy link
Copy Markdown
Member

What and why

SQLAlchemy 2.1 retyped Result and broke the type gate with no change in this repo. This caps sqlalchemy at <2.2 so the next minor release is a deliberate bump. 2.1 stays allowed because the suites pass on 2.1.6. mypy==2.3.0 is unchanged, and data-pipeline now pins the same release.

Depends on #102; this branch starts from it. Paired with Idea2Strategy/Idea2Strategy-data-pipeline#66.

Checklist

  • Tests pass
  • Type check passes
  • No secrets or personal data

SQLAlchemy 2.1 types Result with variadic generics, so mypy 2.3.0
reports var-annotated on bare scalar_one() assignments.
SQLAlchemy 2.1 retyped Result and broke the type gate, so the next
minor should be a deliberate bump. mypy stays pinned with data-pipeline.
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