-
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
--no-directory option seems not to be working #7945
Comments
Pretty sure your path should be relative. As you can see in the error message, it is currently searching in the root directory |
It is correct that the current directory is the root, but the package is added relative to that (poetry add -e src/dummy). The reason that the current directory is the root is that it is run within a docker container. The default working directory of the python image is the root |
Summoning @radoering @adriangb since they were the ones working on this. |
you did not provide your |
It is now included in the gist |
See #7923 |
aha. Looks close, just wants the testcases to be fixed...? |
Yes, and I'm a bit tied up this week unfortunately since we really want to make a V2 beta release for Pydantic. Only so much OSS one can handle 😅. |
maybe an unfortunate coincidence that poetry 1.5.0 is also imminent - it would be a shame to include this new function, broken on release. I'll leave a note in the 1.5.0 tracking issue so that someone can at least make a deliberate decision. |
@elben10 I just merged the fix into master. Can you try again, please? |
Works as expected. Thanks for the quick resolution |
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) and have included the output below.Issue
--no-directory seems to not be working (introduced in #6845). When i run the following command it raises the following error.
poetry install --no-root --no-directory
Path /src/dummy for dummy does not exist
As I understand it, the sole purpose of the option is to ignore directory dependencies. I have followed the example in FAQ. The dockerfile is also included in the gist
The text was updated successfully, but these errors were encountered: