Skip to content

[v3-0-test] Unify connection not found exceptions between AF2 and AF3 (#52968) #53093

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

Merged
merged 14 commits into from
Jul 11, 2025

Conversation

amoghrajesh
Copy link
Contributor

(cherry picked from commit 5c2a2ec)


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an 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 a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

Lzzz666 and others added 13 commits July 7, 2025 16:35
…ache#50371) (apache#52698)

* Add back dag parsing pre-import optimization (apache#50371)

Co-authored-by: Tzu-ping Chung <[email protected]>

* Apply suggestions from code review

---------

Co-authored-by: Tzu-ping Chung <[email protected]>
Co-authored-by: Kaxil Naik <[email protected]>
…mmit's (apache#52931) (apache#52942)

We are still waiting for release of the Lucas's pre-commit after
the Lucas-C/pre-commit-hooks#103 has
been merged - and for now we need to use `bleeding-edge` for
the repo.

Also upgrades zizmor and solves using "env." in shell commands
that might lead to security issues.
(cherry picked from commit 535d71d)
…lient to re matches (apache#52960) (apache#52961)

(cherry picked from commit 8e5c284)

Co-authored-by: Amogh Desai <[email protected]>
Follow up after apache#52967 -> from later discussions it turned out that
it's not really the ~= that is wrong and ambiguous, but that just
upper-binding of Python version is generally considered as a bad
idea - and it's not Astral's view but it's general consensus that
upper-binding of "python-requires" is bad. Since ~= implies
upper-binding, simply replacing it with >= is likely the best option
we can choose.

(cherry picked from commit e9eb481)
) (apache#52987)

Follow up after apache#52980 - there are still few more places where
the ~= was used in requires-python.
(cherry picked from commit 3f6f1db)
(cherry picked from commit 64d87e5)

Co-authored-by: Pierre Jeambrun <[email protected]>
…3005)

* fix rollback from airflow3

* use fab for test

* amend

* fix test

* revert condition fix and add shortcut if revisions are same

* updating revision to 2.10.3 in condition

* remove fab from tests
(cherry picked from commit d458554)

Co-authored-by: Rahul Vats <[email protected]>
…apache#52297) (apache#53011)

* docs: Update public interface documentation for Airflow 3.0+ for metadata direct access change

* docs: replace direct metadata model imports in how-to examples with airflow.sdk

* Make Public interface for Airflow 3 and add link for Airflow 2.11

* Fix PR comments

* Update airflow-core/docs/public-airflow-interface.rst



* Fix PR comments

* Remove duplicates and remove RuntimeTaskInstanceProtocol as it is not public

* Fix PR comments

---------


(cherry picked from commit e8767b6)

Co-authored-by: Ankit Chaurasia <[email protected]>
Co-authored-by: Amogh Desai <[email protected]>
* [v3-0-test] Fix log for skipped taks (apache#53024)
(cherry picked from commit 0d6e417)

Co-authored-by: Pierre Jeambrun <[email protected]>

* Fix CI

---------

Co-authored-by: Pierre Jeambrun <[email protected]>
@amoghrajesh amoghrajesh changed the title Unify connection not found exceptions between AF2 and AF3 (#52968) [v3-0-test]Unify connection not found exceptions between AF2 and AF3 (#52968) Jul 9, 2025
@amoghrajesh amoghrajesh changed the title [v3-0-test]Unify connection not found exceptions between AF2 and AF3 (#52968) [v3-0-test] Unify connection not found exceptions between AF2 and AF3 (#52968) Jul 9, 2025
@amoghrajesh
Copy link
Contributor Author

Intended for 3.0.4, do not merge for 3.0.3

@amoghrajesh amoghrajesh merged commit 220fb39 into apache:v3-0-test Jul 11, 2025
55 checks passed
@amoghrajesh amoghrajesh deleted the backport-5c2a2ec-v3-0-test branch July 11, 2025 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants