ci: pin SQLAlchemy<2.1 (2.1 defaults to psycopg v3, we ship psycopg2) #144
No reviewers
Labels
No labels
architecture
backend
bug
ci
config
database
docker
documentation
duplicate
enhancement
frontend
help wanted
invalid
issue-25
issue-26
issue-42
issue-65
issue-67
issue-82
migrations
p0-critical
p1-high
p2-medium
p3-low
performance
quality
question
security
state-management
testing
timezone
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
fastie81/honbu-manager!144
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/pin-sqlalchemy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fresh pip installs (CI cache miss, or any new image build) now resolve SQLAlchemy 2.1.x, which defaults
postgresql://to psycopg v3. We only shippsycopg2-binary, socreate_app()fails withModuleNotFoundError: No module named 'psycopg'. Prod runs 2.0.52.Fix:
SQLAlchemy>=2.0,<2.1in requirements.txt (+1 line).Verified: CI on
7c90008is fully green (test, lint-frontend, build, deploy). Unblocks #143, whose test job failed on this exact error.