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.

Add "upgrade" and "upgrade-all" commands

See original GitHub issue

(Updated to reflect reality in April 2020)

This issue was initially scoped for changing the behavior of pip install --upgrade, by adding a new upgrade command with a different behavior when upgrading packages. The older recursive “eager” default caused grief for many (#304) However, after a lot of discussion on this, the approach taken was to add the --upgrade-strategy flag. The flag initially had a default of “eager” which was changed to a better default in #4500.

The tracking issue for “upgrade all packages” functionality is #4551.

Issue Analytics

  • State:closed
  • Created 13 years ago
  • Reactions:194
  • Comments:251 (149 by maintainers)

github_iconTop GitHub Comments

33reactions
magicgoosecommented, Aug 20, 2016

Are you going to implement this in next 10 years?

22reactions
WhyNotHugocommented, Feb 12, 2017

pip install --upgrade :all: is extremely weird. Let’s stick to POSIX semantics, which basically everyone is doing nowadays: pip install --upgrade --all

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add UpgradeCode Command Option - Advanced Installer
This command will add a new Upgrade Code to your project. ... For example, if the minimum version is 1.1 then your package...
Read more >
How to Update All Python Packages - ActiveState
Use the 'Replace All' command in the editor. Upgrade all outdated packages: pip install -r requirements.txt --upgrade ...
Read more >
Linux Update All Packages Command Using the CLI - nixCraft
apt-get command example to update all packages on the Debian or Ubuntu Linux. Run: $ sudo apt-get update $ sudo apt-get upgrade.
Read more >
Db2 command actions to upgrade instances and databases
Db2 command actions to upgrade instances and databases ; Calls the db2ckupgrade command. ; Upgrades an existing instance to a new instance under...
Read more >
yarn-upgrade-all | Yarn - Package Manager
This is a command line utility program to upgrade all the packages in your package.json to the latest version ... yarn add --dev...
Read more >

github_iconTop Related Medium Post

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