potiuk commented on code in PR #47281: URL: https://github.com/apache/airflow/pull/47281#discussion_r1978190249
########## contributing-docs/07_local_virtualenv.rst: ########## @@ -154,6 +154,24 @@ dependencies - including their runtime dependencies. This will synchronize all extras of airflow (this might require some system dependencies to be installed). +Syncing provider dependencies only +................................... + +Sometimes you want to only work on a specific provider and you only want to install that provider +dependencies and run only that provider tests. This can be done very easily with ``uv`` by going to +the provider's folder and running ``uv sync`` there. For example, to install dependencies of the +``mongo`` provider, you can run: + +.. code:: bash + + cd providers/mongo + uv sync + +Then running tests for the provider is as simple as running: + +.. code:: bash + + uv run pytest Review Comment: Yes. -- 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]
