Skip to content

Why does pdm download lots of different versions of the same library? #1664

Answered by frostming
abersheeran asked this question in Q&A
Discussion options

You must be logged in to vote

First, this command is incomplete:

[PdmUsageError]: Must specify at least one package or editable package.

It works fine after I fixed it, no extra packages are downloaded

$ pdm add -dGlint mypy -v
Adding packages to lint dev-dependencies: mypy
STATUS: Resolving dependencies
pdm.termui: ======== Start resolving requirements ========
pdm.termui:   mypy
pdm.termui:   python>=3.10
pdm.termui:   Adding requirement mypy
pdm.termui:   Adding requirement python>=3.10
pdm.termui: ======== Starting round 0 ========
STATUS: Resolving: new pin python>=3.10
pdm.termui: Pinning: python None
pdm.termui: ======== Ending round 0 ========
pdm.termui: ======== Starting round 1 ========
unearth.preparer: D…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@abersheeran
Comment options

@abersheeran
Comment options

@frostming
Comment options

@frostming
Comment options

@abersheeran
Comment options

Answer selected by abersheeran
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants