You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "amoghrajesh (via GitHub)" <gi...@apache.org> on 2025/08/11 06:56:53 UTC

[PR] Sync v3 for 3.0.4 [airflow]

amoghrajesh opened a new pull request, #54343:
URL: https://github.com/apache/airflow/pull/54343

   <!--
    Licensed to the Apache Software Foundation (ASF) under one
    or more contributor license agreements.  See the NOTICE file
    distributed with this work for additional information
    regarding copyright ownership.  The ASF licenses this file
    to you under the Apache License, Version 2.0 (the
    "License"); you may not use this file except in compliance
    with the License.  You may obtain a copy of the License at
   
      http://www.apache.org/licenses/LICENSE-2.0
   
    Unless required by applicable law or agreed to in writing,
    software distributed under the License is distributed on an
    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
   
   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of an existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   # Two step process
   
   
   ## Part 1: Marked for 3.0.4 but didn't make it and not moved to 3.0.5 (`python ./dev/airflow-github compare 3.0.4 --previous-version 3.0.3 --show-commits`)
   
   ### Merged PRs (with CHERRY = No - not yet cherry-picked) between 3.0.3 and 3.0.4
   - 53814 - Fix custom xcom backend deserialize when BaseXCom.get_all is used - a8c4ba3
   - 53825 - Fix poolbar counts - e83ca8e
   - 50740 - Fix incorrect reference to SimpleHttpOperator in 3.0.0 release notes - 71f4224
   - 53475 - Use asyncio.run instead of loop.run_until_complete - 81ac72c
   - 53532 - Fixed Task group names duplication in Task's task_id for MappedOperator - 6b618ef
   - 53425 - Updating K8's supported versions in prerequisites.rst to match README.md - 2328461
   - 53473 - Update dag bundles docs; add s3, fix git classpath - bf5fd5f
   - 53460 - Fix broken link in advanced logging config docs - df5c949
   - 53331 - Add note about ruff rules and preview flag - d4d4cce
   - 52871 - Fix task configuration defaults for AbstractOperator - 04d2d3b
   - 52786 - Allow DEFAULT_QUEUE to be configurable from airflow settings in Task SDK - c65dc8e
   - 52797 - Fixing bad cadwyn migration for upstream map indexes - 2bb5d01
   
   
   ### PRs with conflicts conflicts:
   
   - https://github.com/apache/airflow/pull/53475 - this is marked as 3.0.4, but its a provider only change
   - https://github.com/apache/airflow/pull/50740 manually done via https://github.com/apache/airflow/pull/53661
   - https://github.com/apache/airflow/pull/53825 - pierre confirmed on the ticket that it's not needed for 3-0-test branch
   
   
   ## Part 2: Marked for 3.0.4, didnt make it, milestone is 3.0.5 (`python ./dev/airflow-github compare 3.0.5 --previous-version 3.0.4 --show-commits`)
   
   
   ### Merged PRs (with CHERRY = No - not yet cherry-picked):
   
   - 54114 - Fix type error with TIH when reading served log - 3df18a0
   - 53965 - 404 Not Found for EmptyOperator docs for version 2.7+ #52643 - af11488
   - 53514 - Allow Variable and XCom set and delete from trigger code - 13fa232
   - 53809 - Do not ignore include_prior_dates in xcom_pull when map_indexes is not specified - 2a2d3e1
   - 53655 - Restore ``get_previous_dagrun`` functionality for task context - 35d23c3
   
   
   <!-- Please keep an empty line above the dashes. -->
   ---
   **^ Add meaningful description above**
   Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#pull-request-guidelines)** for more information.
   In case of fundamental code changes, an Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvement+Proposals)) is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   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](https://github.com/apache/airflow/tree/main/airflow-core/newsfragments).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh commented on code in PR #54343:
URL: https://github.com/apache/airflow/pull/54343#discussion_r2266644654


##########
airflow-core/src/airflow/api_fastapi/execution_api/versions/v2025_08_10.py:
##########
@@ -0,0 +1,50 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+from __future__ import annotations
+
+from cadwyn import ResponseInfo, VersionChange, convert_response_to_previous_version_for, endpoint, schema
+
+from airflow.api_fastapi.execution_api.datamodels.taskinstance import DagRun, TIRunContext
+from airflow.api_fastapi.execution_api.routes.xcoms import GetXComSliceFilterParams
+
+
+class AddDagRunStateFieldAndPreviousEndpoint(VersionChange):

Review Comment:
   Nope, that PR is entirely excluded. The cadywn migration if from #53655 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "ashb (via GitHub)" <gi...@apache.org>.
ashb commented on PR #54343:
URL: https://github.com/apache/airflow/pull/54343#issuecomment-3175035440

   Ditto https://github.com/apache/airflow/pull/54343/commits/977a190f585e527fdd6581837db9050dcc3dacfb -- can we merge that in to whatever other commit introduces the change.
   
   Since we are doing manual cherry picks we ideally need each commit on this PR to be "standalone" as our usual squashing won't apply here.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil commented on PR #54343:
URL: https://github.com/apache/airflow/pull/54343#issuecomment-3175823256

   https://github.com/apache/airflow/commits/v3-0-test/ is updated


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #54343:
URL: https://github.com/apache/airflow/pull/54343#discussion_r2266047029


##########
airflow-core/docs/installation/prerequisites.rst:
##########
@@ -24,11 +24,11 @@ Airflow® is tested with:
 
 * Databases:
 
-  * PostgreSQL: 12, 13, 14, 15, 16
+  * PostgreSQL: 13, 14, 15, 16, 17

Review Comment:
   Is that correct? i am not sure we should change support for deps in 3.0 ?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "ashb (via GitHub)" <gi...@apache.org>.
ashb commented on code in PR #54343:
URL: https://github.com/apache/airflow/pull/54343#discussion_r2266639002


##########
airflow-core/src/airflow/api_fastapi/execution_api/versions/v2025_08_10.py:
##########
@@ -0,0 +1,50 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+from __future__ import annotations
+
+from cadwyn import ResponseInfo, VersionChange, convert_response_to_previous_version_for, endpoint, schema
+
+from airflow.api_fastapi.execution_api.datamodels.taskinstance import DagRun, TIRunContext
+from airflow.api_fastapi.execution_api.routes.xcoms import GetXComSliceFilterParams
+
+
+class AddDagRunStateFieldAndPreviousEndpoint(VersionChange):

Review Comment:
   So I'm clear, you didn't add the rest of this PR, but you have included the Cadwyn migration?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "ephraimbuddy (via GitHub)" <gi...@apache.org>.
ephraimbuddy commented on PR #54343:
URL: https://github.com/apache/airflow/pull/54343#issuecomment-3174690984

   I think we shouldn't merge this with squash and merge? Probably use command line


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh commented on code in PR #54343:
URL: https://github.com/apache/airflow/pull/54343#discussion_r2266071787


##########
airflow-core/docs/installation/prerequisites.rst:
##########
@@ -24,11 +24,11 @@ Airflow® is tested with:
 
 * Databases:
 
-  * PostgreSQL: 12, 13, 14, 15, 16
+  * PostgreSQL: 13, 14, 15, 16, 17

Review Comment:
   Yeah, it came from cherry picking: https://github.com/apache/airflow/pull/54343/commits/9769c0d7ec3f25a7a7077776aeff37002936e19f, maybe I drop it?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil commented on PR #54343:
URL: https://github.com/apache/airflow/pull/54343#issuecomment-3175158045

   Approved but converted to draft to avoid "accidental merge". Reminder, we will fast-forward the v3-0-test branch to preserve commits and not squash all commits in this PR into a single commit


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk commented on code in PR #54343:
URL: https://github.com/apache/airflow/pull/54343#discussion_r2266047690


##########
airflow-core/docs/installation/prerequisites.rst:
##########
@@ -24,11 +24,11 @@ Airflow® is tested with:
 
 * Databases:
 
-  * PostgreSQL: 12, 13, 14, 15, 16
+  * PostgreSQL: 13, 14, 15, 16, 17
   * MySQL: 8.0, `Innovation <https://dev.mysql.com/blog-archive/introducing-mysql-innovation-and-long-term-support-lts-versions>`_
   * SQLite: 3.15.0+
 
-* Kubernetes: 1.26, 1.27, 1.28, 1.29, 1.30
+* Kubernetes: 1.30, 1.31, 1.32, 1.33

Review Comment:
   Same here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh commented on code in PR #54343:
URL: https://github.com/apache/airflow/pull/54343#discussion_r2266190017


##########
airflow-core/docs/installation/prerequisites.rst:
##########
@@ -24,11 +24,11 @@ Airflow® is tested with:
 
 * Databases:
 
-  * PostgreSQL: 12, 13, 14, 15, 16
+  * PostgreSQL: 13, 14, 15, 16, 17

Review Comment:
   Dropped it in https://github.com/apache/airflow/commit/d96d769ffe789e8c6039959a8d34528a6509eb06



##########
airflow-core/docs/installation/prerequisites.rst:
##########
@@ -24,11 +24,11 @@ Airflow® is tested with:
 
 * Databases:
 
-  * PostgreSQL: 12, 13, 14, 15, 16
+  * PostgreSQL: 13, 14, 15, 16, 17
   * MySQL: 8.0, `Innovation <https://dev.mysql.com/blog-archive/introducing-mysql-innovation-and-long-term-support-lts-versions>`_
   * SQLite: 3.15.0+
 
-* Kubernetes: 1.26, 1.27, 1.28, 1.29, 1.30
+* Kubernetes: 1.30, 1.31, 1.32, 1.33

Review Comment:
   Dropped it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "kaxil (via GitHub)" <gi...@apache.org>.
kaxil closed pull request #54343: Sync 3-0-test with 3.0.4 milestone PRs
URL: https://github.com/apache/airflow/pull/54343


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "ashb (via GitHub)" <gi...@apache.org>.
ashb commented on code in PR #54343:
URL: https://github.com/apache/airflow/pull/54343#discussion_r2266184189


##########
airflow-core/docs/installation/prerequisites.rst:
##########
@@ -24,11 +24,11 @@ Airflow® is tested with:
 
 * Databases:
 
-  * PostgreSQL: 12, 13, 14, 15, 16
+  * PostgreSQL: 13, 14, 15, 16, 17

Review Comment:
   Yeah drop it



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "ashb (via GitHub)" <gi...@apache.org>.
ashb commented on PR #54343:
URL: https://github.com/apache/airflow/pull/54343#issuecomment-3174712270

   > I think we shouldn't merge this with squash and merge? Probably use command line ff
   
   Yes, exactly that @ephraimbuddy 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "ashb (via GitHub)" <gi...@apache.org>.
ashb commented on PR #54343:
URL: https://github.com/apache/airflow/pull/54343#issuecomment-3175013031

   5d3f4e5510e4782be31b400aa5c52fe543d71139 has pulled in more in the tests than just the commit it is from


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh commented on code in PR #54343:
URL: https://github.com/apache/airflow/pull/54343#discussion_r2266631203


##########
airflow-core/src/airflow/api_fastapi/execution_api/versions/v2025_08_10.py:
##########
@@ -0,0 +1,50 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+from __future__ import annotations
+
+from cadwyn import ResponseInfo, VersionChange, convert_response_to_previous_version_for, endpoint, schema
+
+from airflow.api_fastapi.execution_api.datamodels.taskinstance import DagRun, TIRunContext
+from airflow.api_fastapi.execution_api.routes.xcoms import GetXComSliceFilterParams
+
+
+class AddDagRunStateFieldAndPreviousEndpoint(VersionChange):

Review Comment:
   I didnt add changes for https://github.com/apache/airflow/pull/50825, it is a dependent change but for 3.1



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Sync 3-0-test with 3.0.4 milestone PRs [airflow]

Posted by "amoghrajesh (via GitHub)" <gi...@apache.org>.
amoghrajesh commented on PR #54343:
URL: https://github.com/apache/airflow/pull/54343#issuecomment-3174617030

   @ashb @potiuk green finally!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org