Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion aikido_zen/sinks/psycopg2.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ def patch(m):
cannot set 'execute' attribute of immutable type 'psycopg2.extensions.cursor',
so we create our own cursor factory to bypass this limitation.
"""
# Don't drop support for 2.8.6, Odoo v16 uses that version
compatible = is_package_compatible(
required_version="2.9.2", packages=["psycopg2", "psycopg2-binary"]
required_version="2.8.6", packages=["psycopg2", "psycopg2-binary"]
)
if not compatible:
# Users can install either psycopg2 or psycopg2-binary, we need to check if at least
Expand Down
Loading