You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "potiuk (via GitHub)" <gi...@apache.org> on 2025/04/30 21:51:29 UTC

[PR] Move SQS message queue to Amazon provider [airflow]

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

   The common.messaging abstraction should discover common messaging queue providers using the same mechanism as we have for other core extensions. Previously common.messaging had the optional (but not really) dependencies to other providers, but that was not needed and introduced unnecessary coupling.
   
   By switching to our built-in discovery mechanism we get immediately all the niceties of provider discovery mechanisms:
   
   * queue is provided by the actual provider where the service or integration already is implemented (sqs -> amazon provider, in the future kafka -> kafka provider)
   * queues are discovered from installed providers
   * there is no coupling or imports between common.messaging and the providers that implement messaging, the dependency is in the other way - providers that implement messaging depend on common.messaging
   * airflow providers queues CLI and providers core extensions documentation is automatically generated
   
   <!--
    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/
   -->
   
   
   
   <!-- 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] Move SQS message queue to Amazon provider [airflow]

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

   >I am also torn on 1.0.1 vs. 1.1.0 for common-messaging - It can go with either - we are far more relaxed about feature versions for providers. But I will leave it to @eladkal to decide.
   
   Yeah since it is fully backwards compact it can go in 1.0.1 imo


-- 
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] Move SQS message queue to Amazon provider [airflow]

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

   If you look closely - our tests had shown that there are a couple of consequences of "fixing the common.messaging" . So I think it would be good to summarize it here. Also for @kaxil -> to agree and realise the impact it will have on Airflow releases:
   
   * this is definitely the "way to go" for common.messaging - > the coupling introduced by the previous approach would be very difficult to justify and manage, and baking it in the "Providers manger" interface brings in all the niceties we have there and follows all other integrations
   
   * we have to add lower-binding to the common.messaging>=1.0.1 in amazon (and in kafka next) - as the implementation expects to be discovered by the common.messaging discovery mechanism
   
   * also common.messaging should have apache-airflow>=3.0.1 - because the discovery mechanism for common messaging is going to be only avaiable in Airflow 3.0.1 (assuming we will merge that one to 3.0.1). 
   
   
   That leaves a little bit of doubt - should we merge it to 3.0.1 ("bugfix") or should it be 3.1.0 ("feature") of airflow to discover common.messaging providers. I'd lean towards "bug-fix" and merging it with 3.0.1, in a way this is fixing the way how common.messaging works and Airflow 3.0.0 has a lot more things that all but guarantee literally no-one will use it. And we had a precedent for that - Airflow 2.0.0 had a bug in provider's manager interface that would prevent evolution of providers and we implemented a fix in 2.0.1 (or even 2.0.2 - can't remember) that fixed it by adding essentially new thing to airflow. This is not really a "user" facing feature, and intention is to "fix" things - so for me this is reeally a "fix" and merging it to 3.0.1 is something I would strongly recommend. That also will allow us to implement a lot more common.messaging interfaces way quicker without waiting for 3.1.0 (like the Kafka one)
   
   A small consequence of that is that we have to add `"common.messaging" to exclude it for comatibility matrix tests - for Airflow 3.0.0, but that's fine - and we will remove it from that matrix once we bump the compatibility tests to 3.0.1.
   
   
   So all seems on a clear path to be cherry-picked to 3.0.1 I think (and the code changed in airflo is really a copy&paste /extension of the other provider manager's features, so that is rather safe to cherry-pick.
   
   
   
   
   
   


-- 
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] Move SQS message queue to Amazon provider [airflow]

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk merged PR #50057:
URL: https://github.com/apache/airflow/pull/50057


-- 
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] Move SQS message queue to Amazon provider [airflow]

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

   I'd also appreciate some "real-life" testing @vincbeck  - I do not want to setup all the SQS queue for me and I fixed all the unit tests (I think) - so I am quite positive it will work, but well ... you never know.


-- 
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] Move SQS message queue to Amazon provider [airflow]

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


##########
airflow-core/docs/authoring-and-scheduling/connections.rst:
##########
@@ -47,5 +47,5 @@ Airflow allows to define custom connection types. This is what is described in d
 :doc:`apache-airflow-providers:index` - providers give you the capability of defining your own connections.
 The connection customization can be done by any provider, but also
 many of the providers managed by the community define custom connection types.
-The full list of all providers delivered by ``Apache Airflow community managed providers`` can be found in
+The full list of all connections delivered by ``Apache Airflow community managed providers`` can be found in

Review Comment:
   Let's keep it, it is fine 👌 



##########
providers/amazon/tests/unit/amazon/aws/triggers/test_sqs.py:
##########
@@ -37,9 +37,12 @@
 TEST_BOTOCORE_CONFIG = {"region_name": "us-east-1"}
 
 
+@pytest.mark.skipif(not AIRFLOW_V_3_0_PLUS, reason="Requires Airflow 3.0.+")

Review Comment:
   Why do we need to skip this test? `SqsSensorTrigger` (I mean using directly the trigger and not through the common messaging) should work in AF2



##########
devel-common/src/sphinx_exts/operators_and_hooks_ref.py:
##########
@@ -481,6 +481,17 @@ def render_content(
         )
 
 
+class QueuesDirective(BaseJinjaReferenceDirective):
+    """Generate list of queues"""
+
+    def render_content(
+        self, *, tags: set[str] | None, header_separator: str = DEFAULT_HEADER_SEPARATOR
+    ) -> str:
+        return _common_render_list_content(
+            header_separator=header_separator, resource_type="queues", template="queues.rst.jinja2"
+        )
+
+

Review Comment:
   I did not know we could do that! Super cool!



-- 
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] Move SQS message queue to Amazon provider [airflow]

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

   > I'd also appreciate some "real-life" testing @vincbeck - I do not want to setup all the SQS queue for me and I fixed all the unit tests (I think) - so I am quite positive it will work, but well ... you never know.
   
   I just tested it and it works like a charm. No modification on my DAG was needed.


-- 
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] Move SQS message queue to Amazon provider [airflow]

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


##########
providers/common/messaging/src/airflow/providers/common/messaging/providers/__init__.py:
##########
@@ -16,6 +16,27 @@
 # under the License.
 from __future__ import annotations
 
-from airflow.providers.common.messaging.providers.sqs import SqsMessageQueueProvider
+import importlib
 
-MESSAGE_QUEUE_PROVIDERS = [SqsMessageQueueProvider()]
+from airflow.providers_manager import ProvidersManager
+from airflow.utils.deprecation_tools import add_deprecated_classes
+
+providers_manager = ProvidersManager()
+providers_manager.initialize_providers_queues()
+
+
+def create_class_by_name(name: str):
+    module_name, class_name = name.rsplit(".", 1)
+    module = importlib.import_module(module_name)
+    return getattr(module, class_name)
+
+
+MESSAGE_QUEUE_PROVIDERS = [create_class_by_name(name) for name in providers_manager.queue_class_names]
+
+__deprecated_classes = {

Review Comment:
   Added back-compatibility in case someone already used the SQS provider from 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] Move SQS message queue to Amazon provider [airflow]

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

   Ough. Diagnostics help. I think we have some side-effects where provider's Manager is cleaned and not restored in some other tests I will look for this - and add protection.


-- 
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] Move SQS message queue to Amazon provider [airflow]

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

   Few things that this PR leverages from our existing framework for provider's capabiliy discovery:
   
   * `airflow providers queues` CLI - showing automatically all message queues discovered from the "get_provider_info" extension points of installed providers:
   
   ![image](https://github.com/user-attachments/assets/7593b027-fe92-4502-974b-907b30847362)
   
   * Added "Core concept" page describing Message Queue concept:
   
   ![image](https://github.com/user-attachments/assets/c2ce8fcd-ba16-46a6-b1a0-9a9205eae9d2)
   
   * Added Summary Page in providers summary doc - with summary of all autoamaticaly discovered message queues from provider.yaml
   
   ![image](https://github.com/user-attachments/assets/dfebd998-f3c0-4909-b48b-f2f49db5f796)
   
   
   * Added Message Queuees on the ist of `core extensions`:
   
   ![image](https://github.com/user-attachments/assets/2053e65a-9ba6-407b-8e20-7e8048a9c65a)
   
   
   All that comes out-of-the-box after tapping-in the standard provider's discovery mechanism,
   
   
   BTW. The new `uv run --group doc build-docs --autobuild` workflow is **FANTASTIC** - I really started to like editing docuementation, it likely speeds up documentation iteration more than order of magnitude. I was able to modify and move things around super-quickly  and preview things while they are changed, see the errors in generated documentation when there were errors etc.
   
   
   And I would really appreciate some suggestions (or even fixups) to the documentation I created. I slapped things together quickly from AIP-82 and few other places, but I am pretty sure we can do way better and more "catchy" description - maybe even add some images from the AIP-82 design etc.  
   
   
   


-- 
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] Move SQS message queue to Amazon provider [airflow]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #50057:
URL: https://github.com/apache/airflow/pull/50057#issuecomment-2845350430

   ### Backport failed to create: v3-0-test. View the failure log <a href='https://github.com/apache/airflow/actions/runs/14780334915'> Run details </a>
   
   <table>
       <tr>
           <th>Status</th>
           <th>Branch</th>
           <th>Result</th>
       </tr>
       <tr>
           <td>❌</td>
           <td>v3-0-test</td>
           <td><a href="https://github.com/apache/airflow/commit/4f962f40274a4b2567fd48eeb27b584befbc7779"><img src='https://img.shields.io/badge/Commit-4f962f4-red' alt='Commit Link'></a></td>
       </tr>
   </table>
   
   You can attempt to backport this manually by running:
   
   ```bash
   cherry_picker 4f962f4 v3-0-test
   ```
   
   This should apply the commit to the v3-0-test branch and leave the commit in conflict state marking
   the files that need manual conflict resolution.
   
   After you have resolved the conflicts, you can continue the backport process by running:
   
   ```bash
   cherry_picker --continue
   ```
   


-- 
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] Move SQS message queue to Amazon provider [airflow]

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


##########
airflow-core/docs/core-concepts/message-queues.rst:
##########
@@ -0,0 +1,41 @@
+ .. 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.
+
+.. _concepts:message-queues:
+
+Message Queues
+==============
+
+The Message Queues are a way to expose capability of external event-driven scheduling of Dags.
+
+Apache Airflow is primarily designed for time-based and dependency-based scheduling of workflows. However,
+modern data architectures often require near real-time processing and the ability to react to
+events from various sources, such as message queues.
+
+Airflow has native event-driven capability to Airflow, allowing users to create workflows that can be

Review Comment:
   ```suggestion
   Airflow has native event-driven capability, allowing users to create workflows that can be
   ```



-- 
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] Move SQS message queue to Amazon provider [airflow]

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

   > > I'd also appreciate some "real-life" testing @vincbeck - I do not want to setup all the SQS queue for me and I fixed all the unit tests (I think) - so I am quite positive it will work, but well ... you never know.
   > 
   > I just tested it and it works like a charm. No modification on my DAG was needed.
   
   :heart: :heart: :heart: :heart: :heart: 


-- 
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] Move SQS message queue to Amazon provider [airflow]

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


##########
providers/amazon/tests/unit/amazon/aws/triggers/test_sqs.py:
##########
@@ -37,9 +37,12 @@
 TEST_BOTOCORE_CONFIG = {"region_name": "us-east-1"}
 
 
+@pytest.mark.skipif(not AIRFLOW_V_3_0_PLUS, reason="Requires Airflow 3.0.+")

Review Comment:
   Good point. I am not sure why I put it there - possibly I was over-cautious or mistakenly added it. Let me remove it and see what happeens.



-- 
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] Move SQS message queue to Amazon provider [airflow]

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


##########
airflow-core/docs/authoring-and-scheduling/connections.rst:
##########
@@ -47,5 +47,5 @@ Airflow allows to define custom connection types. This is what is described in d
 :doc:`apache-airflow-providers:index` - providers give you the capability of defining your own connections.
 The connection customization can be done by any provider, but also
 many of the providers managed by the community define custom connection types.
-The full list of all providers delivered by ``Apache Airflow community managed providers`` can be found in
+The full list of all connections delivered by ``Apache Airflow community managed providers`` can be found in

Review Comment:
   I noticed that typo - I can separate it if needed - but not worth IMHO



-- 
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] Move SQS message queue to Amazon provider [airflow]

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


##########
devel-common/src/sphinx_exts/operators_and_hooks_ref.py:
##########
@@ -481,6 +481,17 @@ def render_content(
         )
 
 
+class QueuesDirective(BaseJinjaReferenceDirective):
+    """Generate list of queues"""
+
+    def render_content(
+        self, *, tags: set[str] | None, header_separator: str = DEFAULT_HEADER_SEPARATOR
+    ) -> str:
+        return _common_render_list_content(
+            header_separator=header_separator, resource_type="queues", template="queues.rst.jinja2"
+        )
+
+

Review Comment:
   Yeah. And with the new workflow `uv run ... --autobuild` things - it all runs locally with all the needed dependencies, and you get quick feedback and it will reload itself after change without restarting the build so it's WAY easier to add such code and iterate over it. I literally started to like sphinx after making this change.



-- 
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] Move SQS message queue to Amazon provider [airflow]

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

   BTW. 
   
   Few more comments here: @kaxil -> this is only possible because we got rid of .dev0, all these >= limits would not work with workspace, our CI and release as nicely as they do now after we removed it.
   
   @vikramkoka  -> what we discussed last week, this is one of the things we still have to do to turn "what works" (and has been done really quickly for 3.0.0 timeline) into "doing it right"  :)


-- 
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] Move SQS message queue to Amazon provider [airflow]

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

   >That leaves a little bit of doubt - should we merge it to 3.0.1 ("bugfix") or should it be 3.1.0 ("feature") of airflow to discover common.messaging providers. I'd lean towards "bug-fix" and merging it with 3.0.1
   
   Yeah, 3.0.1 is fine imo


-- 
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] Move SQS message queue to Amazon provider [airflow]

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

   The special tests behave strangely. I added a bit better diagnostics as well to see what's going on - now we will have more detailed logging showing what providers are registred and **whether** any providers are registered when we cannot find the right provider. Let's see what the tests will show.


-- 
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] Move SQS message queue to Amazon provider [airflow]

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

   That was rather straightforward and quick as I thought - I even added missing unit tests for the SQS provider.


-- 
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] Move SQS message queue to Amazon provider [airflow]

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


##########
scripts/in_container/run_provider_yaml_files_check.py:
##########
@@ -483,20 +481,24 @@ def check_extra_link_classes(yaml_files: dict[str, dict]) -> tuple[int, int]:
     return num_extra_links, num_errors
 
 
+@run_check("Checking extra-links belong to package, exist and are classes")

Review Comment:
   I noticed the opportunity of extracting the common code here - and added missing check for `executors`



-- 
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] Move SQS message queue to Amazon provider [airflow]

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

   > > I am also torn on 1.0.1 vs. 1.1.0 for common-messaging - It can go with either - we are far more relaxed about feature versions for providers. But I will leave it to @eladkal to decide.
   > 
   > Yeah since it is fully backwards compat it can go in 1.0.1 imo
   
   Agreed. After @vincbeck comment I am also for 1.0.1 on this one too. And I also added  a few more `>=` for other pieces (fab/git etc.) as they are generated automatically now in pre-commit, so that when we cherry-pick to `v3-0-test` we will make sure 3.0.1 by default will have all the min provider versions. We will just have to make sure to make RC out before we make 3.0.1 rc out. The current release process should **seamlessly** use such .rc candidates when they are in PyPI and we have protection in place that we won't be able to build the image before those RC`s graduate to be relesed and we update constraints. 


-- 
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] Move SQS message queue to Amazon provider [airflow]

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

   Ah... I see now - > also we have to exclude that test for latest botocore, because it requires aiobotocore :facepalm: 


-- 
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