You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Daniel Lamblin (JIRA)" <ji...@apache.org> on 2019/05/22 04:19:00 UTC
[jira] [Created] (AIRFLOW-4556) The PythonVirtualenvOperator was
added without its required `virtualenv` package
Daniel Lamblin created AIRFLOW-4556:
---------------------------------------
Summary: The PythonVirtualenvOperator was added without its required `virtualenv` package
Key: AIRFLOW-4556
URL: https://issues.apache.org/jira/browse/AIRFLOW-4556
Project: Apache Airflow
Issue Type: Bug
Components: operators
Affects Versions: 1.10.3, 1.10.2, 1.10.1, 1.10.0
Reporter: Daniel Lamblin
As far as I can tell, when AIRFLOW-1512 was closed it added the operator without added the required {{virtualenv}} package into \{{setup.py}}.
[https://github.com/apache/airflow/blob/master/airflow/operators/python_operator.py#L380]
I know tests were added, and presume they pass, but that's probably because the package exists on the test harnesses and most users' python deployment.
If you move to Python 3 though, and start working with the built in {{venv}} module instead, as recommended generally, or if you use a very bare Python 2, then this operator doesn't work as intended.
Correct me if I'm wrong.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)