From a498788c735b3c23d574af32ffbe43f5fffb86b1 Mon Sep 17 00:00:00 2001 From: Colin Rogers <111200756+colin-rogers-dbt@users.noreply.github.com> Date: Wed, 16 Oct 2024 20:24:46 -0700 Subject: [PATCH] Set upper bound on psycopg2 for 3.8 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 2f97d5c5..4b773566 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,7 +23,8 @@ classifiers = [ "Programming Language :: Python :: 3.11", ] 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>=0.1.0a1,<2.0", # add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency "dbt-core>=1.8.0a1",