-
Notifications
You must be signed in to change notification settings - Fork 901
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
Rewrite _describe_git
in KedroSession
to use python based implementation of the git commands
#1451
Comments
Unfortunately |
I'm not sure if this error would still pop up after this change to the function. The fatal error was also in directories without If I remember right, the error on read-only projects was also related to not being being able to access |
As per @avan-sh, now we catch this error I think changing this is not as high priority as it was before. I guess we still want to do it, just it's not essential to get things working on databricks any more. FYI @avan-sh the thing about not being able to write to log files on a real-only file system is also fixed now and will be release in 0.18.2. |
@AntonyMilneQB while I understand this is not a priority anymore, I don't get why this is still needed. It might be that using subprocesses is not be ideal. |
Closing in favour of #2051 |
Background
Traditionally we have been using
git
within kedro run to track metadata about the working directory. The current way we do is usingsubprocess
which calls the git executable directly. However, it causes some issues when we are in some read-only / Databricks's dbfs / spark-submit job.The idea is to use native python calls to eliminate the need for an external process.
Todo:
Possible solutions
Use Case
_describe_git
kedro/kedro/framework/session/session.py
Lines 50 to 71 in b3c78e5
The text was updated successfully, but these errors were encountered: