python-poetry / poetry

Python packaging and dependency management made easy
https://python-poetry.org
MIT License
31.17k stars 2.25k forks source link

`poetry update` has inconsistent behaviour #1804

Closed skorokithakis closed 4 years ago

skorokithakis commented 4 years ago

Issue

Trying to upgrade a single package upgrades others. Also, pygments is pinned to ^2.4.2 but poetry upgraded it to 2.5.2.

14:35:39 $ poetry update django-webauthin
Updating dependencies
Resolving dependencies... (0.4s)

Package operations: 0 installs, 13 updates, 0 removals

  - Updating parso (0.5.1 -> 0.5.2)
  - Updating jedi (0.15.1 -> 0.15.2)
  - Updating prompt-toolkit (2.0.10 -> 3.0.2)
  - Updating pygments (2.4.2 -> 2.5.2)
  - Updating ansible (2.9.0 -> 2.9.2)
  - Updating django-annoying (0.10.5 -> 0.10.6)
  - Updating django-bootstrap3 (11.1.0 -> 12.0.3)
  - Updating django-redis (4.10.0 -> 4.11.0)
  - Updating django-sendgrid-v5 (0.8.0 -> 0.8.1)
  - Updating django-tokenauth (0.3.0 -> 0.4.0)
  - Updating django-webauthin (0.0.3 -> 0.0.4)
  - Updating ipython (7.9.0 -> 7.11.0)
  - Updating whitenoise (4.1.4 -> 5.0)
skorokithakis commented 4 years ago

Also, trying to upgrade django-webauthin from 0.0.3 to 0.0.4 does nothing most of the time I run it (I suspect a caching issue).

eugenetriguba commented 4 years ago

@skorokithakis In regard to your comment on pygments being pinned to ^2.4.2 but poetry upgraded it to 2.5.2, is that not the intended behavior with the ^ version constraint? Same with your comment on django-webauthin.

https://python-poetry.org/docs/versions/

skorokithakis commented 4 years ago

@eugenetriguba ah, it appears I had conflated ^ and ~, thank you.

github-actions[bot] commented 6 months ago

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.