-
Notifications
You must be signed in to change notification settings - Fork 906
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
Symbolic link project path not working #941
Comments
In my opinion, can simply add resolve to to: _init_plugins()
cli_collection = KedroCLI(project_path=Path.cwd().resolve())
cli_collection() |
Interesting - thanks for the follow-up @jiunbae this is an elegant solution, I'm trying to think if there are any unintended consequences introduced by making this change. |
Tried to create a PR, but I left an issue first because it takes times to prepare the things necessary for environment setting such as test, CI and getting used to the kedro contribution convention. |
Hi @jiunbae - thank you, this looks like a super elegant solution. I had a look at the However, we would need to see tests for Win, Darwin and Linux as the way all of these platforms resolve paths (and symlinks, for that matter) differs and can throw some unexpected behaviour. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The absence of So far, I have been using the I believe this issue got missed due to inactivity. Hence, the @stalebot closed it. |
Or maybe |
Description
If the project path exists on the symlink, an error occurs when Kedro CLI is created.
Context
Workspace is a symbolic link, but when I run the kedro project on it, I get a problem that it cannot be executed.
on windows
Steps to Reproduce
mklink /J workspace /path/to/source
cd workspace
kedro new
kedro info
Expected Result
Actual Result
Your Environment
The text was updated successfully, but these errors were encountered: