Skip to content

Commit

Permalink
Trying lock approach for dependency management (#878)
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-db authored Dec 17, 2024
1 parent a59f08d commit f94e6ed
Show file tree
Hide file tree
Showing 3 changed files with 319 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## dbt-databricks 1.9.2 (TBD)

### Under the Hood

- Switch to UV and locks for dependency management ([878](https://github.com/databricks/dbt-databricks/pull/878))

## dbt-databricks 1.9.1 (December 16, 2024)

### Features
Expand Down
7 changes: 7 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,14 @@ check-sdist = [
"pip freeze | grep dbt-databricks",
]

[tool.hatch.env]
requires = ["hatch-pip-compile"]

[tool.hatch.envs.default]
type = "pip-compile"
pip-compile-resolver = "uv"
lock-filename = "uv.lock"
pip-compile-constraint = "default"
dependencies = [
"dbt_common @ git+https://github.com/dbt-labs/dbt-common.git",
"dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@main",
Expand Down
306 changes: 306 additions & 0 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f94e6ed

Please sign in to comment.