You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The same package is resolved (and reinstalled) each time when it's bitwise the same. This also leads to unearth claiming to download the package, which is what sent me down the cache path.
Note that pdm list recognizes the actual version installed:
Make sure you run commands with
-v
flag before pasting the output.Context
This is the reduced case of #1496, but which is actually two different issues masquerading to look like a cache issue.
Steps to reproduce
Repeatedly
pdm sync -v
here and note that each time the torch package is deleted and reinstalled:https://github.com/tgolsson/pdm-repros/tree/main/constant-redownload
Actual behavior
The same package is resolved (and reinstalled) each time when it's bitwise the same. This also leads to
unearth
claiming to download the package, which is what sent me down the cache path.Note that
pdm list
recognizes the actual version installed:Expected behavior
Something like this is my expected behavior:
torch==1.10.2
torch==1.10.2
torch==1.10.2
torch==1.10.2+cpu
torch==1.10.2+cpu
torch==1.10.2
torch==1.10.2+cpu
torch==1.10.2+cpu
torch==1.10.2+cpu
torch==1.10.2+gpu
Environment Information
The text was updated successfully, but these errors were encountered: