apache/dolphinscheduler

[Feature][task] Task python support better virtualenv

Open

#7,069 创建于 2021年11月30日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)Java (4,324 fork)batch import
featurehelp wanted

仓库指标

Star
 (11,659 star)
PR 合并指标
 (平均合并 2天 21小时) (30 天内合并 22 个 PR)

描述

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

I submit PR https://github.com/apache/dolphinscheduler-website/pull/555 to ds website about how to use python virtualenv to run python script in virtualenv. But maybe we should support a better way to run python script with virtualenv instead of create multiply environment.

Cause environment is for all task attribute, but virtualenv only for python interpreter. for now is more look like

|-- parent python interpreter
|-- parent python interpreter virtunlenv1
|-- parent python interpreter virtunlenv2

All python virtualenv is visible to all type task. But I think a better way is virtualenv only for python task

|-- parent python interpreter
    |-- parent python interpreter virtunlenv1
    |-- parent python interpreter virtunlenv2

which mean we would have less python environment name, and each python environment have multiply virtualenv selection.

Use case

No response

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

贡献者指南