-
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
Regression in rc1: Dependent Chain of Path Dependencies Fails #2999
Comments
@malcolmgreaves I believe the issue you are encountering is due to a change introduced in 1.1.0b3.
Non develop installs will require to be built via PEP 517. In such scenarios, the relative paths outside to other projects outside of a directory will not work. PS: Thank you for a great issue report. Really appreciate that. |
@abn Thank you for quickly replying! Adding Is it possible to improve the error message for this case before the |
Hi @abn -- so, it turns out I spoke to soon. I still have this error crop up even with Would it be helpful to follow up with additional documentation / reproducible examples? |
Hello @malcolmgreaves, you have this in the
fin swimmer |
Where exactly does I am unable to achieve that, using 1.1.0rc1. Does one have to remove the existing dependency and re-add it with |
@f0ff886f editable dependencies can be added like this, foo = { path = "./path/to/foo", develop = true } |
Thanks @finswimmer ! |
Glad if we could help here @malcolmgreaves :) I guess I can close this issue? |
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. (
1.1.0rc1
)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: $ OS X 10.15.6 (Darwin Kernel Version 19.6.0)
Poetry version: 1.1.0rc1
Link of a Gist with the contents of your pyproject.toml file: actually contains several
pyproject.toml
s & a link to atar
archive of everything.Issue
I have found a regression in the first release candidate for version
1.1.0
. When using1.1.0rc1
, relative path dependencies are broken. Whenever a poetry project depends on another poetry project via a relative path dependency,poetry install
fails to handle this situation. Before (tested as of1.1.0b2
), this would not be the case:poetry install
was able to successfully install a relative path dependency to anotherpoetry
project.I've included detailed instructions & command output here: https://gist.github.com/malcolmgreaves/b1eecb9de04ce3d66206e643fbb80b38. This gist contains a reproducible example showing the regression in
1.1.0rc1
from1.1.0b2
. In the comments section, I include a link to a.tar.gz
archive of the exact files & directory structure used for re-producing the error.The text was updated successfully, but these errors were encountered: