Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

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
"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 jtcohen6 force-pushed the jerco/test-core-7368 branch from 2776a01 to 45c5757 Compare June 16, 2023 16:41
@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

@jtcohen6 jtcohen6 closed this Jun 19, 2023
@mikealfare mikealfare deleted the jerco/test-core-7368 branch June 24, 2023 18:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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.

4 participants