Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare FAB provider to set next version as major version #43939

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dev/breeze/src/airflow_breeze/global_constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -581,13 +581,13 @@ def get_airflow_extras():
{
"python-version": "3.9",
"airflow-version": "2.9.3",
"remove-providers": "cloudant edge",
"remove-providers": "cloudant fab edge",
"run-tests": "true",
},
{
"python-version": "3.9",
"airflow-version": "2.10.3",
"remove-providers": "cloudant",
"remove-providers": "cloudant fab",
"run-tests": "true",
},
]
Expand Down
8 changes: 4 additions & 4 deletions dev/breeze/tests/test_packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def test_get_documentation_package_path():
"",
"""
"apache-airflow-providers-common-compat>=1.2.1",
"apache-airflow>=2.9.0",
"apache-airflow>=3.0.0.dev0",
"flask-appbuilder==4.5.2",
"flask-login>=0.6.2",
"flask>=2.2,<2.3",
Expand All @@ -182,7 +182,7 @@ def test_get_documentation_package_path():
"dev0",
"""
"apache-airflow-providers-common-compat>=1.2.1.dev0",
"apache-airflow>=2.9.0.dev0",
"apache-airflow>=3.0.0.dev0",
"flask-appbuilder==4.5.2",
"flask-login>=0.6.2",
"flask>=2.2,<2.3",
Expand All @@ -196,7 +196,7 @@ def test_get_documentation_package_path():
"beta0",
"""
"apache-airflow-providers-common-compat>=1.2.1b0",
"apache-airflow>=2.9.0b0",
"apache-airflow>=3.0.0b0",
"flask-appbuilder==4.5.2",
"flask-login>=0.6.2",
"flask>=2.2,<2.3",
Expand Down Expand Up @@ -440,7 +440,7 @@ def test_validate_provider_info_with_schema():
"provider_id, min_version",
[
("amazon", "2.8.0"),
("fab", "2.9.0"),
("fab", "3.0.0.dev0"),
],
)
def test_get_min_airflow_version(provider_id: str, min_version: str):
Expand Down
2 changes: 1 addition & 1 deletion generated/provider_dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@
"fab": {
"deps": [
"apache-airflow-providers-common-compat>=1.2.1",
"apache-airflow>=2.9.0",
"apache-airflow>=3.0.0.dev0",
"flask-appbuilder==4.5.2",
"flask-login>=0.6.2",
"flask>=2.2,<2.3",
Expand Down
11 changes: 11 additions & 0 deletions providers/src/airflow/providers/fab/CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@
Changelog
---------

2.0.0
.....

Breaking changes
~~~~~~~~~~~~~~~~

.. warning::
The new version of the Fab provider is only compatible with Airflow 3.
It is impossible to use ``apache-airflow-providers-fab`` >= 2.0 with Airflow 2.X.
If you use Airflow 2.X, please use ``apache-airflow-providers-fab`` 1.X.

1.5.1
.....

Expand Down
2 changes: 1 addition & 1 deletion providers/src/airflow/providers/fab/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ versions:
- 1.0.0

dependencies:
- apache-airflow>=2.9.0
- apache-airflow>=3.0.0.dev0
- apache-airflow-providers-common-compat>=1.2.1
- flask>=2.2,<2.3
# We are tightly coupled with FAB version as we vendored-in part of FAB code related to security manager
Expand Down