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

Repeated runs of poetry update will cause a package to be upgraded and downgraded #8420

Closed
3 of 4 tasks
pyoor opened this issue Sep 8, 2023 · 2 comments
Closed
3 of 4 tasks
Labels
kind/bug Something isn't working as expected status/duplicate Duplicate issues

Comments

@pyoor
Copy link

pyoor commented Sep 8, 2023

  • Poetry version: 1.6.1
  • Python version: 3.10.12
  • OS version and name: Ubuntu 22.04
  • pyproject.toml:
[tool.poetry]
name = "poetry-bug"

[tool.poetry.dependencies]
python = "^3.10"

[tool.poetry.group.dev.dependencies]
gitlint = "^0.19.1"

[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
  • I am on the latest stable Poetry version, installed using a recommended method.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have consulted the FAQ and blog for any relevant entries or release notes.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option) and have included the output below.

Using the minimal pyproject.toml above, when calling poetry update repeatedly, the click package is upgraded or downgraded depending on the previous state. I'm not sure if this is an issue with poetry or gitlint.

➜  poetry-bug poetry update
Updating dependencies
Resolving dependencies... (0.2s)

Package operations: 0 installs, 2 updates, 0 removals

  • Updating click (8.1.3 -> 8.1.7)
  • Updating sh (1.14.3 -> 2.0.6)
➜  poetry-bug poetry update
Updating dependencies
Resolving dependencies... (0.2s)

Package operations: 0 installs, 2 updates, 0 removals

  • Downgrading click (8.1.7 -> 8.1.3)
  • Downgrading sh (2.0.6 -> 1.14.3)
@pyoor pyoor added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Sep 8, 2023
@dimbleby
Copy link
Contributor

dimbleby commented Sep 8, 2023

poetry is installing two versions of both click and sh, there's some funniness with extras, presumably this is duplicate #8380, #8407

@radoering radoering added status/duplicate Duplicate issues and removed status/triage This issue needs to be triaged labels Nov 3, 2023
@radoering radoering closed this as not planned Won't fix, can't repro, duplicate, stale Nov 3, 2023
Copy link

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 Feb 29, 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 status/duplicate Duplicate issues
Projects
None yet
Development

No branches or pull requests

3 participants