-
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
Running poetry install should not install the current project into site-packages #1333
Comments
This is very similar to #1301 so I'm closing this as duplicate. I encourage you to put a 👍 on that issue and add any thoughts you have there. |
While it's slightly related, it's a different issue. The project is not a dependency to itself. If the current package is to be installed then that's a local deployment, not dependency install. |
@brycedrennan Please reopen this issue for discussion. The default behavior should not be equivalent to "pip install -e ." I discovered by reviewing the code that adding the option "--no-root", the current package is not installed as a dependency. "poetry install --no-root" Unfortunately, this is not able to be configured as the default, and allowing the addition of the "-e" option to mimic the behavior of "pip install -e ." |
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
From time to time I clean out the installed packages by running "pip freeze | xargs pip uninstall -y" to make sure I have the necessary packages added to pyproject.toml file via poetry. When I run poetry install, it will install all the dependencies but it also creates a .egg-info and installs my project into the site-packages. I then have to run pip uninstall project-name to uninstall my current project.
This doesn't seem correct since i'm not creating a build. If I run poetry update, only the dependencies are installed, but all package versions are also updated.
Running poetry install should only install the project dependencies, not install the current project into the site packages.
I have run poetry self:update and it will only update to version 0.12.17 and will not update to 1.0.0b1
The text was updated successfully, but these errors were encountered: