-
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
Broken Relative Paths when package in subtree of installing package #4357
Comments
To clarify, while both Context: https://discord.com/channels/487711540787675139/487711540787675143/872859997896319037 |
Trying it on the test repo with 1.20a2 (edit: also tried with latest master) hasn't actually fixed the issue, nor has it fixed it in the real repo inspiring the issue. I did however try downgrading to 1.1.6 which did create a working lockfile that could be installed without issue. (upgrading also introduced an unrelated problem where some python semver strings in some package's setup.py now fail verification, I'll make a new issue for that) |
@jamtat I believe you have a typo in your outermost pyproject.toml: https://github.com/jamtat/poetry-broken-relative-paths/blob/master/pyproject.toml#L9 I think it should be |
@hckr you're totally right, my mistake there. Correcting the pyproject.toml does cause poetry to successfully install the root project on 1.20a2, however it fails on 1.1.17. This bug does seem to be fixed. Thanks for all your help. |
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. |
-vvv
option).Issue
(copy+pasted from above repo linked)
Broken Relative Paths when package in subtree of installing package
Relative path imports fail when there is a dependency tree such that:
application -> otherlib -> baselib
otherlib
andbaselib
share a filepath with pyproject.toml such that if pyproject.toml is at<path>/pyproject.toml
, other libs are at<path>/<any descendant path>/{otherlib,baselib}
Steps to reproduce
Expected result
Result
Directory Structure:
The text was updated successfully, but these errors were encountered: