Skip to content

poetry update with git-based dependencies updates poetry.lock but not the virtual environment #3958

@IaroslavR

Description

@IaroslavR
  • 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

Almost identical to #2921 with only one difference, I have a git dependency that is defined with a revision instead of branch. When I change rev="v0.1.2" to rev="v0.1.3" poetry.lock successfully updated with the correct commit resolved_reference but the library in the virtual environment remains checked-out at the commit that was latest when poetry install was last run.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working as expectedstatus/triageThis issue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions