Add option to `pdm remove` to only remove specified packages(s)
See original GitHub issueIs your feature request related to a problem? Please describe.
I want to reinstall a package though a manually built wheel, so I want to uninstall the package and reinstall it with pdm add ./<name of wheel>
. However pdm remove <package>
uninstalls not only the package, but every other package that now becomes an orphan.
Describe the solution you’d like
Maybe an option for pdm remove --only <package>
that only uninstalls that package, not anything else?
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Manage Dependencies - PDM
--clean : will remove packages no longer in the lockfile; --only-keep : only selected packages (using options like -G or --prod ) will...
Read more >PDM: A smarter way to manage Python packages - InfoWorld
Python Development Master taps new features in Python to manage a project's packages without the overhead imposed by a virtual environment.
Read more >PDM - The Blue Book - GitHub Pages
Besides, pdm sync can also remove unneeded packages if --clean option is given. All development dependencies are included as long as --prod is...
Read more >SOLIDWORKS PDM Tutorial - Setting Permissions - YouTube
This video is for both SOLIDWORKS PDM Standard and Professional. In this video we cover how to set permissions in the PDM Administration ......
Read more >Uninstall Products - 2019 - SOLIDWORKS Installation Help
The Program Files and Folders option is checked. Select one or more options to perform a custom uninstall, or select all options to...
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 Free
Top 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
Every requested feature might be useful and can solve some problems of some people. The difficult part is to design the interface, trying to make the option not too specific and can interact with other commands or options in CLI. This is a process that needs extreme carefulness and some inspiration. Otherwise the CLI will become a stacking of independent functionalities and be hard to learn and memorize.
I am not rejecting the idea, but to excuse me for not replying this issue. At the same time, I believe it is not hard for you to delete the specific packages from
__pypackages__/X.Y/lib
manuallyMaybe you could just remove the
pypackages
of that module?