Skip to content

poetry lock --no-updates still updates a single dependency #5314

Closed

Description

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

One of my dependencies is sentry-sdk which is at the moment locked to version 1.5.4 (the latest version of that package is 1.5.7). Whenever I run poetry lock --no-updates the locked version in poetry.lock changes to 1.5.7 even though I would expect it to stay at 1.5.4. What's more interesting is the fact that the issue goes away if I change the definition of the dependency to:

sentry-sdk = "^1.4.1"

Is there something I don't understand about poetry lock --no-updates that makes it behave this way?

Activity

  1. added
    kind/bugSomething isn't working as expected
    status/triageThis issue needs to be triaged
    on Mar 15, 2022
  2. mic4ael commented on Mar 15, 2022

    @mic4ael
    Author

    Looks like it has been fixed in #4618

  3. github-actions commented on Mar 1, 2024

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  4. locked as resolved and limited conversation to collaborators on Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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