forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove fallback for old, pre 2.7, providers (apache#44755)
In ~2.7, we moved provider config from core into the providers themselves. However, if providers that were released before that change was used on 2.7+, there could be failures because the config wouldn't be in those providers! So, we added a fallback for all of the configs that were moved. As we move toward Airflow 3, we don't need to carry this baggage forever. This does mean provider released in earlier than mid 2023 won't work with Airflow 3 (and I'd imagine there will be other reasons they wont work as well).
- Loading branch information
1 parent
67cff15
commit 02821cc
Showing
13 changed files
with
78 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Provider configuration fallbacks removed from core | ||
|
||
Around ~2.7, we moved provider config from core into the providers themselves. | ||
However, if providers that were released before that change was used on 2.7+, | ||
there could be failures because the config wouldn't be in those providers! | ||
So, we added a fallback for all of the configs that were moved. These fallbacks | ||
have now been removed. You must use providers that contain their own config. | ||
|
||
TODO: It's unlikely this will be the change that sets the "lowest" min provider version | ||
for compatibility with Airflow 3. But, it is possible, and if it is we will need to | ||
then determine what those versions are. | ||
|
||
Note: This changes doesn't really fix in any of the following "types", but I've marked | ||
dependency change so there is something checked. | ||
|
||
.. Check the type of change that applies to this change | ||
* Types of change | ||
|
||
* [ ] DAG changes | ||
* [ ] Config changes | ||
* [ ] API changes | ||
* [ ] CLI changes | ||
* [ ] Behaviour changes | ||
* [ ] Plugin changes | ||
* [x] Dependency change |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.