diff --git a/pyproject.toml b/pyproject.toml index f4c9bda..f253140 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ allow-direct-references = true dependencies = [ - "psycopg2-binary>=2.9,<3.0", + "psycopg2-binary==2.9.9", "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@ADAP-207/get_show_sql_has_no_wrapping", # add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency "dbt-core>=1.8.0a1", @@ -59,7 +59,7 @@ path = "dbt/adapters/postgres/__version__.py" [tool.hatch.envs.default] dependencies = [ - "psycopg2-binary>=2.9,<3.0", + "psycopg2-binary==2.9.9", "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@ADAP-207/get_show_sql_has_no_wrapping", "dbt-common @ git+https://github.com/dbt-labs/dbt-common.git", 'pre-commit==3.7.0;python_version>="3.9"', @@ -77,7 +77,7 @@ docker-prod = "docker build -f docker/Dockerfile -t dbt-postgres ." [tool.hatch.envs.unit-tests] dependencies = [ - "psycopg2-binary>=2.9,<3.0", + "psycopg2-binary==2.9.9", "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@ADAP-207/get_show_sql_has_no_wrapping", "dbt-common @ git+https://github.com/dbt-labs/dbt-common.git", "dbt-core @ git+https://github.com/dbt-labs/dbt-core.git#subdirectory=core",