Fix SAWarnings #7

Merged
alexander merged 4 commits from fix-sawarnings into develop 2026-11-30 11:05:12 +01:00

2026-11-30

Turn all warnings into errors
All checks were successful
CI / Checks (Python 3.13) (push) Successful in 1m43s
New warnings, such as deprecations,
then fail right away instead of piling up.

The ignore for `patsy` is obsolete.
2026-11-30 10:56:56 +01:00
Close the connection after running the migrations
The pooled `connection` stayed open until garbage collection,
which emits a `ResourceWarning`
2026-11-30 10:54:36 +01:00
Link new objects from the parent
Since SQLAlchemy 2.0, only the parent's end
cascades a new object into the session'
2026-11-30 10:40:27 +01:00
Join the session into the outer transaction
With "create_savepoint", commits inside a test case
only release a savepoint, so the final rollback no longer warns
2026-11-30 10:24:10 +01:00