Skip to content

Please make psycopg2 test dependency optional and/or support psycopg-3 #163

Closed
@mgorny

Description

@mgorny

The psycopg2 has been superseded a while ago by psycopg >= 3. However, the most recent release make it impossible to run the test suite without psycopg2 installed:

tests/conftest.py:20: in <module>
    from psycopg2.pool import ThreadedConnectionPool
E   ModuleNotFoundError: No module named 'psycopg2'

Could you please make the dependency optional, so we could deselect the tests requiring it? Or at least move to the modern psycopg package?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions