Conversation
…owngrade The 'Install Elementary' step was using pip install './elementary[vertica]' which re-resolved dbt-vertica's dependencies, causing dbt-core to be downgraded to ~1.7.3. The older dbt-core is incompatible with newer protobuf (MessageToJson() missing 'including_default_value_fields' arg), breaking the subsequent 'Install dependencies' step (dbt deps). Since dbt-vertica is already installed with --no-deps in the prior step, we install elementary without the [vertica] extra to preserve the correct dbt-core version. Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Contributor
|
👋 @devin-ai-integration[bot] |
haritamar
approved these changes
Mar 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the Vertica CI failure in the "Install dependencies" step.
The "Install Elementary" step was running
pip install "./elementary[vertica]", which re-resolvesdbt-vertica's full dependency tree. Sincedbt-verticapinsdbt-core~=1.8, pip downgrades dbt-core from the latest to 1.7.3. That old dbt-core is incompatible with newerprotobuf(MessageToJson()lost theincluding_default_value_fieldskwarg), causingdbt depsto crash immediately after.The fix: for Vertica, install elementary without the
[vertica]extra —dbt-verticais already installed (with--no-deps) in the prior "Install dbt-vertica" step, so the extra is unnecessary and harmful. This mirrors the same approach already used in theelementaryrepo'stest-warehouse.yml.Review & Testing Checklist for Human
test-warehouseworkflow withwarehouse-type: verticaand confirm it gets past "Install dependencies" and completes the full test suite.elsebranch preserves the original behavior for all non-Vertica warehouses.Notes
dbt-verticaon PyPI still pinsdbt-core~=1.8. If/when that is relaxed, this workaround could be removed.devin/1773274966-vertica-support) because theelementaryrepo's workflow already had this fix — but thedbt-data-reliabilityrepo's workflow was missing it.Link to Devin session: https://app.devin.ai/sessions/9c1f4f76777145b08c5fca7658b5899c
Requested by: @haritamar