diff --git a/dbt-spark/hatch.toml b/dbt-spark/hatch.toml index 55a51c7cb..638bba83c 100644 --- a/dbt-spark/hatch.toml +++ b/dbt-spark/hatch.toml @@ -1,11 +1,13 @@ [version] -path = "dbt/adapters/spark/__version__.py" +path = "src/dbt/adapters/spark/__version__.py" [build.targets.sdist] -packages = ["dbt"] +packages = ["src/dbt"] +sources = ["src"] [build.targets.wheel] -packages = ["dbt"] +packages = ["src/dbt"] +sources = ["src"] [envs.default] dependencies = [ diff --git a/dbt-spark/pyproject.toml b/dbt-spark/pyproject.toml index 4079e0af5..de27f9cb2 100644 --- a/dbt-spark/pyproject.toml +++ b/dbt-spark/pyproject.toml @@ -53,8 +53,7 @@ Changelog = "https://github.com/dbt-labs/dbt-spark/blob/main/CHANGELOG.md" [tool.pytest.ini_options] testpaths = ["tests/functional", "tests/unit"] env_files = ["test.env"] -addopts = "-v -n auto" -color = true +addopts = "-v --color=yes -n auto" filterwarnings = [ "ignore:.*'soft_unicode' has been renamed to 'soft_str'*:DeprecationWarning", "ignore:unclosed file .*:ResourceWarning",