From d9e591bba035501450d638d2a226b1f4cc7cfdfc Mon Sep 17 00:00:00 2001 From: Mila Page Date: Tue, 23 Jul 2024 11:25:45 -0700 Subject: [PATCH 1/2] temp swap for testing. --- pyproject.toml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0fb7b88..3951ee0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,9 +22,12 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", ] + +[tool.hatch.metadata] +allow-direct-references = true dependencies = [ "psycopg2-binary>=2.9,<3.0", - "dbt-adapters>=1.1.1,<2.0", + "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git @ ADAP-821/support_for_redshift_821", # add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency "dbt-core>=1.8.0", # installed via dbt-adapters but used directly @@ -53,7 +56,7 @@ path = "dbt/adapters/postgres/__version__.py" [tool.hatch.envs.default] dependencies = [ - "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git", + "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git @ ADAP-821/support_for_redshift_821", "dbt-common @ git+https://github.com/dbt-labs/dbt-common.git", "dbt-tests-adapter @ git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter", "dbt-core @ git+https://github.com/dbt-labs/dbt-core.git#subdirectory=core", From 02ccd4f4fbe995a1d2068c7dd51bb60ab8377479 Mon Sep 17 00:00:00 2001 From: Mila Page Date: Tue, 23 Jul 2024 11:28:53 -0700 Subject: [PATCH 2/2] Try again. --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 3951ee0..d2a2e1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -27,7 +27,7 @@ classifiers = [ allow-direct-references = true dependencies = [ "psycopg2-binary>=2.9,<3.0", - "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git @ ADAP-821/support_for_redshift_821", + "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@ADAP-821/support_for_redshift_821", # add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency "dbt-core>=1.8.0", # installed via dbt-adapters but used directly @@ -56,7 +56,7 @@ path = "dbt/adapters/postgres/__version__.py" [tool.hatch.envs.default] dependencies = [ - "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git @ ADAP-821/support_for_redshift_821", + "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@ADAP-821/support_for_redshift_821", "dbt-common @ git+https://github.com/dbt-labs/dbt-common.git", "dbt-tests-adapter @ git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-tests-adapter", "dbt-core @ git+https://github.com/dbt-labs/dbt-core.git#subdirectory=core",