Skip to content

Running poetry install should not install the current project into site-packages #1333

@jackemuk

Description

@jackemuk
  • I am on the latest Poetry version.
  • 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).

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions