-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Relative path cannot be found #3275
Comments
With Please refer to https://python-poetry.org/blog/announcing-poetry-1-1-0.html#directory-dependencies-are-now-non-editable-by-default In your case poetry attempts a PEP 517 build of your dependency, but since thats are relative files required for the build are not correctly marked for inclusion by the package, they are not copied over into the isolated build environment causing the error. |
Appreciate the detailed issue report @jonapich !! ❤️ |
😮 Hey how about an update to the exception text to suggest this? This has been preventing me to go forward for weeks 😅 |
🤔 When I add |
aaah ha: #3094 all good, thanks! |
Sorry to hear that. We will be able to do this , hopefully, once we drop That said I am happy to review any reasonable improvement to how we handle these kind of errors. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am on the latest Poetry version.
I have searched the issues of this repo and believe that this is not a duplicate.
If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).OS version and name: Windows 10
Poetry version: 1.1.3
Repo with bug: https://github.com/jonapich/test-poetry-relative-paths
Issue
Depending on a module through a relative path that also depends on a relative path broke between 1.0.10 and 1.1.0.
The issue only seems to occur with nested packages. It works with one relative path, but if this path also contains a relative path dependency, that's when the bug occurs.
Following the steps in the readme of the linked repository will lead to this error:
The text was updated successfully, but these errors were encountered: