Hello! I am trying to test package upgrades before...
# community-support
j
Hello! I am trying to test package upgrades before I commit new requirements to our codebase. I have created a new venv using... • Python 3.11.5 • dbt core 1.8.2 • dbt-postgres 1.8.2 • elementary *Python package 0.15.1, dbt package 0.15.2 When I try to run "edr report" I get (while it runs a dbt deps for the package)
FileNotFoundError: [Errno 2] No such file or directory: 'dbt_packages\\dbt-data-reliability-0.15.1\\integration_tests\\deprecated_tests\\macros\\unit_tests\\test_adapter_specific_macros_have_default_implementation.sql'
this file exists at the location
dbt_packages\elementary\<etc>
but I have no folder for "dbt-data-reliability-0.15.1" Any ideas where I'm going wrong? TIA
I just attempted to do a force-reinstall from the pip side, because we typically allow dbt clean to wipe our packages folder... this did not cause the "dbt-data-reliability-0.15.1" folder to appear, sadly.
Paying attention to the project directory in
Command '['dbt', '--log-format', 'json', 'deps', '--project-dir', '<my_test_folder>\\.dbtenv\\Lib\\site-packages\\elementary\\monitor\\dbt_project']'
there exists in that Elementary site-packages folder the desired path
dbt_packages\\dbt-data-reliability-0.15.1\\integration_tests\\deprecated_tests\\macros\\unit_tests\\
but indeed the sql file does not exist here (unit_tests folder is empty)
More strangely, adding a copy of the sql file from my elementary package folder into the venv site-packages folder does not resolve the "file not found" error.
Found it! https://github.com/elementary-data/elementary/issues/1679 for the next poor sod who has to figure out Windows filepath length errors.