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?
You can use the poetry show command with the --outdated/-o option:
poetry show -o
For more information, you can check out the documentation: https://python-poetry.org/docs/cli/#show
@sdispater Is there a way to filter this to top-level dependencies only? Without this the option is quite useless for me.
Is this issue a WONTFIX?
This is becoming super annoying to deal with manually, especially for large projects.
@abn I agree here – we generally only care about our project-specific top-level dependencies, not stuff five layers deep. poetry show -o is really noisy for large projects.
Most helpful comment
@sdispater Is there a way to filter this to top-level dependencies only? Without this the option is quite useless for me.