diff --git a/pyproject.toml b/pyproject.toml index 77885f0..ee89309 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -54,7 +54,7 @@ path = "dbt/adapters/postgres/__version__.py" [tool.hatch.envs.default] dependencies = [ - "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@ADAP-207/get_show_sql_has_no_wrapping", + { git = "https://github.com/dbt-labs/dbt-adapters.git", rev = "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"', 'pre-commit==3.5.0;python_version=="3.8"', @@ -71,7 +71,7 @@ docker-prod = "docker build -f docker/Dockerfile -t dbt-postgres ." [tool.hatch.envs.unit-tests] dependencies = [ - "dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@ADAP-207/get_show_sql_has_no_wrapping", + { git = "https://github.com/dbt-labs/dbt-adapters.git", rev = "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", "freezegun", @@ -86,7 +86,7 @@ all = "python -m pytest {args:tests/unit}" [tool.hatch.envs.integration-tests] template = "unit-tests" extra-dependencies = [ - "dbt-tests-adapter @ git+https://github.com/dbt-labs/dbt-adapters.git@ADAP-207/get_show_sql_has_no_wrapping#subdirectory=dbt-tests-adapter", + { git = "https://github.com/dbt-labs/dbt-adapters.git", rev = "ADAP-207/get_show_sql_has_no_wrapping", subdirectory = "dbt-tests-adapter" }, ] [tool.hatch.envs.integration-tests.env-vars] DBT_TEST_USER_1 = "dbt_test_user_1"