Commit 31e7528
Fix package-lock.yml format, remove dbt-vertica from all extra, add release validation (#2159)
* Fix package-lock.yml format for dbt 1.8+ and remove restrictive adapters from all extra
- Remove deprecated 'name' fields from package-lock.yml that dbt 1.8+ rejects
- Remove dbt-clickhouse, dbt-sqlserver, dbt-vertica from 'all' extra as they
pin dbt-core to 1.8.x (still available as individual extras)
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* Add release validation: reject package-lock.yml with deprecated 'name' fields
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* Revert lock file and release validation changes
The 'name' field in package-lock.yml is not deprecated - it is the
current format generated by modern dbt versions. The issue was specific
to dbt 1.8.x which has a bug rejecting this field. The real fix is
removing restrictive adapters from the 'all' extra so dbt resolves to
1.11+ where this bug doesn't exist.
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* Fix package-lock.yml and release validation wording
- Remove 'name' fields from package-lock.yml (unsupported in dbt 1.8)
- Re-add release validation with corrected wording: 'unsupported in dbt 1.8'
instead of incorrectly saying 'deprecated'
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* Add dbt-clickhouse and dbt-sqlserver back to all extra
Only dbt-vertica (dbt-core==1.8.5 exact pin) and dbt-fabricspark
(broken upstream) need to stay out. dbt-clickhouse 1.10.0 requires
dbt-core>=1.9 and dbt-sqlserver 1.9.0 requires dbt-core>=1.9.0,<2.0,
so both are compatible with newer dbt-core versions.
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* Add comments explaining why fabricspark and vertica are excluded from all extra
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* Bump version to 0.23.1
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* Add pre-commit hook to auto-strip 'name' fields from package-lock.yml
The hook runs on package-lock.yml changes, strips any 'name' fields
(unsupported in dbt 1.8), and exits 1 so the user re-stages the fix.
Placed before the existing verify-dbt-project-packages-lock hook.
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
* Remove release validation for package-lock.yml name fields
The pre-commit hook handles this automatically now, so the release
validation step is redundant.
Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
---------
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Itamar Hartstein <haritamar@gmail.com>1 parent 8c910d4 commit 31e7528
File tree
3 files changed
+30
-6
lines changed- elementary/monitor/dbt_project
3 files changed
+30
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
49 | 72 | | |
50 | 73 | | |
51 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
4 | 3 | | |
5 | | - | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
8 | 6 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
| |||
0 commit comments