question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Poetry Update always re-installs *all* dependencies

See original GitHub issue
  • 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).
  • **Linux 3.10.0-1062.21.1.el7.x86_64 **
  • 1.08:
  • Link of a Gist with the contents of your pyproject.toml file:

Issue

Since upgrading to 1.0.8 poetry will “upgrade” every dependency to the same version as previously. ie after the dependency resolution / Version solving poetry thinks every single package in pyproject.toml ( and dependencies ) needs upgrading and proceeds to update them to exactly the same version as previously. I’ve tried deleting the venv and re-running and get consistent behavior every time.


bash-4.2$ poetry update
Updating dependencies
Resolving dependencies... (52.7s)

Package operations: 0 installs, 59 updates, 0 removals

- Updating pycparser (2.20 -> 2.20)
- Updating certifi (2020.4.5.2 -> 2020.4.5.2)
- Updating cffi (1.14.0 -> 1.14.0)
- Updating chardet (3.0.4 -> 3.0.4)
- Updating idna (2.9 -> 2.9)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:11 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
tlc28commented, Jul 2, 2020

Hi @abn and sorry for the late reply! Seems to solve the problem, thanks!

1reaction
Imaclean74commented, Jun 12, 2020

looks better for me on 1.0.9. Thanks @mxab , @frankier

Read more comments on GitHub >

github_iconTop Results From Across the Web

Poetry Update always re-installs *all* dependencies -- again!
I am on the latest Poetry version. (The very latest!) I have searched the issues of this repo and believe that this is...
Read more >
How to rebuild Poetry environment from scratch and force ...
Poetry cannot figure out on its own that dependencies have been updated. How do I force Poetry to reinstall everything in its virtualenv...
Read more >
Commands | Documentation | Poetry - Python dependency ...
This will resolve all dependencies of the project and write the exact versions into poetry.lock . If you just want to update a...
Read more >
Introduction | Documentation | Poetry - Python dependency ...
Poetry is able to update itself when installed using the official installer. If you want to install pre-release versions, you can use the...
Read more >
History | Poetry - Python dependency management and ...
Fixed an issue where dependencies with extras were updated despite using --no-update (#4618). Fixed various places where poetry writes messages to stdout ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found