This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-3-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 03b2fad778f6060cefda5dbfdfd36e35f88f8a70 Author: nanohanno <[email protected]> AuthorDate: Thu Jul 7 20:44:59 2022 +0200 Update PythonVirtualenvOperator Howto (#24782) * Update PythonVirtualenvOperator Howto (cherry picked from commit 011fbae583a4347eda85d5b7797a80d46ff06062) --- docs/apache-airflow/howto/operator/python.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/apache-airflow/howto/operator/python.rst b/docs/apache-airflow/howto/operator/python.rst index 210b528cf2..ac9070208f 100644 --- a/docs/apache-airflow/howto/operator/python.rst +++ b/docs/apache-airflow/howto/operator/python.rst @@ -60,8 +60,7 @@ is evaluated as a :ref:`Jinja template <concepts:jinja-templating>`. PythonVirtualenvOperator ======================== -Use the :class:`~airflow.operators.python.PythonVirtualenvOperator` to execute -Python callables inside a new Python virtual environment. +Use the :class:`~airflow.operators.python.PythonVirtualenvOperator` to execute Python callables inside a new Python virtual environment. The ``virtualenv`` package needs to be installed in the environment that runs Airflow (as optional dependency ``pip install airflow[virtualenv] --constraint ...``). .. exampleinclude:: /../../airflow/example_dags/example_python_operator.py :language: python
