Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
mic4ael opened this issue Mar 15, 2022 · 2 comments
Closed
3 tasks done

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

mic4ael opened this issue Mar 15, 2022 · 2 comments
Labels
kind/bug Something isn't working as expected

Comments

@mic4ael
Copy link

mic4ael commented Mar 15, 2022

  • 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?

@mic4ael mic4ael added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Mar 15, 2022
@mic4ael
Copy link
Author

mic4ael commented Mar 15, 2022

Looks like it has been fixed in #4618

@mic4ael mic4ael closed this as completed Mar 15, 2022
@mkniewallner mkniewallner removed the status/triage This issue needs to be triaged label Jun 11, 2022
Copy link

github-actions bot commented Mar 1, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

2 participants