Skip to content

Commit

Permalink
Prepare FAB provider to set next version as major version
Browse files Browse the repository at this point in the history
  • Loading branch information
vincbeck committed Nov 12, 2024
1 parent 0d891b8 commit 5052745
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 19 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6806d4e405c59f8ee43796ae638b1308
c36ba7b31e3cb5be446651562b7903b4
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1baef77ed7f5328a75248bb91a2d3a11
3997699103d8fd0a92e95447dfd5a059
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a781b53f55fe962ebab27068bcd96e44
4f663d22aa60bf43a895db82c737784e
4 changes: 2 additions & 2 deletions 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 All @@ -591,7 +591,7 @@
"common.compat"
],
"excluded-python-versions": [],
"state": "ready"
"state": "not-ready"
},
"facebook": {
"deps": [
Expand Down
3 changes: 2 additions & 1 deletion hatch_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"common.compat",
"common.io",
"common.sql",
"fab>=1.0.2",
# Needs to be uncommented before release Airflow 3
# "fab>=1.0.2",
"ftp",
"http",
"imap",
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.0
.....

Expand Down
9 changes: 5 additions & 4 deletions providers/src/airflow/providers/fab/provider.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ name: Fab
description: |
`Flask App Builder <https://flask-appbuilder.readthedocs.io/>`__
# The provider is not yet ready to be released, we will skip it by default when preparing new release waves
# For providers until we think it should be released.
state: ready
# The provider is in not-ready state because the next version will be compatible only with Airflow 3
# Therefore, no need to release it until before Airflow 3 release
# The provider state will be set back to ready before release Airflow 3
state: not-ready

source-date-epoch: 1730012648

Expand All @@ -48,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

0 comments on commit 5052745

Please sign in to comment.