Skip to content

Locked hash of VCS dependency with extras is ignored when installing #6184

@radoering

Description

@radoering
  • 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:
  • Poetry version:
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

When running poetry install the resolved_reference of a locked vcs dependency (referencing just a branch in pyproject.toml) is ignored and another ref might be installed.

Repro: https://github.com/bryanforbes/poetry-no-git-branch-locking

  • without-extras works as expected
  • with-extras installs another ref

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/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