Skip to content

Poetry install takes too long and installs the package again unnecessarily #730

@AlexanderWhitestone

Description

@AlexanderWhitestone
  • I have searched the issues of this repo and believe that this is not a duplicate.

Issue

I'm wondering why it takes 13-30 seconds to install my package (on two different machines).
This occurs when the package and it's dependencies are already installed.
`$ time poetry install -vvv
Using virtualenv: /Users/apayne/Envs/smithers
Installing dependencies from lock file

Nothing to install or update

  • Skipping markupsafe (1.1.0) Already installed
  • Skipping click (7.0) Already installed
  • Skipping itsdangerous (1.1.0) Already installed
  • Skipping jinja2 (2.10) Already installed
  • Skipping werkzeug (0.14.1) Already installed
  • Skipping aniso8601 (4.0.1) Already installed
  • Skipping flask (1.0.2) Already installed
  • Skipping jsonschema (2.6.0) Already installed
  • Skipping pytz (2018.7) Already installed
  • Skipping six (1.11.0) Already installed
  • Skipping flask-restplus (0.12.1) Already installed
  • Skipping passlib (1.7.1) Already installed
  • Skipping peewee (3.7.1) Already installed
  • Installing smithers (0.1.0)

real 0m29.542s
user 0m5.344s
sys 0m2.370s`

Smithers is the name of the package I'm installing with poetry. The installing smithers step takes the majority of the time. Is poetry doing anything but creating a symlink? I don't understand why this should take so long. If the package is already installed in editable mode, why does poetry try installing it again?

Much thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliRelated to the command linearea/installerRelated to the dependency installerkind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions