diff --git a/CHANGELOG.md b/CHANGELOG.md index a4c107a9..98bdcc16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/pyproject.toml b/pyproject.toml index d2f728d8..a42a8f4e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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", diff --git a/uv.lock b/uv.lock new file mode 100644 index 00000000..a5783157 --- /dev/null +++ b/uv.lock @@ -0,0 +1,306 @@ +# +# This file is autogenerated by hatch-pip-compile with Python 3.9 +# +# - dbt_common@ git+https://github.com/dbt-labs/dbt-common.git +# - dbt-adapters@ git+https://github.com/dbt-labs/dbt-adapters.git@main +# - dbt-core@ git+https://github.com/dbt-labs/dbt-core.git@main#subdirectory=core +# - dbt-tests-adapter@ git+https://github.com/dbt-labs/dbt-adapters.git@main#subdirectory=dbt-tests-adapter +# - dbt-spark@ git+https://github.com/dbt-labs/dbt-spark.git@main +# - pytest +# - pytest-xdist +# - pytest-dotenv +# - freezegun +# - mypy +# - pre-commit +# - ruff +# - types-requests +# - debugpy +# - pydantic<2,>=1.10.0 +# - databricks-sdk==0.17.0 +# - databricks-sql-connector<4.0.0,>=3.5.0 +# - dbt-adapters<2.0,>=1.7.0 +# - dbt-common<2.0,>=1.10.0 +# - dbt-core<2.0,>=1.8.7 +# - dbt-spark<2.0,>=1.8.0 +# - keyring>=23.13.0 +# - pydantic>=1.10.0 +# + +agate==1.9.1 + # via + # dbt-adapters + # dbt-common + # dbt-core +attrs==24.3.0 + # via + # jsonschema + # referencing +babel==2.16.0 + # via agate +backports-tarfile==1.2.0 + # via jaraco-context +cachetools==5.5.0 + # via google-auth +certifi==2024.12.14 + # via requests +cfgv==3.4.0 + # via pre-commit +charset-normalizer==3.4.0 + # via requests +click==8.1.7 + # via + # dbt-core + # dbt-semantic-interfaces +colorama==0.4.6 + # via dbt-common +daff==1.3.46 + # via dbt-core +databricks-sdk==0.17.0 + # via hatch.envs.default +databricks-sql-connector==3.6.0 + # via hatch.envs.default +dbt-adapters @ git+https://github.com/dbt-labs/dbt-adapters.git@e3964d76c1719baf5e3fe689d385aec1d8535d15 + # via + # hatch.envs.default + # dbt-core + # dbt-spark + # dbt-tests-adapter +dbt-common @ git+https://github.com/dbt-labs/dbt-common.git@c72ea7e3abf70ce632d30722036dd0b4afcaf330 + # via + # hatch.envs.default + # dbt-adapters + # dbt-core + # dbt-spark +dbt-core @ git+https://github.com/dbt-labs/dbt-core.git@6c61cb7f7adbdce8edec35a887d6c766a401e403#subdirectory=core + # via + # hatch.envs.default + # dbt-spark + # dbt-tests-adapter +dbt-extractor==0.5.1 + # via dbt-core +dbt-semantic-interfaces==0.8.3 + # via dbt-core +dbt-spark @ git+https://github.com/dbt-labs/dbt-spark.git@a38a288d7d3868c88313350f7d369223b0f03a05 + # via hatch.envs.default +dbt-tests-adapter @ git+https://github.com/dbt-labs/dbt-adapters.git@e3964d76c1719baf5e3fe689d385aec1d8535d15#subdirectory=dbt-tests-adapter + # via hatch.envs.default +debugpy==1.8.11 + # via hatch.envs.default +deepdiff==7.0.1 + # via dbt-common +distlib==0.3.9 + # via virtualenv +et-xmlfile==2.0.0 + # via openpyxl +exceptiongroup==1.2.2 + # via pytest +execnet==2.1.1 + # via pytest-xdist +filelock==3.16.1 + # via virtualenv +freezegun==1.5.1 + # via + # hatch.envs.default + # dbt-tests-adapter +google-auth==2.37.0 + # via databricks-sdk +identify==2.6.3 + # via pre-commit +idna==3.10 + # via requests +importlib-metadata==6.11.0 + # via + # dbt-semantic-interfaces + # keyring +iniconfig==2.0.0 + # via pytest +isodate==0.6.1 + # via + # agate + # dbt-common +jaraco-classes==3.4.0 + # via keyring +jaraco-context==6.0.1 + # via keyring +jaraco-functools==4.1.0 + # via keyring +jinja2==3.1.4 + # via + # dbt-common + # dbt-core + # dbt-semantic-interfaces +jsonschema==4.23.0 + # via + # dbt-common + # dbt-semantic-interfaces +jsonschema-specifications==2024.10.1 + # via jsonschema +keyring==25.5.0 + # via hatch.envs.default +leather==0.4.0 + # via agate +lz4==4.3.3 + # via databricks-sql-connector +markupsafe==3.0.2 + # via jinja2 +mashumaro==3.14 + # via + # dbt-adapters + # dbt-common + # dbt-core +more-itertools==10.5.0 + # via + # dbt-semantic-interfaces + # jaraco-classes + # jaraco-functools +msgpack==1.1.0 + # via mashumaro +mypy==1.13.0 + # via hatch.envs.default +mypy-extensions==1.0.0 + # via mypy +networkx==3.2.1 + # via dbt-core +nodeenv==1.9.1 + # via pre-commit +numpy==1.26.4 + # via + # databricks-sql-connector + # pandas + # pyarrow +oauthlib==3.2.2 + # via databricks-sql-connector +openpyxl==3.1.5 + # via databricks-sql-connector +ordered-set==4.1.0 + # via deepdiff +packaging==24.2 + # via + # dbt-core + # pytest +pandas==2.2.3 + # via databricks-sql-connector +parsedatetime==2.6 + # via agate +pathspec==0.12.1 + # via + # dbt-common + # dbt-core +platformdirs==4.3.6 + # via virtualenv +pluggy==1.5.0 + # via pytest +pre-commit==4.0.1 + # via hatch.envs.default +protobuf==5.29.1 + # via + # dbt-adapters + # dbt-common + # dbt-core +pyarrow==16.1.0 + # via databricks-sql-connector +pyasn1==0.6.1 + # via + # pyasn1-modules + # rsa +pyasn1-modules==0.4.1 + # via google-auth +pydantic==1.10.19 + # via + # hatch.envs.default + # dbt-semantic-interfaces +pytest==8.3.4 + # via + # hatch.envs.default + # pytest-dotenv + # pytest-xdist +pytest-dotenv==0.5.2 + # via hatch.envs.default +pytest-xdist==3.6.1 + # via hatch.envs.default +python-dateutil==2.9.0.post0 + # via + # dbt-common + # dbt-semantic-interfaces + # freezegun + # pandas +python-dotenv==1.0.1 + # via pytest-dotenv +python-slugify==8.0.4 + # via agate +pytimeparse==1.1.8 + # via agate +pytz==2024.2 + # via + # dbt-adapters + # dbt-core + # pandas +pyyaml==6.0.2 + # via + # dbt-core + # dbt-semantic-interfaces + # dbt-tests-adapter + # pre-commit +referencing==0.35.1 + # via + # jsonschema + # jsonschema-specifications +requests==2.32.3 + # via + # databricks-sdk + # databricks-sql-connector + # dbt-common + # dbt-core + # snowplow-tracker +rpds-py==0.22.3 + # via + # jsonschema + # referencing +rsa==4.9 + # via google-auth +ruff==0.8.3 + # via hatch.envs.default +six==1.17.0 + # via + # isodate + # python-dateutil + # thrift +snowplow-tracker==1.0.4 + # via dbt-core +sqlparams==6.1.0 + # via dbt-spark +sqlparse==0.5.3 + # via dbt-core +text-unidecode==1.3 + # via python-slugify +thrift==0.20.0 + # via databricks-sql-connector +tomli==2.2.1 + # via + # mypy + # pytest +types-requests==2.32.0.20241016 + # via + # hatch.envs.default + # snowplow-tracker +typing-extensions==4.12.2 + # via + # dbt-adapters + # dbt-common + # dbt-core + # dbt-semantic-interfaces + # mashumaro + # mypy + # pydantic + # snowplow-tracker +tzdata==2024.2 + # via pandas +urllib3==2.2.3 + # via + # databricks-sql-connector + # requests + # types-requests +virtualenv==20.28.0 + # via pre-commit +zipp==3.21.0 + # via importlib-metadata