Skip to content

Fix mixup up shadowed ImportError in db_cleanup#21862

Merged
potiuk merged 1 commit intoapache:mainfrom
hterik:shadowed_importerror
Feb 28, 2022
Merged

Fix mixup up shadowed ImportError in db_cleanup#21862
potiuk merged 1 commit intoapache:mainfrom
hterik:shadowed_importerror

Conversation

@hterik
Copy link
Contributor

@hterik hterik commented Feb 28, 2022

TableConfig requires models.ImportError, while the try/except
on line 128 requires the builtin ImportError

This was causing errors when running with k8 scheduler,
without having celery packages installed.

TableConfig requires models.ImportError, while the try/except
on line 128 requires the builtin ImportError

This was causing errors when running with k8 scheduler,
without having celery packages installed.
@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Feb 28, 2022
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@potiuk potiuk merged commit a85f00b into apache:main Feb 28, 2022
@jedcunningham jedcunningham added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) full tests needed We need to run full set of tests for this PR to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants