potiuk commented on PR #46694: URL: https://github.com/apache/airflow/pull/46694#issuecomment-2682867740
> I am iterating on that PR but the new provider is not recognized. I get: > > ``` > ModuleNotFoundError: No module named 'airflow.providers.common.msgq' > ``` > > With the new restructure, what is the process to add a new provider? Do I just need to create `provider.yaml` and `pyproject.toml` and it will be automatically detected/indexed? @potiuk You need to look at the main `pyproject.toml` and add the provider in the same way as others (there are few places). Then `uv sync` or image build should work after that. And yes I updated https://github.com/apache/airflow/blob/main/providers/MANAGING_PROVIDERS_LIFECYCLE.rst#creating-a-new-community-provider - with the new structure and how to add a new provider, but that part is likely missing so after you figure it out, PRs there are most welcome. BTW. It will likely slightly change in the future as we will move airflow-core and others, but still it would be great to keep it 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
