Skip to content

Commit 59f81a4

Browse files
authored
Force correct dependency installation order (#1044)
2 parents 9dc0365 + 143a44c commit 59f81a4

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,13 @@ check-sdist = [
6363
]
6464

6565
[tool.hatch.envs.default]
66+
pre-install-commands = [
67+
"pip install git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-adapters",
68+
"pip install git+https://github.com/dbt-labs/dbt-adapters.git@main#subdirectory=dbt-tests-adapter",
69+
]
6670
dependencies = [
6771
"dbt_common @ git+https://github.com/dbt-labs/dbt-common.git",
68-
"dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-adapters",
6972
"dbt-core @ git+https://github.com/dbt-labs/dbt-core.git@main#subdirectory=core",
70-
"dbt-tests-adapter @ git+https://github.com/dbt-labs/dbt-adapters.git@main#subdirectory=dbt-tests-adapter",
7173
"dbt-spark @ git+https://github.com/dbt-labs/dbt-adapters.git#subdirectory=dbt-spark",
7274
"pytest",
7375
"pytest-xdist",

0 commit comments

Comments
 (0)