Skip to content
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

control-service: Dynamic python site-packages directory detection #1247

Conversation

mivanov1988
Copy link
Contributor

@mivanov1988 mivanov1988 commented Oct 19, 2022

The python site-packages directory is currently hardcoded in the data job container command. However,
this works only for data jobs based on Python 3.7.

This change aims to make the data job cronjob template agnostic for the python version by replacing the hardcoded python site-packages directory with a python command that returns it.

Tested locally against kind cluster.

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com

mivanov1988 and others added 2 commits October 19, 2022 13:57
The python site-packages directory is currently hardcoded in
the data job container command. However,
this works only for data jobs based on Python 3.7.

This change aims to make the data job cronjob template agnostic
for the python version by replacing the hardcoded python
site-packages directory with a python command that returns it.

Tested locally against the kind cluster.

Signed-off-by: Miroslav Ivanov miroslavi@vmware.com
@mivanov1988 mivanov1988 merged commit 9505540 into main Oct 19, 2022
@mivanov1988 mivanov1988 deleted the person/miroslavi/dynamic-python-site-packages-directory-detection branch October 19, 2022 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants