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

Update deprecated map_metric import in custom #99

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

cdkini
Copy link
Contributor

@cdkini cdkini commented Mar 15, 2023

Hey there! I'm a core dev on the GX team and am currently working through cleaning up some deprecated code as part of our v16 release.

One of these items happens to be the great_expectations.expectations.metrics.map_metric import - this has been renamed to great_expectations.expectations.metrics.map_metric_provider as of v0.13 and per our policy of removing deprecated code after two minor versions, I'm hoping to delete as much old code as possible.

I've proposed the necessary change below. Thanks!

Copy link
Contributor

@talagluck talagluck left a comment

Choose a reason for hiding this comment

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

LGTM!

@denimalpaca
Copy link
Contributor

denimalpaca commented Mar 15, 2023

@cdkini Is this a breaking change? Want to know if the next release will have to have a major version bump. Or is it just going to rely on GX >= 16?

In the latter case, https://github.com/astronomer/airflow-provider-great-expectations/blob/main/setup.cfg#L37 should be updated as well.

@denimalpaca
Copy link
Contributor

@cdkini could you please comment on the above? Would love to merge this today

@cdkini
Copy link
Contributor Author

cdkini commented Mar 20, 2023

@denimalpaca apologies for the delay! No additional changes are necessary - great_expectations.expectations.metrics.map_metric_provider has been around since v13 so the current GX pin should be sufficient

@denimalpaca denimalpaca merged commit 9b63b1f into astronomer:main Mar 20, 2023
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