Skip to content

Pin langgraph-checkpoint-postgres to resolve Python 3.11 CI import failure - #1

Merged
Roshanrameshhub merged 2 commits into
mainfrom
copilot/fix-tests-python-3-11
Aug 24, 2026
Merged

Pin langgraph-checkpoint-postgres to resolve Python 3.11 CI import failure#1
Roshanrameshhub merged 2 commits into
mainfrom
copilot/fix-tests-python-3-11

Conversation

Copilot AI commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

The Tests (Python 3.11) GitHub Actions job failed during test collection due to dependency skew in the LangGraph checkpoint stack. An unconstrained install of langgraph-checkpoint-postgres pulled a newer checkpoint package incompatible with the repo’s pinned langgraph==0.1.19.

  • Root cause

    • langgraph-checkpoint-postgres was unpinned, allowing resolver drift to a version line that introduces Reviver(allowed_objects=...), which is incompatible with the runtime dependency set in this repository.
  • Change

    • Pinned langgraph-checkpoint-postgres to a compatible version in requirements.txt:
      • langgraph-checkpoint-postgres==1.0.9
  • Impact

    • Stabilizes dependency resolution for the CI Python 3.11 environment and prevents import-time failure in service/test_service.py collection.
# requirements.txt
-langgraph-checkpoint-postgres
+langgraph-checkpoint-postgres==1.0.9

Co-authored-by: Roshanrameshhub <207736651+Roshanrameshhub@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job Tests (Python 3.11) Pin langgraph-checkpoint-postgres to resolve Python 3.11 CI import failure Aug 24, 2026
Copilot AI requested a review from Roshanrameshhub August 24, 2026 16:04

@Roshanrameshhub Roshanrameshhub left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Langraph checkpoint's version is not mentioned

@Roshanrameshhub
Roshanrameshhub marked this pull request as ready for review August 24, 2026 16:08
@Roshanrameshhub
Roshanrameshhub merged commit 2ae5a40 into main Aug 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants