You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
depending on pytest-mock-resources requires you to also have psycopg2 in your environment. A previous PR (I think) removed the setup.py install requirement (because not every consumer will use pg); but we still perform imports of psycopg2 which cause those imports to fail.
Expected behavior
psycopg2 should remain an optional extra, but we should guard the imports such that it allows users to not have it installed.
The text was updated successfully, but these errors were encountered:
Describe the bug
depending on pytest-mock-resources requires you to also have psycopg2 in your environment. A previous PR (I think) removed the setup.py install requirement (because not every consumer will use pg); but we still perform imports of psycopg2 which cause those imports to fail.
Expected behavior
psycopg2 should remain an optional extra, but we should guard the imports such that it allows users to not have it installed.
The text was updated successfully, but these errors were encountered: