Skip to content

If .venv is an empty directory, poetry installs dependencies globally #286

@jacebrowning

Description

@jacebrowning
  • 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).
  • OS version and name: macOS 10.13.5
  • Poetry version: 0.11.2
  • Link of a Gist with the contents of your pyproject.toml file: N/A

Issue

  1. Check out any poetry project
  2. $ rm -rf .venv && mkdir .venv
  3. ⚠️ $ poetry install ⚠️
  4. Your dependencies are now installed globally

Metadata

Metadata

Assignees

Labels

area/venvRelated to virtualenv managementkind/bugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions