Repository navigation
Check python version before starting triggerer - #18926
Conversation
The triggerer requires Python 3.7+.
|
I thought our import error in |
|
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 main or amend the last commit of the PR, and push it with --force-with-lease. |
|
Skipif needed for triggerer tests |
ashb
left a comment
There was a problem hiding this comment.
Is there a reason you put the check here, rather than inside trigger_command.py?
|
@ashb Loading modules that we know are incompatible may have unexpected results. At this point, we are sure the module has not yet been loaded. Additionally, this situation is handled by CLI framework, so we have consistent UX experience |
|
@ashb, yeah consistency was my reasoning. |
(cherry picked from commit f0e2143)
The triggerer requires Python 3.7+.
cc: @andrewgodwin