diff --git a/pyproject.toml b/pyproject.toml index 726dc64..dffd325 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,8 @@ classifiers = [ "Programming Language :: Python :: 3.12", ] dependencies = [ - "psycopg2-binary>=2.9,<3.0", + "psycopg2-binary>=2.9,<3.0; python_version > '3.8'", + "psycopg2-binary>=2.9.0,<2.9.10; python_version <= '3.8', "dbt-adapters>=1.7.0,<2.0", # add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency "dbt-core>=1.8.0",