Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dbt deps failing on tarballs (#9068)
* tarball lockfile fix * Add changie doc for tarball deps issue * Add integration test for ensuring tarball package specification works This test was written _after_ the fix was commited. However, I ran this test against main without the fix and it failed. After running the test with the tarball fix, it passed. * Remove unnecessary `tarball` conditional logic in `PackageConfig.validate` We had a conditional to skip validation for a package if the package included the `tarball` key. However, this conditional always returned false as it was nested inside a conditional that the package had the default `package` key, which means it's not a tarball package, but a package package (maybe we need better differentiation here). If we need additional validation for tarballs down the road, we should do that one level up. At this time we have no additional validaitons to add. * Fix typos in changie doc for tarball deps issue * Improve tarball package test naming and add related unhappy path test * Remove unnecessary `setUp` fixture from tarball package tests We initially included this fixture due to copy and pasting another test. However, this `setUp` fixture isn't actually necessary for the tarball dependency tests. --------- Co-authored-by: Chenyu Li <chenyu.li@dbtlabs.com> (cherry picked from commit 017faf4)
- Loading branch information