-
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
Poetry path dependency does not work with pip install -e
#6751
Comments
I found workaround that is fine for me: |
unclear what you're tring to do - why are you If you want an editable path dependency, configure it that way - https://python-poetry.org/docs/dependency-specification/#path-dependencies |
I am not installing dependency to project, but installing the project itself using feature named editable-install. According to: #34 (comment) poetry supports PEP660 editable installs. |
this is not consistent with either your issue title or the repro that you give. You are adding the path dependency
The question I asked was: why? Just |
I have feeling you are trying to enforce some workflow you have in your head instead of focusing on bug. The description is consistent, package |
I am trying to solve whatever problem it is that you have. If you want an editable install of your poetry project, the expected way to do that is If If |
Anyway, duplicate #5273 - which makes it clear that the problem is relative paths |
I will not repeat myself that Closing ticket since you have found duplicate. |
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 not sure if I understand purpose of directory/path dependencies in poetry. They seems great to structurize application, but it seems they do not work with anything. (To make correct wheels I wrote my own plugin for poetry).
Today I encountered yet another issue related to path dependencies. They disallow project to be installed in editable mode via pip.
Output from poetry debug
Steps to reproduce:
If this is invalid usage of path dependencies, then could we extend documentation what is purpose of them? They do not work correctly with building wheel, do not work with
pip install -e
. With what they work normally?The text was updated successfully, but these errors were encountered: