[PR #6584] fix(checkpoint-sqlite): AttributeError: 'Connection' object has no attribute 'is_alive' #5139

Closed
opened 2026-02-20 17:51:17 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langchain-ai/langgraph/pull/6584

State: closed
Merged: No


Description

aiosqlite released a new version 0.22.0 which comes with breaking-changes

The class Connection no longer inherits from Thread, so AsyncSqliteSaver will fail with:

AttributeError: 'Connection' object has no attribute 'is_alive'

Fixes: https://github.com/langchain-ai/langgraph/issues/6583

References:
https://github.com/UiPath/uipath-langchain-python/issues/344
https://github.com/omnilib/aiosqlite/issues/368

**Original Pull Request:** https://github.com/langchain-ai/langgraph/pull/6584 **State:** closed **Merged:** No --- ## Description `aiosqlite` released a new version [0.22.0](https://github.com/omnilib/aiosqlite/releases/tag/v0.22.0) which comes with [breaking-changes](https://github.com/omnilib/aiosqlite/commit/1cd60adcab12347577150a6fa6c7d92b7b86d989#diff-3716bdfa73f4bf05a8cbf62e271bc61298991ae6a7a6cab1d293a23342b86a4cL47-R48) The class `Connection` no longer inherits from `Thread`, so `AsyncSqliteSaver` [will fail with](https://github.com/langchain-ai/langgraph/blob/main/libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py#L284C1-L285C32): ``` AttributeError: 'Connection' object has no attribute 'is_alive' ``` Fixes: https://github.com/langchain-ai/langgraph/issues/6583 References: https://github.com/UiPath/uipath-langchain-python/issues/344 https://github.com/omnilib/aiosqlite/issues/368
yindo added the pull-request label 2026-02-20 17:51:17 -05:00
yindo closed this issue 2026-02-20 17:51:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#5139