Skip to content

Conversation

@PeakPy
Copy link

@PeakPy PeakPy commented Feb 12, 2026

This PR addresses the PostgreSQL dependency part of issue #248 by replacing psycopg2-binary with the recommended psycopg2 package.

Changes:

  • Remove psycopg2-binary from project dependencies in pyproject.toml.
  • Add psycopg2>=2.9.9 as the production-safe PostgreSQL driver.
  • Update uv.lock accordingly.

Rationale:

  • psycopg2-binary is not recommended for production use.
  • The project already uses asyncpg for async access; psycopg2 is only needed for sync tooling (e.g. tests, create_engine).

Tests:

  • uv run pytest
  • uv run ruff check src
  • uv run mypy src

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.

1 participant