Skip to content

Fix Backend Tests CI import failure by adding psycopg v3 dependency - #2

Merged
RKS-ai-coder merged 2 commits into
mainfrom
copilot/fix-backend-tests-failure
Aug 23, 2026
Merged

RKS-ai-coder merged 2 commits into
mainfrom
copilot/fix-backend-tests-failure

Conversation

Copilot AI commented Aug 23, 2026 •

Copy link
Copy Markdown
Contributor

The Backend Tests GitHub Actions job was failing before test execution because app import initialized SQLAlchemy with the postgresql+psycopg dialect while psycopg was not installed. This change aligns runtime dependencies with the configured database driver.

  • Root cause addressed

    • Added missing PostgreSQL driver package required by SQLAlchemy’s psycopg dialect.
  • Dependency update

    • Updated requirements.txt to include psycopg v3 with binary wheels.
# requirements.txt
psycopg[binary]==3.2.12
  • Impact
    • Removes ModuleNotFoundError: No module named 'psycopg' during backend test startup in CI.
    • Keeps existing DB URL/dialect configuration unchanged; only dependency alignment was required.

Co-authored-by: RKS-ai-coder <218740563+RKS-ai-coder@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix the failing GitHub Actions job backend tests Fix Backend Tests CI import failure by adding psycopg v3 dependency Aug 23, 2026
Copilot AI requested a review from RKS-ai-coder August 23, 2026 15:22
@RKS-ai-coder
RKS-ai-coder marked this pull request as ready for review August 23, 2026 15:31
@RKS-ai-coder
RKS-ai-coder merged commit 5165e5e into main Aug 23, 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