From a336aded8e28182449cb311ce140441726c562a8 Mon Sep 17 00:00:00 2001 From: stuffbyyuki Date: Wed, 22 Jul 2026 01:34:05 -0600 Subject: [PATCH] fix(dbt): align sushi_test packages.yml with dbt_packages for dbt 1.12 dbt-core 1.12 requires packages.yml and dbt_packages/ to have matching counts. Declare my_macros and my_package as local packages (same layout as customers) so CI on Python 3.10+ and Windows stops failing manifest loads. Co-authored-by: Cursor Signed-off-by: stuffbyyuki --- tests/fixtures/dbt/sushi_test/dbt_packages/my_macros | 1 + tests/fixtures/dbt/sushi_test/dbt_packages/my_package | 1 + tests/fixtures/dbt/sushi_test/packages.yml | 3 ++- .../{dbt_packages => packages}/my_macros/dbt_project.yml | 0 .../my_macros/macros/log_value_alt.sql | 0 .../{dbt_packages => packages}/my_package/dbt_project.yml | 0 .../my_package/models/dummy_model.sql | 0 7 files changed, 4 insertions(+), 1 deletion(-) create mode 120000 tests/fixtures/dbt/sushi_test/dbt_packages/my_macros create mode 120000 tests/fixtures/dbt/sushi_test/dbt_packages/my_package rename tests/fixtures/dbt/sushi_test/{dbt_packages => packages}/my_macros/dbt_project.yml (100%) rename tests/fixtures/dbt/sushi_test/{dbt_packages => packages}/my_macros/macros/log_value_alt.sql (100%) rename tests/fixtures/dbt/sushi_test/{dbt_packages => packages}/my_package/dbt_project.yml (100%) rename tests/fixtures/dbt/sushi_test/{dbt_packages => packages}/my_package/models/dummy_model.sql (100%) diff --git a/tests/fixtures/dbt/sushi_test/dbt_packages/my_macros b/tests/fixtures/dbt/sushi_test/dbt_packages/my_macros new file mode 120000 index 0000000000..2ae38584fa --- /dev/null +++ b/tests/fixtures/dbt/sushi_test/dbt_packages/my_macros @@ -0,0 +1 @@ +../packages/my_macros \ No newline at end of file diff --git a/tests/fixtures/dbt/sushi_test/dbt_packages/my_package b/tests/fixtures/dbt/sushi_test/dbt_packages/my_package new file mode 120000 index 0000000000..4895fb5b24 --- /dev/null +++ b/tests/fixtures/dbt/sushi_test/dbt_packages/my_package @@ -0,0 +1 @@ +../packages/my_package \ No newline at end of file diff --git a/tests/fixtures/dbt/sushi_test/packages.yml b/tests/fixtures/dbt/sushi_test/packages.yml index 34cb31e0a6..a094dea1af 100644 --- a/tests/fixtures/dbt/sushi_test/packages.yml +++ b/tests/fixtures/dbt/sushi_test/packages.yml @@ -1,3 +1,4 @@ packages: - local: packages/customers - + - local: packages/my_macros + - local: packages/my_package diff --git a/tests/fixtures/dbt/sushi_test/dbt_packages/my_macros/dbt_project.yml b/tests/fixtures/dbt/sushi_test/packages/my_macros/dbt_project.yml similarity index 100% rename from tests/fixtures/dbt/sushi_test/dbt_packages/my_macros/dbt_project.yml rename to tests/fixtures/dbt/sushi_test/packages/my_macros/dbt_project.yml diff --git a/tests/fixtures/dbt/sushi_test/dbt_packages/my_macros/macros/log_value_alt.sql b/tests/fixtures/dbt/sushi_test/packages/my_macros/macros/log_value_alt.sql similarity index 100% rename from tests/fixtures/dbt/sushi_test/dbt_packages/my_macros/macros/log_value_alt.sql rename to tests/fixtures/dbt/sushi_test/packages/my_macros/macros/log_value_alt.sql diff --git a/tests/fixtures/dbt/sushi_test/dbt_packages/my_package/dbt_project.yml b/tests/fixtures/dbt/sushi_test/packages/my_package/dbt_project.yml similarity index 100% rename from tests/fixtures/dbt/sushi_test/dbt_packages/my_package/dbt_project.yml rename to tests/fixtures/dbt/sushi_test/packages/my_package/dbt_project.yml diff --git a/tests/fixtures/dbt/sushi_test/dbt_packages/my_package/models/dummy_model.sql b/tests/fixtures/dbt/sushi_test/packages/my_package/models/dummy_model.sql similarity index 100% rename from tests/fixtures/dbt/sushi_test/dbt_packages/my_package/models/dummy_model.sql rename to tests/fixtures/dbt/sushi_test/packages/my_package/models/dummy_model.sql