-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Enable users to create python env from requirements.txt #10658
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #10658 +/- ##
============================================
- Coverage 40.89% 40.62% -0.28%
+ Complexity 4830 4820 -10
============================================
Files 897 912 +15
Lines 36157 36257 +100
Branches 4006 3995 -11
============================================
- Hits 14788 14731 -57
- Misses 19898 20060 +162
+ Partials 1471 1466 -5
Continue to review full report at Codecov.
|
...-task-jupyter/src/main/java/org/apache/dolphinscheduler/plugin/task/jupyter/JupyterTask.java
Show resolved
Hide resolved
@zhongjiajie Could u plz take a look when available? Thx~ |
I wonder, could we add this feature in |
Sounds cool to me. I think we may abstract a python kind task, so that all specific kinds of python related tasks could extend it, as well as all its approaches to manage python environments. Currently, the three approaches of python env management are experimental. I suggest we only put them in jupyter task first and see what feedback we could get from users. If positive, we may take the next step and abstract the python kind task mentioned above. WDYT @zhongjiajie |
BTW, although I stick to using |
I think we can support both of them if you can. |
I'd love to. Will do some experiments on |
May I ask whether there are any follow-up comments on this PR? Thx~ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
other LGTM
import java.util.HashMap; | ||
import java.util.List; | ||
import java.util.Map; | ||
import java.util.*; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should avoid using *
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, will fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, PTAL @zhongjiajie Thx~
Kudos, SonarCloud Quality Gate passed! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks
Purpose of the pull request
Brief change log
Verify this pull request