Support `pdm outdated`
See original GitHub issueIs your feature request related to a problem? Please describe.
There is no any related problem.
Describe the solution you’d like
- command
pdm outdated
, orpdm list --outdated
. - pdm prints all the dependencies (in local/global) which is outdated.
Reason: It’s common feature of package manager and I used them often. If this proposal is positive, I will try implementing and send PR.
Remarks:
I think pdm outdated
is better than pdm list --outdated
because I want an exact one option.
pdm outdated
-> returns only top-level dependencies.pdm outdated -a(--all)
-> returns all dependencies.
Motivation came from this issue https://github.com/python-poetry/poetry/issues/2684#issuecomment-767046631.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Outdated PDM" status in the Notification Center in Creo ...
Information regarding the Outdated PDM status in the Notification Center What does the Notification Center Outdated PDM status indicate?
Read more >Webinar: Top 10 Signs You've Outgrown Your PDM System
An outdated PDM can make this worse. ... What's missing from basic PDM systems; How to support more advanced PDM processes; Server, ...
Read more >Manage Project - PDM
So, make sure you write requires-python properly if you don't want any outdated packages to be locked. Working with Python < 3.7#. Although...
Read more >How To Collect Support Information for PDM - YouTube
Learn more and get support at https://www.mlc-cad.com/solidworks- help -center/collect- support -information-for- pdm /To properly troubleshoot ...
Read more >What's New In PDM 2.0? - Frost's Blog
As much as possible, we make sure that the old project does not break, but only the default way of the new project...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done, now you can test on the master branch. Note that
--outdated
is just an alias of--dry-run
The design will be as the following:
--dry-run
toupdate
command to display (to install, to update, to remove) packages but not to modify thepdm.lock
.--dev
,sections
,packages
,--unconstrained
and--update-strategy
will all influence the result.--top
to limit the result to top-level packages only(those list inpyproject.toml
), again, which can be further limited by--dev
,sections
. Plus, when--top
is passed, specifying packages viapackages
is not allowed.If anything is not clear, feel free to reply in this thread