Skip to content

Don't import mysql exceptions from "private" module#15039

Merged
ashb merged 1 commit into
apache:masterfrom
astronomer:dont-import-error-from-private-module
Mar 26, 2021
Merged

Don't import mysql exceptions from "private" module#15039
ashb merged 1 commit into
apache:masterfrom
astronomer:dont-import-error-from-private-module

Conversation

@ashb

@ashb ashb commented Mar 26, 2021

Copy link
Copy Markdown
Member

This module was removed/renamed in mysqlclient 2.0 -- this new name
works for both.

Broken by #14978, but due to #15033 that didn't actually run tests against the new deps. Ooops


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

This module was removed/renamed in mysqlclient 2.0 -- this new name
works for both
@boring-cyborg boring-cyborg Bot added area:providers provider:google Google (including GCP) related issues labels Mar 26, 2021
@ashb ashb requested review from kaxil and potiuk March 26, 2021 20:06
@github-actions github-actions Bot added the okay to merge It's ok to merge this PR as it does not require more tests label Mar 26, 2021
@github-actions

Copy link
Copy Markdown
Contributor

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest master or amend the last commit of the PR, and push it with --force-with-lease.

@ashb ashb merged commit a162f2b into apache:master Mar 26, 2021
@ashb ashb deleted the dont-import-error-from-private-module branch March 26, 2021 21:28
ashb added a commit that referenced this pull request Apr 15, 2021
This module was removed/renamed in mysqlclient 2.0 -- this new name
works for both

(cherry picked from commit a162f2b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers okay to merge It's ok to merge this PR as it does not require more tests provider:google Google (including GCP) related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants