Files
ServerKit/backend
Juan DenisandClaude Opus 5 4b0bbf9864 deps: SQLAlchemy 2.0.52 — 2.0.23 cannot import on Python 3.13
Required for Debian 13 (issue #99), which ships only python3.13. SQLAlchemy
2.0.23 installs there and then dies at import:

    AssertionError: Class <class 'sqlalchemy.sql.elements.SQLCoreOperations'>
    directly inherits TypingOnly but has additional attributes
    {'__static_attributes__', '__firstlineno__'}

3.13 adds those two class attributes and SQLAlchemy's TypingOnly guard rejected
anything it did not expect. Fixed upstream in 2.0.31.

Measured rather than assumed, because this pin sits under every query in the
app. Full backend suite on Python 3.11 with 2.0.52: 3542 passed, 48 skipped —
byte-identical to the same suite on 2.0.23. Run against a throwaway overlay so
the comparison was pins-only, nothing else moved.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-14 11:55:11 -04:00
..