Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try upgrading dbt-core & dbt adapters versions to see if the dependencies resolve #1235

Closed
wants to merge 2 commits into from

Conversation

pankajkoti
Copy link
Contributor

@pankajkoti pankajkoti commented Oct 3, 2024

Observed sqlite integration job failing to resolve dependencies after adding the dbt-bigquery adapter to the job in the PR #1230
Hence, try to use newer dbt-core & adapters to see if CI is able to resolve dependencies

Copy link

netlify bot commented Oct 3, 2024

Deploy Preview for sunny-pastelito-5ecb04 canceled.

Name Link
🔨 Latest commit 36bc294
🔍 Latest deploy log https://app.netlify.com/sites/sunny-pastelito-5ecb04/deploys/66fe58bc11b1600008cf8bcc

@@ -1,4 +1,4 @@
pip uninstall -y dbt-core dbt-sqlite openlineage-airflow openlineage-integration-common; \
rm -rf airflow.*; \
airflow db init; \
pip install 'dbt-core==1.4' 'dbt-sqlite<=1.4' 'dbt-databricks<=1.4' 'dbt-postgres<=1.4'
pip install 'dbt-core==1.8' 'dbt-sqlite<=1.8' 'dbt-databricks<=1.8' 'dbt-postgres<=1.8'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
pip install 'dbt-core==1.8' 'dbt-sqlite<=1.8' 'dbt-databricks<=1.8' 'dbt-postgres<=1.8'
pip install 'dbt-core==1.5' 'dbt-sqlite<=1.5' 'dbt-databricks<=1.5' 'dbt-postgres<=1.5'

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest dbt-sqlite adaptor is 1.5 https://pypi.org/project/dbt-sqlite/#history

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, we specify dbt-sqlite<=1.8, so whenever a newer version is released it would be picked up & should ideally be still compatible with dbt-core==1.8. This is my rationale. WDYT?

@pankajkoti
Copy link
Contributor Author

closing in favour of #1236

@pankajkoti pankajkoti closed this Oct 3, 2024
Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.90%. Comparing base (93eb17e) to head (36bc294).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1235      +/-   ##
==========================================
- Coverage   95.93%   95.90%   -0.03%     
==========================================
  Files          67       67              
  Lines        3885     3885              
==========================================
- Hits         3727     3726       -1     
- Misses        158      159       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants