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 dbt-core#7368 #774

Closed
wants to merge 4 commits into from
Closed

Try dbt-core#7368 #774

wants to merge 4 commits into from

Conversation

jtcohen6
Copy link
Contributor

Run CI with updated dependency pins

@cla-bot cla-bot bot added the cla:yes label Jun 15, 2023
@github-actions
Copy link
Contributor

Thank you for your pull request! We could not find a changelog entry for this change. For details on how to document a change, see the dbt-bigquery contributing guide.

@jtcohen6 jtcohen6 added the Skip Changelog Skips GHA to check for changelog file label Jun 15, 2023
setup.py Outdated
@@ -78,7 +78,7 @@ def _dbt_core_version(plugin_version: str) -> str:
"google-cloud-bigquery~=3.0",
"google-cloud-storage~=2.4",
"google-cloud-dataproc~=5.0",
"agate~=1.6.3",
"agate~=1.7.0",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is there a reason why agate is an explicit dependency here, rather than just using the transitive dependency from dbt-core?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@colin-rogers-dbt Looks like you added this back in #458 (d27cf24)

Copy link
Contributor

Choose a reason for hiding this comment

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

I can't remember why, if it's causing issues we can certainly remove it

Copy link
Contributor

Choose a reason for hiding this comment

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

We should keep agate if we're using it directly, but without a pin.

We ran into an issue a few months ago where a requirement was dropped from dbt-core that was used directly in an adapter. To avoid version conflicts, we did not explicitly list it as a requirement in the adapter; hence the adapter broke when we removed it from dbt-core. This is likely a rare occurrence, but I think this is the right compromise with the least downsides. I did that here in dbt-redshift:

https://github.com/dbt-labs/dbt-redshift/blob/36bed56310645669a9bf20b882e6aed51bf1b98a/setup.py#L89-L90

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mikealfare Heard! I removed it in #778; shall I open a new PR to add it back (without a pin)?

@jtcohen6
Copy link
Contributor Author

I'll open the removal of the agate pin as a separate PR, which will need to be merged before dbt-labs/dbt-core#7368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla:yes Skip Changelog Skips GHA to check for changelog file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants