forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed the unused provider's distribution (apache#46608)
This is a set of cleanup steps (first stage) that allow us to remove the "intermediate" provider's distribution from Airlfow code and replace it fully with individual provider's distributions - already with own `pyproject.toml` files and basically being (when we complete) a completely separate distributions from Airflow and without implicit dependencies between unrelated distributions. There are a number of other changes needed but that one is only focusing on removing all references to the "umbrella" `providers` distribution and consequences of removing it. Those are the changes implemented in this PR: * There are no separate "providers" system tests - each provider has own system tests and there are no common "generic" providers empty system test * Integration tests are moved to respective providers under the `integration` package inside `tests` directory * (nearly) empty __init__.py files are added in `tests` directories of providers - this way "tests" becomes just a directory and root for all tests per provider, rather than a Python package on its own. That allows to use "from integration.PROVIDER import" and "from system.PROVIDER" rather than importing them from the root of the whole airflow project. The (nearly) is because we need to handle multiple "system", "system.apache" and other import locations. * Removed references to "providers/" generic package which were scheduled for removal after all providers are moved to the new structure * Few remaining references / links referring to old "providers/src" and "providers/test" have been fixed. * The "conftest.py" files in all providers are trimmed down - the code to store ignored deprecation warnings have been moved to the test_common pytest_plugin. That allows to remove 90+ duplicated snippets of deprecation_warnings retrieval while keeping the warnings per-provider in the provider's distribution. * The "moving_providers" scripts are removed. They've done their job and are not needed any more - we keep them in history * The __init__.py files are automatically checked and properly updated in provider folders - in order to properly handle path extension mechanisms * The www tests that were using FAB permisssion model are moved to the FAB provider tests.
- Loading branch information
Showing
604 changed files
with
3,500 additions
and
4,491 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 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
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
Oops, something went wrong.