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

Updates to FlaskAppBuilder 3.3.2+ #17208

Merged
merged 3 commits into from Jul 28, 2021

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Jul 25, 2021

There are some clarifications about using the authentication
via FlaskAppBuilder - the change implements minimum version of the
FAB to 3.3.2 and clarifies the dependencies used in FAB 3 series
to be only authlib rather than flask-oauth.

Fixes: #16944 (this is the second, proper fix this time).

Depends on: #17290, #17289 - those two errors have been detected while
analysing failures in this build.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in UPDATING.md.

@potiuk potiuk marked this pull request as draft July 25, 2021 12:35
@potiuk potiuk force-pushed the update-flask-appbuilder-to-3.3.2 branch from 6256f00 to dd4a1ab Compare July 25, 2021 12:36
@potiuk potiuk added this to the Airflow 2.1.3 milestone Jul 25, 2021
@potiuk potiuk force-pushed the update-flask-appbuilder-to-3.3.2 branch from dd4a1ab to c722557 Compare July 27, 2021 13:15
@potiuk potiuk marked this pull request as ready for review July 27, 2021 13:15
@github-actions
Copy link

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Jul 27, 2021
@potiuk potiuk closed this Jul 27, 2021
@potiuk potiuk reopened this Jul 27, 2021
@potiuk
Copy link
Member Author

potiuk commented Jul 27, 2021

REbuilding

@potiuk potiuk force-pushed the update-flask-appbuilder-to-3.3.2 branch from c722557 to 12a2311 Compare July 27, 2021 20:18
@uranusjr uranusjr closed this Jul 28, 2021
@uranusjr uranusjr reopened this Jul 28, 2021
@uranusjr
Copy link
Member

I was hoping this would get us to SQLAlchemy 1.4, but alas it is not to be 😞

@potiuk
Copy link
Member Author

potiuk commented Jul 28, 2021

Ah.I have to fix this failure, to also run --eager upgrade not use constraints for K8S tests in case of setup changes.

@potiuk
Copy link
Member Author

potiuk commented Jul 28, 2021

Eh! It's actually a bug! We are running helm tests against LATEST images from ghcr.io, not the ones from latest sources! Fix is coming!

There was a bug in our CI - Kubernetes tests were executed running
lates ghcr.io image, rather than the image built from sources of
the current PR.

This PR fixes it by correctly using the PR commit as tag of the
image used as base image for kubernetes tests.

(cherry picked from commit 4796675)
When k8s virtualenv is prepared to run k8s tests we are using
constraints, this however might lead to a problem when we increase
minimum version of an affected dependency and it conflicts with
the constraints stored in main.

Therefore in case we run tests in CI (which is indicated by
specific pull tag that we use) we do not use constraints for
installing the kubernetes venv. It should be fine, as we are
pretty much running this only as a vehicle to run tests.

(cherry picked from commit e3d7e68)
There are some clarifications about using the authentication
via FlaskAppBuilder - the change implements minimum version of the
FAB to 3.3.2 and clarifies the dependencies used in FAB 3 series
to be only authlib rather than flask-oauth.

Fixes: apache#16944 (this is the second, proper fix this time).

Depends on: apache#17290, apache#17289 - those two errors have been detected while
analysing failures in this build.
@potiuk potiuk force-pushed the update-flask-appbuilder-to-3.3.2 branch from 12a2311 to 84ff29b Compare July 28, 2021 16:52
@potiuk potiuk requested a review from ashb as a code owner July 28, 2021 16:52
@potiuk potiuk merged commit 6d7fa87 into apache:main Jul 28, 2021
@potiuk potiuk deleted the update-flask-appbuilder-to-3.3.2 branch July 28, 2021 19:37
potiuk added a commit to potiuk/airflow that referenced this pull request Aug 2, 2021
There are some clarifications about using the authentication
via FlaskAppBuilder - the change implements minimum version of the
FAB to 3.3.2 and clarifies the dependencies used in FAB 3 series
to be only authlib rather than flask-oauth.

Fixes: apache#16944 (this is the second, proper fix this time).
(cherry picked from commit 6d7fa87)
potiuk added a commit to potiuk/airflow that referenced this pull request Aug 5, 2021
There are some clarifications about using the authentication
via FlaskAppBuilder - the change implements minimum version of the
FAB to 3.3.2 and clarifies the dependencies used in FAB 3 series
to be only authlib rather than flask-oauth.

Fixes: apache#16944 (this is the second, proper fix this time).
(cherry picked from commit 6d7fa87)
kaxil pushed a commit that referenced this pull request Aug 17, 2021
There are some clarifications about using the authentication
via FlaskAppBuilder - the change implements minimum version of the
FAB to 3.3.2 and clarifies the dependencies used in FAB 3 series
to be only authlib rather than flask-oauth.

Fixes: #16944 (this is the second, proper fix this time).
(cherry picked from commit 6d7fa87)
jhtimmins pushed a commit that referenced this pull request Aug 17, 2021
There are some clarifications about using the authentication
via FlaskAppBuilder - the change implements minimum version of the
FAB to 3.3.2 and clarifies the dependencies used in FAB 3 series
to be only authlib rather than flask-oauth.

Fixes: #16944 (this is the second, proper fix this time).
(cherry picked from commit 6d7fa87)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full tests needed We need to run full set of tests for this PR to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include Authlib in Airflow Docker images
4 participants