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.

How do I find outdated dependencies?

See original GitHub issue
  • I have searched the issues of this repo and believe that this is not a duplicate.

Issue

I’ve a large project with ~32 pinned dependencies.

poetry update is good for updating within the constraints of these project.

However, I want to find which dependencies are out of date. E.g.: list all dependencies for which I’ve pinned a specific version, but has newer releases.

I try to proactively keep my deps up to date, but so far I’ve been manually checking in pypi if each one has a new version. How can I figure out this using poetry?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:14
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

17reactions
ruoholacommented, Mar 30, 2021
poetry show --outdated | grep --file=<(poetry show --tree | grep '^\w' | cut -d' ' -f1)

seems to work okishly to only show outdated top-level dependencies.

13reactions
levrikcommented, Nov 11, 2020

@sdispater Is there a way to filter this to top-level dependencies only? Without this the option is quite useless for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm-outdated
This command will check the registry to see if any (or, specific) installed packages are currently outdated. By default, only the direct dependencies...
Read more >
Use GitHub Actions to find Outdated Dependencies
Luckily, npm offers a simple command to check if any dependency is outdated (based on your current lock file). The nice thing here...
Read more >
Check outdated dependencies via Maven - jan0sch's deck
If you're on a java project then you'll very likely use maven. Outdated dependencies can simply be shown via. Copy mvn versions:display-dependency-updates.
Read more >
Run npm outdated to check old packages - DEV Community ‍ ‍
Check for outdated packages. Here is the tip: run npm outdated from the terminal in your project folder to see if the installed...
Read more >
How to Keep Your Dependencies Up to Date with npm and Yarn
To check for outdated dependencies within a package, use the outdated command with either npm or Yarn: $ npm outdated $ $ yarn...
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