Tags: elementary-data/elementary
Tags
Fix package-lock.yml format, remove dbt-vertica from all extra, add r… …elease 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>
Remove apt-get dist-upgrade and upgrade to Python 3.12 to fix QEMU ar… …m64 segfault (#2158) * Remove apt-get dist-upgrade from Dockerfile to fix QEMU arm64 segfault Co-Authored-By: Itamar Hartstein <haritamar@gmail.com> * Upgrade base image to Python 3.12 and fix python-dev package name 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>
Feature: make the number of columns that are formatted as a table in … …Teams alerts a cli flag so that users have more control over the formatting in Teams (#1958) * Introduced a new configuration setting in which one can change the number of columns that are allowed in a result sample that will be displayed as a table. If it exceeds this number of columns than it will be parsed as a JSON * Use full width for Teams message to allow beter formatting of a table * Depending on size of table format it differently so that large tables are better readable * Refactor code + implement a sleep to prevent rate limits from being hit in Teams for scenarios where a lot of alerts need to be sent * Error handling for the teams webhook alerting to handle cases like network exceptions * Correct data type in which the message configuration is populating the message that is sent to MS Teams * Refactor coderabbitai suggestion * Implemented feedback of Elazar * Adapt new full widt layout for MS Teams alerting in unit tests * Fix failing unit tests --------- Co-authored-by: Frank Tubbing <frank.tubbing@beequip.nl> Co-authored-by: Itamar Hartstein <haritamar@gmail.com>
PreviousNext